bioa.io.sam.reads_from_sam
Enter search terms or a module, class or function name.
Quickly parse aligned reads from SAM/BAM file. This only returns reads and does not attempt to pad.
sam_file : pysam.SamFile
The SAM/BAM file object.
read_pos_iter : (str, int) iterable
Iterable of read-pairs indicating the read and its starting position in the reference.