We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 301bcff + 127ea41 commit 01007abCopy full SHA for 01007ab
subworkflows/local/input_check.nf
@@ -48,7 +48,7 @@ workflow INPUT_CHECK {
48
ch_databases = UNTAR.out.untar.concat( ch_dbs_for_untar.skip )
49
.map { meta, db -> [ meta + [id: db.baseName], db] }
50
.map { db_meta, db_path ->
51
- if (db_meta.type in ["blastp", "blastx"]) {
+ if (db_meta.type in ["blastp", "blastx"] && db_path.isDirectory()) {
52
[db_meta, file(db_path.toString() + "/${db_path.name}", checkIfExists: true)]
53
} else {
54
[db_meta, db_path]
0 commit comments