ssw.printer

Printer helper functions for ssw-py

ssw.printer.printer(alignment, reference, read)[source]

Prints the alignment of the read to the reference to the terminal

Parameters:
  • alignment (Alignment) – ssw.alignmenttuple.Alignment named tuple

  • reference (Union[str, bytes]) – Reference sequence python string or bytes-string

  • read (Union[str, bytes]) – Read sequence python string or bytes-string