mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 23:43:19 -05:00
d07d270743
* Create module antismashlitedownloaddatabases * Corrected user-specification of database directory * Updated test.yml * Apply suggestions from code review Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Fix typo in test.yml * Feed database files via docker/singularity mount) * Add external db file mounts to the containers * Fixed docker command in main.nf * Apply prettier * Apply prettier and add PWD * Add more output to test.yml * Add more output paths to test.yml * Fixed test.yml * Apply suggestions from code review Add documentation of why we need to mount files to the containers. Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * Fix code linting errors (remove trailing whitespaces) * Fix code linting error (remove trailing whitespace) * Fix errors from Prettier linting Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
29 lines
1.1 KiB
Text
29 lines
1.1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { UNTAR as UNTAR1 } from '../../../../modules/untar/main.nf'
|
|
include { UNTAR as UNTAR2 } from '../../../../modules/untar/main.nf'
|
|
include { UNTAR as UNTAR3 } from '../../../../modules/untar/main.nf'
|
|
include { ANTISMASH_ANTISMASHLITEDOWNLOADDATABASES } from '../../../../modules/antismash/antismashlitedownloaddatabases/main.nf'
|
|
|
|
workflow test_antismash_antismashlitedownloaddatabases {
|
|
input1 = [
|
|
[],
|
|
file('https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/antismash/css.tar.gz', checkIfExists: true)
|
|
]
|
|
input2 = [
|
|
[],
|
|
file('https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/antismash/detection.tar.gz', checkIfExists: true)
|
|
]
|
|
input3 = [
|
|
[],
|
|
file('https://github.com/nf-core/test-datasets/raw/modules/data/delete_me/antismash/modules.tar.gz', checkIfExists: true)
|
|
]
|
|
|
|
UNTAR1 ( input1 )
|
|
UNTAR2 ( input2 )
|
|
UNTAR3 ( input3 )
|
|
|
|
ANTISMASH_ANTISMASHLITEDOWNLOADDATABASES ( UNTAR1.out.untar.map{ it[1] }, UNTAR2.out.untar.map{ it[1] }, UNTAR3.out.untar.map{ it[1] } )
|
|
}
|