nucleus.examples.ascii_pileup -- Print an ASCII art pileup image.
Source code: nucleus/examples/ascii_pileup.py
Documentation index: doc_index.md
Functions overview
Name | Description |
---|---|
ascii_pileup (sam_filename, query) |
Returns an ASCII pileup image for the query as a list of strings. |
main (argv) |
|
read_str (left_pos, start, highlight_position, seq) |
Returns an aligned and highlighted ASCII representation of sequence. |
Functions
ascii_pileup(sam_filename, query)
Returns an ASCII pileup image for the query as a list of strings.
Args:
sam_filename: The filename of the BAM/SAM file.
query: String version of range.
main(argv)
read_str(left_pos, start, highlight_position, seq)
Returns an aligned and highlighted ASCII representation of sequence.