CGATOxford / UMI-tools

Tools for handling Unique Molecular Identifiers in NGS data sets
MIT License
481 stars 190 forks source link

check if gene_tag is empty #576

Closed akmorrow13 closed 1 year ago

akmorrow13 commented 1 year ago

saving a flatfile will fail when per_gene is set and gene_tag is not set. This will occur when per_gene and per_contig are enabled: in this case, gene_tag cannot be set. In this case, gene = read.get_tag(gene_tag) will fail because gene_tag is None.

akmorrow13 commented 1 year ago

Can one of the admins verify this patch?