-
Notifications
You must be signed in to change notification settings - Fork 127
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
mirtrace_species variable not defined #488
Comments
Hi @kopichris Thanks for opening this issue, I see that you are right. The |
Hi @nschcolnicov, that's what I suspected at first too, but I think it's just a parameter visibility issue. The The parameter is then passed as input to the prepare_genome workflow, where the following check happens:
A similar check is subsequently performed within the pipeline_initialisation workflow, where the
The error occurs because I chose to remove this logic from the pipeline_initialization workflow because it was already being correctly handled in prepare_genome (69ef3aa). Thoughts @nschcolnicov @atrigila? |
@kopichris I think that change makes sense, not sure why the same check is run twice, probably some leftover code that we missed when refactoring the pipeline. Please go ahead and create the PR. Thanks for looking into this! 😄 |
Closed via #493 . Thank you for reporting this issue and the proposed solution :) |
Description of the bug
According to the docs, the
--mirtrace_species
variable is set when the--genome
variable is defined; however, setting the--genome
parameter results in the following error:The error occurs because the
--mirtrace_species
variable is not globally defined, and is accessed by a function that does not have access to it in the pipeline_initialisation workflow:I am working on making a pull request to the
dev
branch if there are no issues!Command used and terminal output
Relevant files
No response
System information
Nextflow version: 24.04.2
Hardware: HPC
Executor: local
Container engine: Docker
OS: Linux
Version of nf-core/smrnaseq: 2.4.0
The text was updated successfully, but these errors were encountered: