Skip to content

Commit

Permalink
add check if mirgene_db_species is set if mirgene_db
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-mohr committed Feb 14, 2024
1 parent 18ae224 commit e35ff85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflows/smrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ if (!params.mirgenedb) {
if (params.mirgenedb_mature) { reference_mature = file(params.mirgenedb_mature, checkIfExists: true) } else { exit 1, "Mature miRNA fasta file not found: ${params.mirgenedb_mature}" }
if (params.mirgenedb_hairpin) { reference_hairpin = file(params.mirgenedb_hairpin, checkIfExists: true) } else { exit 1, "Hairpin miRNA fasta file not found: ${params.mirgenedb_hairpin}" }
if (params.mirgenedb_gff) { mirna_gtf = file(params.mirgenedb_gff, checkIfExists: true) } else { exit 1, "MirGeneDB gff file not found: ${params.mirgenedb_gff}"}
if (!params.mirgenedb_species) { exit 1, "MirGeneDB species not set, please specify via the --mirgenedb_species parameter"}
}

include { INPUT_CHECK } from '../subworkflows/local/input_check'
Expand Down

0 comments on commit e35ff85

Please sign in to comment.