Skip to content

New module savana/to #11849

Open
manascripts wants to merge 13 commits into
nf-core:masterfrom
manascripts:savana-to
Open

New module savana/to #11849
manascripts wants to merge 13 commits into
nf-core:masterfrom
manascripts:savana-to

Conversation

@manascripts
Copy link
Copy Markdown
Member

@manascripts manascripts commented Jun 3, 2026

This PR adds a new module savana/to.
Because cna part of savana to requires an adequately large test dataset for copy number fitting @cortés‑ciriano‑lab/savana#110, snapshotting of copy‑number outputs has been deliberately excluded.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Broadcast software version numbers to topic: versions - See version_topics
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda

@manascripts manascripts changed the title New module savana to New module savana/to Jun 3, 2026
Comment thread modules/nf-core/savana/to/tests/main.nf.test Outdated
Comment on lines +46 to +51
def contigs_arg = contigs ? "--contigs ${contigs}" : ""
def allele_arg = snp_vcf
? "--snp_vcf ${snp_vcf}"
: g1000_vcf
? "--g1000_vcf ${g1000_vcf}"
: allele_counts_het_snps ? "--allele_counts_het_snps ${allele_counts_het_snps}" : ""
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What is going on here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

To launch the cna part of savana/to, the user needs to provide at least one of the 3 values, but one can only provide one of them for a sample.

Comment thread modules/nf-core/savana/to/main.nf
Comment on lines +13 to +14
path(contigs)
path(blacklist)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add meta maps for these.

Copy link
Copy Markdown
Member Author

@manascripts manascripts Jun 8, 2026

Choose a reason for hiding this comment

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

I can, but these inputs are not really varying per-sample, so I left them out on purpose.
Should I still add it? What are the general guidelines for such inputs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants