Skip to content

initial ncRNA annotation pipeline implementation using Infernal/cmsearch against Rfam#1

Merged
pmb59 merged 30 commits intomasterfrom
dev
Mar 10, 2026
Merged

initial ncRNA annotation pipeline implementation using Infernal/cmsearch against Rfam#1
pmb59 merged 30 commits intomasterfrom
dev

Conversation

@pmb59
Copy link
Copy Markdown
Member

@pmb59 pmb59 commented Mar 1, 2026

Add first version of the pipeline

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 1, 2026

nf-core pipelines lint overall result: Failed ❌

Posted for pipeline commit c13c3ca

+| ✅ 197 tests passed       |+
#| ❔   4 tests were ignored |#
#| ❔   1 tests had warnings |#
!| ❗   2 tests had warnings |!
-| ❌  13 tests failed       |-
Details

❌ Test failures:

  • nextflow_config - Config manifest.version should not contain dev for a release: 1.0dev
  • files_unchanged - .gitignore does not match the template
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L1521: .{{{{.{{{))))..........}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L1522: .{{{{.{{)))))...........}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L1523: .{{{{.{{)))))...........}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L2994: :{{{-.{{{{{{{,{{{{{{{{{-----{{.{-{{{,,<<---<<<..............................----<<.................>>.---.>>>>>,,,,,,[[[,,,,.,,((((--((--.((.----((((,,.......................................................................,,,,,,,,,,<<<<--.--<<<<<.<<>>>>>>>----->>>>,,,,,,....<<<<<--<<................................................................>>--..>.>>>>,,,,<<<<<<--------..<<<<--.............................................................................--<<<____....>>>---............-->>>>------..>>>>>>,,,,,,.........,,,<<<<...-<<<<.......................>>>>...>>>>.,,,)))).---).)))--))))<<<--<-.<<<.-..---<<<<.<<.<<..__.......>>.>>>>>>.>>>----->>>>,,,<<<<<<<<..........................>>>>---.>.>>>]]..],<<<<<<__>>>>>>,<<<<>>>>,,,}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L2994: :{{{{{-.{{{{{{{.-.-{{,,.{{{.{{{{{{.{{{{.{{{{.,,,,<<<<>>>>,,,,.,,,,.{{{{{{{,,.,......,<<<<<.--------<<.<<.<<.........>>>>.>>-.-----.>>>>>,,.,[[-[[[[--[[[[[[[[.[,,,((.(((.(<<<...>>>,,<<<<...>>>>.,,)))).)),,,,,((((,<.<<-<<<<-.-.<<<<......................................................................................................................................................................___________________>>>>.-->>>>>>.>,,.<.<<<<<.<<...........................................................>>>>>>>>,,,,,)))),,,,].]]]-]]].-.--]-]]]]]]].,,,,,}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L3214: >{{{{{{,,,,(((.((((((((((,,<<<--<<<<<<.......................................>>>>>>...-->>>,,,<<>>,,,...............................................................................................,,,,<<<<<--<<<........................................................>>>--->>>>>,<<<.<<.<<<...---<<.....................................................................................................................>>---..>>>->>>->>..,,,,))))))))))))),,[[-[---[[[[[[,,,((((((((((((,<<<<---<<<<<<<>>>>>>>---->>>>,,,<<<<-<<-<<___>>>.>>>>>,,)-))))))))))),<<<.>>>.,,,,,,]]]]]]------].-]],,[[[[[[,,,,<<<<<>>>>>,,(((((((..,....,,,,...................,,,,<<<<<<<<----<<<----<<<<<<<<<<--<<<<<<.-<..>-.>>>>>>>>>>>>>>>>-->>->---->>>>>>.>>.,.<<<.<.<<.<<<.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................>>>>>.>.>>>,,,..,,,,,,,,......))))))),,,,,<<<.<.<<<<<<>>>>>>>>>>,,,,<<<>>>,,,(((((-(---(((------(-(..--(((----.-.-------------(((-((((((((((-------(((((,<<<--<<<.>>>-->>><><---<<...>>->,))))).---)))))))).)))))-----------.-----.--.-)))--.....)).)))---)-)))))<<<<<<..<<<.__..........................................>>>>>>>.>>,,,,]]].......]].]..<-<<<<<<<<..<.<..........----.--<<-...---<<<.>>>--->>---...>>.>>.>>>>>>-->,,,,,}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L3214: >{{{{,,.,,,{{{{,,{{,,,<<<<<..<---<<>>->>>>>>,,,,,,{{{,((---((<.<<-.<<.<._>>.>..>>>,,,..,,,...<<<...................................................................................................................................._>>>......,,,,,))----)),,,<<<<<.>>>>>,,[[[[.....................................-[[[[[[[.......,,,...<<<<.................................................>>>>...,,.,,,,((((((---((((.-(((((((-(((<<.<<<<>>>>>>,,,.<<<.<<......----......-<<...<<<<<<<<<<<.__>>>>>>>..>>>.>...>>.-----............>.>.>>>,,,,,,<<<<<<<...._____..............................................................................>>>>>.>>,,)).).---))))).))-.))))---------)))))),,,,,,,,,,,............................................................................................................................................]]...-]]]]].........]]]],}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L3214: .{{.{{.----{{{{{{{{.-{{{,,,,,,,,,,,,,,<<<<<.---<<.....>>---->>>>><<<<<<<<<<<<<<-<<<.<..<.<<<<.<<<..-<<.<<-----<<<<.....<<<.<.<<<.<.<<<<.<<<<<<<<<.<<<<<<<........................................................................>>>>>>>>.>>>>>>>.>>>..>>>...>>>>>>>-..>>>>----...>>>>->>>---..--------.............................................................................................................................................................................................................................................................................----..-->>>>>>>>>.---..---...>>.>>>-->>>>>>>>><._>,,,,,,,[[[[[[[[[,,<<<.>>>,,<<<<<<<<.-.<-<<<<_____>>>>-..>.--->>>>>>>>,,((((,<<<--<<<<<<-<--<<<----<<<<<..>>>>>----..>>>>>>>>-->>>>><<<<<<_>>>>>><.................................................................................................................................................................................................................................................................................................................................................................>,,,...,,,,,,,,,,,,<<.<<<<_____>>>>>>,,,,,,,,,,)))),,,]]-]]]]]]],,,,}}
  • template_strings - Found a Jinja template string in /home/runner/work/ncrnannotator/ncrnannotator/tests/data/rfam_test.seed L3214: :{{{{{{.{{-.{{{.-{{,,,,,,{{{{-{{{{{{{.,[[[[---[[[[[[[...,,<<<<<<<<<<<<<<<<<<---------<<<<<...--..<<.......................................>>------------>>>>>>>>>>>>>->>>>>>>>.>>,,,.(((((.-----((((.,,,,<.<<<<...................................................>>>>>,,,,,,,,,,,.,,,..,,<<<<<................................................................................................................................................................................................................................................................................................................................................................................................>>.>>>,,.))))--....))))).,,,,,]]]]]]]----]]]],,<<<<>>>-><<<<<<______>>>>>>,,[[,,,,((((((.<<-<<<<<.<.>>>>>>--->><<.._____>>,,,,)))))),,,,<<<<<<<<<>>>>>>>>...>,<<<>>>,]],,,,,,,,,,<<<<<<-........-<<<<____.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................>>>>>>>>>>,,,,,,,,,.}}
  • version_consistency - manifest.version was not numeric: 1.0dev!
  • version_consistency - nfcore_yml.version was not numeric: 1.0dev!

❗ Test warnings:

  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).
  • schema_lint - Parameter input is not defined in the correct subschema (input_output_options)

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: assets/nf-core-ncrnannotator_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-ncrnannotator_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-ncrnannotator_logo_dark.png
  • included_configs - included_configs

❔ Tests fixed:

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.2
  • Run at 2026-03-10 23:24:19

pmb59 and others added 15 commits March 1, 2026 01:23
… logos

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
  Implement a new mgnify-assembly annotation mode for metagenomic assemblies:
  - Skip FILTER_RFAM_CM (full Rfam.cm used directly)
  - Use 50 Mbp genome chunks by default
  - Pass --noali --hmmonly -Z 1000 --cut_ga flags to cmsearch
  - Add --include_prokaryotic_rrna flag to parse_rfam_results.py to retain
    bacterial and archaeal rRNA hits (SSU/LSU) filtered out in Ensembl modes
  - Wire mode-specific ext.args in conf/modules.config
  - Add mgnify-assembly to nextflow_schema.json mode enum

  Also rewrite docs/usage.md and docs/output.md with real ncrnaflow content
  (all three modes, HPC/SLURM examples, params file usage, output column
  descriptions, biotype reference table) and add assets/params_example.yaml.
…g. add ncrnaflow.svg generated with nf-metro
@pmb59 pmb59 requested a review from Vicbeg March 3, 2026 10:26
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Current coverage is mostly an end-to-end snapshot test in tests/default.nf.test, with no direct unit tests for bin/parse_rfam_results.py, bin/filter_rfam_cm.py, or bin/rfam_to_formats.py. This leaves parsing/filtering edge-case regressions under-protected unless they visibly alter final snapshots.

Copy link
Copy Markdown
Collaborator

@Vicbeg Vicbeg left a comment

Choose a reason for hiding this comment

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

Generally looks well written, but I have added a few comments to consider/address. I haven't yet run the pipeline myself as I wanted to run the test profile but was unable to since currently I would have to provide some files myself. I think it is necessary to add some small test files for nf-core standards.

@pmb59 pmb59 merged commit 355770d into master Mar 10, 2026
4 of 6 checks 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.

2 participants