Skip to content

Add a Ribo-TISH fixture with colon-qualified TisType values - #2208

Merged
FelixKrueger merged 2 commits into
nf-core:modulesfrom
FelixKrueger:ribotish-extended-orf-fixture
Aug 10, 2026
Merged

Add a Ribo-TISH fixture with colon-qualified TisType values#2208
FelixKrueger merged 2 commits into
nf-core:modulesfrom
FelixKrueger:ribotish-extended-orf-fixture

Conversation

@FelixKrueger

Copy link
Copy Markdown

Ribo-TISH qualifies its TisType after a colon (Novel:CDSFrameOverlap) when a secondary annotation is passed with -a, which happens in extended-ORF mode. The existing sample1.ribotish.pred.txt predates that mode and holds only bare tokens, so nothing exercises the qualified form. This adds a second file rather than changing it. It keeps one row per distinct TisType the tool emits on the chr20 test data in that mode — seven qualified, seven bare — with the rows verbatim.

Requested by @pinin4fjords on nf-core/modules#12613, which needs it to test the qualified form against real output.

Provenance and contents (AI-assisted)

Generated by running the nf-core/riboseq pipeline on its own chr20 test data with --extended_orf_analysis true --skip_stringtie false, which is what supplies Ribo-TISH's -a. Taken from the pooled RIBOTISH_PREDICT output; all 19 columns and the header are unchanged, all rows are chr20, and every row is byte-identical to the tool's output.

TisType TisType
Novel:CDSFrameOverlap qualified Annotated bare
5'UTR:Known qualified Truncated bare
5'UTR:CDSFrameOverlap qualified Extended bare
3'UTR:CDSFrameOverlap qualified Novel bare
Truncated:Known qualified 5'UTR bare
Novel:Known qualified 3'UTR bare
Internal:CDSFrameOverlap qualified Internal bare

Three of the qualified forms (5'UTR:Known, 5'UTR:CDSFrameOverlap, Truncated:Known) were not previously known to occur; they turned up only once real extended-mode output was inspected.

Ribo-TISH qualifies its positional TisType after a colon
(`Novel:CDSFrameOverlap`) when a secondary annotation is supplied with `-a`,
which happens in extended-ORF mode. The existing
sample1.ribotish.pred.txt predates that mode and contains only bare tokens,
so no fixture exercises the qualified form.

One row per distinct TisType that Ribo-TISH emits on the chr20 test data in
extended-ORF mode: seven qualified and seven bare. Rows are verbatim tool
output, unmodified.

@pinin4fjords pinin4fjords left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a README is this folder for detail on where the files come from, and a top-level README which has a file listing. Can you add something to both relating to this file please?

Adds a table row and a derivation section in the orf_predictions README, and a
listing entry in the top-level README.

Three standing claims stop being true with a sixth file in the directory, so
they are amended rather than left behind a new row: the folder README described
five files, one per caller, each sliced to header + 15 records. This file is a
second Ribo-TISH fixture, and it is row-selected to cover every distinct
TisType rather than head-sliced.

@FelixKrueger FelixKrueger left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added in e2aaba9 -- a table row plus a derivation section in the orf_predictions README, and a listing entry in the top-level one. I also amended three claims that a sixth file falsified: the folder README said five files, one per caller, each sliced to header + 15 records, and this is a second Ribo-TISH fixture that is row-selected rather than head-sliced.

@FelixKrueger
FelixKrueger merged commit 115d6a6 into nf-core:modules Aug 10, 2026
2 checks passed
FelixKrueger added a commit to FelixKrueger/nf-core-modules that referenced this pull request Aug 10, 2026
Replaces the inline synthetic rows with
genomics/homo_sapiens/riboseq_expression/orf_predictions/sample1.ribotish.extended.pred.txt,
added in nf-core/test-datasets#2208, plus the chr20 GTF the other ribotish
tests use.

Real extended-mode output carries seven colon-qualified TisType values, not the
four this test previously covered: 5'UTR:Known, 5'UTR:CDSFrameOverlap and
Truncated:Known also occur. All seven resolve through the existing
CLASS_TOKENS table, and the test now names each one, so the vocabulary is
pinned by the fixture rather than by hand-written rows.
@FelixKrueger
FelixKrueger deleted the ribotish-extended-orf-fixture branch August 10, 2026 14:17
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