Skip to content

Handle alternate GTF biotype keys - #9

Merged
byee4 merged 1 commit into
tests/issue-3-ensembl-gtffrom
bugfix/issue-6-biotype-annotation
Oct 5, 2026
Merged

byee4 merged 1 commit into
tests/issue-3-ensembl-gtffrom
bugfix/issue-6-biotype-annotation

Conversation

@byee4

@byee4 byee4 commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Read the alternate gene_type/gene_biotype and transcript_type/transcript_biotype attributes when the selected format's preferred key is absent.
  • Add GTF database regression tests for both naming conventions and for a noncoding transcript within a coding gene.
  • Update the format guidance in the README and changelog.

Verification

  • python -m pytest -q unit_tests — 12 passed on this branch.

This PR is based on #8 so the two changes can be reviewed and merged without
README or changelog conflicts.

Issue status

Related to #6. The tests reproduce and fix a biotype-key mismatch that can turn a coding CDS into noncoding_exon. A standard GENCODE-style record with the reporter's gffutils inference settings already annotates as CDS; the issue does not provide a BED interval or database sample, so the exact cause of the GENCODE v49 report remains unverified.

@byee4
byee4 force-pushed the bugfix/issue-6-biotype-annotation branch from 5ea6c8b to 7dfadaf Compare October 5, 2026 17:13
@byee4
byee4 changed the base branch from master to tests/issue-3-ensembl-gtf October 5, 2026 17:13
@byee4
byee4 merged commit 97270e2 into tests/issue-3-ensembl-gtf Oct 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant