Create a new parameter that allows for passing a user-created list of genomes to compare the virus sequences against, in addition to the pre-defined lists.
Added Features
Additional Modified parameters
--genome_list
type: String
default: jev
Path to TSV file containing NCBI accession numbers of strains for constructing phylogenetic trees. Preset genome lists can be specified by name
More Info
Context
Right now, only Japanese Encephalitis Virus has a list of genomes to compare against as a preset for the pipeline, and which genomes were included was @MillironX's judgement call. There should be an option to pass an arbitrary genome list to the pipeline. If we want to sequence anything else, or pick a different group of genomes to compare against,
Possible implementation
Check to see of params.genome_list is a valid path
Create a file object with value params.genome_list
Check if params.genome_list is included in the Genomes directory
Create a file object with value "${workflow.projectDir}/genomes/${params.genome_list}"
Check if "${params.genome_list}.tsv" is included in the Genomes directory
Create a file object with value "${workflow.projectDir}/genomes/${params.genome_list}.tsv"
Summary
Create a new parameter that allows for passing a user-created list of genomes to compare the virus sequences against, in addition to the pre-defined lists.
Added Features
AdditionalModified parameters--genome_list
String
jev
More Info
Context
Right now, only Japanese Encephalitis Virus has a list of genomes to compare against as a preset for the pipeline, and which genomes were included was @MillironX's judgement call. There should be an option to pass an arbitrary genome list to the pipeline. If we want to sequence anything else, or pick a different group of genomes to compare against,
Possible implementation
params.genome_list
is a valid pathfile
object with valueparams.genome_list
params.genome_list
is included in the Genomes directoryfile
object with value"${workflow.projectDir}/genomes/${params.genome_list}"
"${params.genome_list}.tsv"
is included in the Genomes directoryfile
object with value"${workflow.projectDir}/genomes/${params.genome_list}.tsv"