Why can’t I give a default value to params.fasta in main.nf of my new pipeline (Nextflow/nf-core)
When I try to change the value of the fasta parameter by putting params.fasta = getGenomeAttribute('fasta')
in the main script of my pipeline, if I try to print the value or $params.fasta or if I try to pass it to a workflow, I get an error saying that the module doesn’t take null as an input or it simply prints out null.
Nextflow/nf-core why can’t I give a default value to params.fasta in main.nf of my new pipeline
When I try to change the value of the fasta parameter by putting params.fasta = getGenomeAttribute('fasta')
in my main script of my pipeline, when I try to print the value or $params.fasta or when I try to pass it to a workflow, I get an error saying that the module doesn’t take null as an input or it simply prints out null.