Skip to content

Commit

Permalink
fixed small issue with spaces in gene names. (in helper script this t…
Browse files Browse the repository at this point in the history
…ime)
  • Loading branch information
proost committed Apr 7, 2017
1 parent ecc421f commit 0c3a84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/htseq_count_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
mapped_reads = 0

for line in fin:
gene, value = line.strip().split()
gene, value = line.strip().rsplit(maxsplit=1)

if gene not in quality_fields:
mapped_reads += int(value)
Expand Down

0 comments on commit 0c3a84d

Please sign in to comment.