mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 22:23:09 +00:00
34 lines
1.1 KiB
Text
34 lines
1.1 KiB
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { HMMER_HMMSEARCH } from '../../../../modules/hmmer/hmmsearch/main.nf'
|
||
|
|
||
|
workflow test_hmmer_hmmsearch {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test', single_end:false ], // meta map
|
||
|
file('https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/hmmer/bac.16S_rRNA.hmm.gz', checkIfExists: true),
|
||
|
file('https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/hmmer/e_coli_k12_16s.fna.gz', checkIfExists: true),
|
||
|
false,
|
||
|
false,
|
||
|
false
|
||
|
]
|
||
|
|
||
|
HMMER_HMMSEARCH ( input )
|
||
|
}
|
||
|
|
||
|
workflow test_hmmer_hmmsearch_optional {
|
||
|
|
||
|
input = [
|
||
|
[ id:'test', single_end:false ], // meta map
|
||
|
file('https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/hmmer/bac.16S_rRNA.hmm.gz', checkIfExists: true),
|
||
|
file('https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/hmmer/e_coli_k12_16s.fna.gz', checkIfExists: true),
|
||
|
true,
|
||
|
true,
|
||
|
true
|
||
|
]
|
||
|
|
||
|
HMMER_HMMSEARCH ( input )
|
||
|
}
|