Skip to content

Commit

Permalink
allow submission to run without fasta file.
Browse files Browse the repository at this point in the history
When not submitting to genbank, fasta file is not needed. Missing fasta file caused arg parsing error that --fasta_file cannot have no input
  • Loading branch information
alan committed Dec 27, 2024
1 parent 2b07d35 commit d5cdbcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/local/initial_submission/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ process SUBMISSION {
--metadata_file $validated_meta_path \
--species $params.species \
--output_dir . \
--fasta_file $fasta_path \
${fasta_path ? "--fasta_file $fasta_path" : ""} \
${annotations_path ? "--annotation_file $annotations_path" : ""} \
${fastq_1 ? "--fastq1 $fastq_1" : ""} \
${fastq_2 ? "--fastq2 $fastq_2" : ""} \
Expand Down

0 comments on commit d5cdbcf

Please sign in to comment.