Skip to content

feat: splice-junction-DB / GTF annotation config (chr_start_end TSV, gene name/type tags) - #127

Closed
BenjaminDEMAILLE wants to merge 2 commits into
scverse:mainfrom
BenjaminDEMAILLE:bd/sjdb-config
Closed

feat: splice-junction-DB / GTF annotation config (chr_start_end TSV, gene name/type tags)#127
BenjaminDEMAILLE wants to merge 2 commits into
scverse:mainfrom
BenjaminDEMAILLE:bd/sjdb-config

Conversation

@BenjaminDEMAILLE

Copy link
Copy Markdown
Contributor

Summary

Groups the splice-junction-DB / GTF-annotation config knobs into one themed PR (2 commits, supersedes #122 and #124):

  • --sjdbFileChrStartEnd: explicit junction TSV file(s), independent of (and unionable with) a GTF's derived junctions.
  • --sjdbGTFtagExonParentGeneName / --sjdbGTFtagExonParentGeneType: configurable candidate attribute-key lists for gene name/biotype, with STAR's "last match in list wins" semantics. Bundled fix: rustar-aligner previously only checked gene_biotype, never gene_type, so GENCODE-style GTFs silently fell back to MissingGeneType; the new default candidate list checks both.

Test plan

BenjaminDEMAILLE and others added 2 commits July 24, 2026 14:56
Parses chr/start/end/[strand] TSV files (1-based intron first/last
base) into the same raw junction shape produced by GTF parsing, and
unions them with any --sjdbGTFfile junctions before sjdb insertion
into the genome/SA. Works standalone (no GTF): junction_db and the
sjdb files are built whenever the union is non-empty; only the
transcriptome index requires a GTF.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Makes the GTF attribute keys for gene name/biotype configurable
(multi-candidate, last-match-in-list wins, matching STAR's
find_attr_list), and fixes a latent gap where the hardcoded lookup
only ever checked gene_biotype: GENCODE-style GTFs using gene_type
fell back to the literal "MissingGeneType" even though STAR's
default candidate list (gene_type, gene_biotype) would have picked
it up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.

2 participants