Skip to content

Commit

Permalink
debug for -per-contig --per-gene --gene-transcript-map to ensure gene…
Browse files Browse the repository at this point in the history
… is output in geneID column
  • Loading branch information
TomSmithCGAT committed Jun 11, 2024
1 parent 10c6495 commit a122c6d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion umi_tools/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,10 @@ def main(argv=None):
if options.tsv:
if options.per_gene:
if options.per_contig:
gene = read.reference_name
if options.options.gene_transcript_map:
gene = read.get_tag(gene_tag)
else:
gene = read.reference_name
else:
gene = read.get_tag(gene_tag)
else:
Expand Down

0 comments on commit a122c6d

Please sign in to comment.