Skip to content

Commit

Permalink
bam chrom name fix (#68)
Browse files Browse the repository at this point in the history
* bam chrom name fix
  • Loading branch information
tsy19900929 authored May 11, 2021
1 parent cffb7e8 commit e591962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bwameth.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def handle_reads(alns, set_as_failed):

# first letter of chrom is 'f' or 'r'
direction = aln.chrom[0]
aln.chrom = aln.chrom.lstrip('fr')
aln.chrom = aln.chrom[1:]

if not aln.is_mapped():
aln.seq = orig_seq
Expand Down

0 comments on commit e591962

Please sign in to comment.