-
Notifications
You must be signed in to change notification settings - Fork 11
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
No valid choice in the pipeline parameters for hybrid strategies and problem with -c config #36
Comments
Hi @josruirod, Thanks for your words and for reporting this issue. I will take a look at this ASAP. But at first glance, I think it might be related to an update in nextflow and how it is handling the integers and strings when read from command line. To guarantee that this may be the case, can you try passing this parameter through the samplesheet (as shown here), instead of the command line, please? About the error with |
For the problem related to the parameter, I created a new branch called For that, you would need to attach the following in your command line: |
Hi, thanks for the prompt response! So few points to answer:
Best |
Hi @josruirod, I am not sure, but I think the problem on your config file is that you've set
But this actually needs to be a string:
Not saying is really that, but is the only thing I could spot in a rapid look. About the QC steps, actually they are performed in any strategy ... and is indeed super weird that your files are all blank. They should've at least have started and have something in it, even an error 🤔 Unfertunately, skippping is not possible, I may add in a future release, if you please open a new issue describing why you want it and flagging as "enchancement" 😄 . But, even though you can't skip, I think is possible to ignore its errors and avoid pipeline crash if they fail, with a config file like this: process {
withName: 'multiqc|quast' {
errorStrategy = 'ignore'
}
} Please, let me know if that helps 😄 |
Thanks for your time and kind support! So indeed, if I added genome size with quotes in the config file and used -c, it started but later complained also in relation with the hybrid strategy:
If I add quotes to hybrid strategy within the config, like hybrid_strategy = "2", then it works! But if I provide the parameter manually in the command line, --hybrid_strategy "2", same error. About the QC, sure, I didn't mean that they are not necessary. I would like to get them to work. But maybe if they fail the whole pipeline shouldn't fail? Usable results could be obtained without requiring to restart the execution. |
Thanks for that. I will continue to take a look. Just to make sure, you continued to observe the error with hybrid_strategy even with the new branch? Because when I use it, it does not complain about And I totally get what you mean about the QC. I think would be good to create a new issue to solve this quast error 😃 |
Hi, thanks for the work! So I'm happy to check, but can you please help? How can I run the new branch only? I've git cloned it, but the nextflow run command and some modifications I've tried seem to load the master branch only. Thanks |
No, you don't need to clone it. I wrote here but you probably did not see 😄 You can use it directly from nextflow:
with |
Oh my, apparently we wrote the mesage at exactly the same time, according to github, 20:54 CEST yesterday. What a sync. That's why I did not see your message. Sorry about that. |
Hi, thanks for the impressive work and pipeline
So I'm trying to use it on our data, and getting a couple of errors for starters.
If I ran the pipeline with --input XXXX.yml and --hybrid_strategy 2, I get the error:
both seems to be working with this syntaxis, but not 1 nor 2
If I ran the pipeline trying to provide the config file with -c, I get the error
I don't have much experience with nextflkow, so I may be missing something "easy". Hope you can comment and help. Thanks for the support
The text was updated successfully, but these errors were encountered: