diff --git a/helper/htseq_count_stats.py b/helper/htseq_count_stats.py index 52eb5d4..3071102 100644 --- a/helper/htseq_count_stats.py +++ b/helper/htseq_count_stats.py @@ -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)