Andrea Bagnacani
07/31/2025, 3:21 PMsamtools and paraphase, and runs paraphase with the -g flag followed by a comma-separated list of 10 genes.
During testing, would it be possible to break this list in 10 different pipeline invocations, each with 1 gene?
This would help keeping each test small and fast to execute.
I started with gene GBA. I followed this example, and in my tests/nextflow.config file I wrote:
process {
withName: PARAPHASE {
ext.args = '-g GBA'
}
}
This setup works as intended: the config instructs paraphase to run against GBA only and produces the output that I expect.
However, I cannot figure out how to write the remaining 9 blocks for the remaining 9 genes:
any new section in the config will have the same withName: PARAPHASE, so besides the string containing the gene's name, all the 10 configurations will look identical.
I looked around for a way to make them distinct, so that I can run paraphase with 10 different cli invocations, but I cannot figure out how.
What am I missing? Have you ever encountered this scenario?Maxime Garcia
07/31/2025, 3:22 PMMaxime Garcia
07/31/2025, 3:23 PMMaxime Garcia
07/31/2025, 3:24 PMprocess {
withName: PARAPHASE {
ext.args = { params.paraphrase_args }
}
}
insteadMaxime Garcia
07/31/2025, 3:26 PMparams {
paraphrase_args = "-g GBA"
}Maxime Garcia
07/31/2025, 3:27 PMAndrea Bagnacani
07/31/2025, 3:32 PMMaxime Garcia
07/31/2025, 3:34 PMAndrea Bagnacani
07/31/2025, 3:35 PM