Skip to content

Commit 23e42d9

Browse files
author
Dominik R Laetsch
committed
....
1 parent a70507a commit 23e42d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/BtIO.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ def parseCovFromHeader(fasta_type, header ):
145145
elif fasta_type == 'platanus':
146146
temp = header.rstrip("\n").split("_")
147147
if len(temp) >= 3:
148-
return float(temp[3].replace("cov", "")) # scaffold/scaffoldBubble/contig
148+
return float(temp[2].replace("cov", "")) # scaffold/scaffoldBubble/contig
149149
else:
150-
return float(temp[2].replace("cov", "")) # gapClosed
150+
return float(temp[1].replace("cov", "")) # gapClosed
151151
else:
152152
pass
153153

0 commit comments

Comments
 (0)