Commit 4df5a539 authored by Penom Nom's avatar Penom Nom
Browse files

Fix bug with bam generated by bismark/bowtie2 (manage lowercase characters in MD fields).

parent 55d9d0d8
......@@ -78,7 +78,7 @@ def getPositionSatus(sam_line_obj):
isDel = False #End of the deleted area
prec += str(md_char)
#If the character is a number in an undeleted area
elif( re.search("[ATGCN]", md_char) and not isDel ):
elif( re.search("[ATGCNatgcn]", md_char) and not isDel ):
if( prec != "" ):
for i in range(0,int(prec)):
#While the position corresponds to an insertion
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment