Ammar Aziz
10/02/2025, 4:07 AM--nextclade {data_setname}
or
--nextclade
--nextclade-dataset {dataset_name}
the second is more verbose but allows future additions eg adding --nextclade-tag. Is one preferred over the other?Evangelos Karatzas
10/02/2025, 6:28 AMif (!params.skip_nextclade) {
...
}
So, one to control the execution, and another one with the dataJames Fellows Yates
10/02/2025, 7:32 AMWhat's better, having two flags to run an optional feature or a single onePersonal preference 😬 I personally opt for more implicit booleans because it's more 'active' and makes simpler code (less parsing strings, which require extra/more complex custom validation code) But others like the more concise parameters
Ammar Aziz
10/02/2025, 7:44 AMviralrecon and saw that usage @Evangelos Karatzas. But for this pipeline it has to be the specified because the default (by design) is to not run nextclade (its a generic pipeline that needs to support many organisms). In other words nextclade is 'second class' output.Ammar Aziz
10/02/2025, 7:45 AMJames Fellows Yates
10/02/2025, 7:45 AMJames Fellows Yates
10/02/2025, 7:45 AMJames Fellows Yates
10/02/2025, 7:45 AMAmmar Aziz
10/02/2025, 7:49 AMThomas Danhorn
10/02/2025, 5:19 PM--nextclade cannot stand on its own, so --nextclade {data_setname} makes more sense to me, and if a "tag" is optional, you can always add --nextclade-tag {tag} (with a warning that it will be ignored if you don't activate nextclade elsewhere), no matter how you set it up.
Note that some pipelines also have --tools, e.g. --tools sometool,nextclade,othertool, so you have options.Thomas Danhorn
10/02/2025, 5:25 PM--nextclade may be more convenient most of the time. E.g. #sarek lets you pick a --genome, and you can change the --fasta or the --known_indels, etc., but 99.9% of the time you would use the defaults that come with the genome.Ammar Aziz
10/03/2025, 1:51 AM