mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-10 23:03:10 +00:00
Prempt centrifuge database untar crash
This commit is contained in:
parent
120382f51d
commit
622fafedc8
1 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,9 @@ workflow DB_CHECK {
|
||||||
main:
|
main:
|
||||||
|
|
||||||
// TODO: make database sheet check
|
// TODO: make database sheet check
|
||||||
|
// Checks:
|
||||||
|
// 1) no duplicates,
|
||||||
|
// 2) dbs with no special arguments does not have quotes, e.g. just `,,` and NOT `,"",`
|
||||||
parsed_samplesheet = DATABASE_CHECK ( dbsheet )
|
parsed_samplesheet = DATABASE_CHECK ( dbsheet )
|
||||||
.csv
|
.csv
|
||||||
.splitCsv ( header:true, sep:',' )
|
.splitCsv ( header:true, sep:',' )
|
||||||
|
@ -21,7 +24,7 @@ workflow DB_CHECK {
|
||||||
|
|
||||||
ch_dbs_for_untar = parsed_samplesheet
|
ch_dbs_for_untar = parsed_samplesheet
|
||||||
.branch {
|
.branch {
|
||||||
untar: it[1].toString().endsWith(".tar.gz")
|
untar: it[1].toString().endsWith(".tar.gz") && it[0]['tool'] != 'centrifuge'
|
||||||
skip: true
|
skip: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue