Skip to content

Commit

Permalink
hotfix: Remove reference requirement when skip_alignment is on
Browse files Browse the repository at this point in the history
Signed-off-by: jvfe <jvfecav@gmail.com>
  • Loading branch information
jvfe committed Apr 9, 2024
1 parent 22790a6 commit 5b1cca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/euryale.nf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ include { CUSTOM_DUMPSOFTWAREVERSIONS } from '../modules/nf-core/custom/dumpsoft
def multiqc_report = []

workflow EURYALE {
if (params.reference_fasta == null && params.diamond_db == null) { exit 1, 'A reference fasta (--reference_fasta) or a DIAMOND db (--diamond_db) must be specified' }
if (params.reference_fasta == null && params.diamond_db == null && params.skip_alignment == false) { exit 1, 'A reference fasta (--reference_fasta) or a DIAMOND db (--diamond_db) must be specified' }
if (params.run_kaiju == true && params.kaiju_db == null) {exit 1, 'A Kaiju tar.gz database must be specified with --kaiju_db'}
if (params.run_kraken2 == true && params.kraken2_db == null) {exit 1, 'A Kraken2 database must be specified with --kraken2_db'}
if (params.host_fasta == null && params.bowtie2_db == null && params.skip_host_removal == false) {exit 1, 'Either a host reference FASTA (--host_fasta) or a pre-built bowtie2 index (--bowtie2_db) must be specified'}
Expand Down

0 comments on commit 5b1cca1

Please sign in to comment.