Skip to content

Commit

Permalink
Fix issue in read_bam implementation, it got the wrong contig name
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Raimundo committed May 1, 2024
1 parent 1425cbe commit c2fbb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioframe/io/fileops.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def read_bam(fp, chrom=None, start=None, end=None):
(
s.qname,
s.flag,
s.rname,
s.reference_name,
s.pos,
s.mapq,
s.cigarstring if s.mapq != 0 else np.nan,
Expand Down

0 comments on commit c2fbb0b

Please sign in to comment.