Skip to content

feat(tiberius): add prediction, merge, and scatter workflow - #34

Merged
alejandrogzi merged 1 commit into
masterfrom
tiberius
Sep 4, 2026
Merged

alejandrogzi merged 1 commit into
masterfrom
tiberius

Conversation

@alejandrogzi

Copy link
Copy Markdown
Member

Summary

Integrates Tiberius as Nextflow modules, a reusable subworkflow, and a standalone workflow.

  • TIBERIUS_PREDICT (process_high + process_gpu); scatter jobs emit GTF only
  • TIBERIUS_MERGE wraps merge_annotations.py, restores FASTA record order, writes GTF/GFF3, and optionally extracts protein/CDS from the merged annotation plus the original genome
  • gene IDs assigned by (seqid, start, strand), not chunk order
  • FXSPLIT -H header mode for whole-record chromosome scatter
  • subworkflow scatter modes: none, chromosome (default), weighted (--tiberius_bins)
  • chromosome scatter aborts above 1000 contigs before fan-out

Uses ghcr.io/hillerlab/tiberius:latest. Depends on the containers PR that publishes that image.

nextflow run hillerlab/core \
    -entry TIBERIUS \
    -c hillerlab.config \
    --genome genome.fa \
    --model_cfg mammalia_nosoftmasking_v2 \
    --output_dir results \
    --tiberius_scatter chromosome \
    -profile slurm,apptainer,gpu

Test plan

  • nextflow stub-run of TIBERIUS_PREDICT + TIBERIUS_MERGE (docker.enabled=false)
  • merge e2e against submodule merge_annotations.py (colliding chunk IDs rewritten)
  • run against ghcr.io/hillerlab/tiberius once the container PR is published
  • GPU prediction (-profile gpu)
  • chromosome-scatter vs whole-genome GTF parity

Integrates Tiberius as Nextflow modules, a reusable subworkflow, and a
standalone workflow. Scatter modes none/chromosome/weighted; merge
restores FASTA order and rewrites gene IDs by (seqid, start, strand).
@alejandrogzi
alejandrogzi merged commit dfa5fd6 into master Sep 4, 2026
2 checks passed
@alejandrogzi
alejandrogzi deleted the tiberius branch September 4, 2026 14:46
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