James Fellows Yates
12/02/2025, 7:33 AM.nextflow.config we havr --run_busco true by default, but I don't like that behaviour as it's not intuitive for users to go --run_busco false to skip it... and is inconsistent with the others what would be our be our preferred behaviour here?
1. Change just busco back to --skip_busco
2. Set all BinQC tools to --skip_<tool>
3. Set all to false and have another error check that if you --skip_binqc false and all the run_<troo> parameters are false then we tell user to turn one of them onDaniel Straub
12/02/2025, 7:37 AMJim Downie
12/02/2025, 7:47 AM—run_X parameters only, and just have them set to true or false depending on what is a sensible default. I don’t really understand the guideline that all boolean flags have to have the same state by default.James Fellows Yates
12/02/2025, 8:10 AMI don’t really understand the guideline that all boolean flags have to have the same state by default.For me because
--run_blah and --run_blah true are two ways of setting the same to true, but --run_blah false set it's to false.
But given the standard pattern is to run --run_blah to turn it true, users do not know how to turn it off. No-where is it described you can specify to a boolean parameter true or false. Setting false is 'internal' knowledge, so to sayDaniel Straub
12/02/2025, 8:17 AM--binqc_tool but allow multiple comma separated values? By default e.g. --binqc_tool busco and make --binqc_tool busco,checkm2 and such possible?James Fellows Yates
12/02/2025, 8:20 AMJames Fellows Yates
12/02/2025, 8:21 AMJames Fellows Yates
12/02/2025, 8:21 AMDaniel Straub
12/02/2025, 8:22 AMJames Fellows Yates
12/02/2025, 8:22 AMDiego Alvarez Saravia
12/02/2025, 10:58 AMJim Downie
12/02/2025, 10:59 AMDiego Alvarez Saravia
12/02/2025, 11:00 AMDiego Alvarez Saravia
12/02/2025, 11:02 AMJim Downie
12/02/2025, 11:03 AM--run_blah to turn it true, users do not know how to turn it off. No-where is it described you can specify to a boolean parameter true or false. Setting false is 'internal' knowledge, so to say
We can document this in the params descriptions/in the pipeline docs, something like:
"all tools are controlled by a parameter called --run_X. To disable a tool, change the value of run_X to false in your params file or run Nextflow with `--run_X false`"
I'm not opposed to enforcing a little reading. Ideally Nextflow would support boolean flags like argparse , but I understand why it doesn't.Jim Downie
12/02/2025, 11:04 AMJames Fellows Yates
12/02/2025, 12:10 PMJames Fellows Yates
12/02/2025, 12:10 PMDaniel Straub
12/02/2025, 12:15 PM