Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow transcriptome-only salmon indexing #7327

Merged
merged 9 commits into from
Jan 20, 2025

Conversation

pinin4fjords
Copy link
Member

Salmon indexing currently requires a genome as well as a transcriptome for Salmon indexing. We should provide for the possibility of transcritome-only indexing.

Working towards resolution of nf-core/rnaseq#688.

PR checklist

Closes #XXX

  • 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.
  • Emit the versions.yml file.
  • 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
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

Comment on lines 82 to 86
{ assert path(process.out.index.get(0)).exists() },
{ assert snapshot(process.out.versions).match("versions stub") }
{ assert snapshot(
file(process.out.index[0]).listFiles().collect { it.getName() }.sort().toString(),
path(process.out.versions.get(0)).yaml
).match()}
Copy link
Member

Choose a reason for hiding this comment

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

for stub you can do snapshot(process.out).match()

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

LGTM, just concerned about the linting failure

@maxulysse maxulysse added this pull request to the merge queue Jan 20, 2025
Merged via the queue into master with commit 25ddc0b Jan 20, 2025
13 checks passed
@maxulysse maxulysse deleted the salmon_index_optional_genome branch January 20, 2025 13:03
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.

3 participants