mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 13:43:09 +00:00
938387d10d
* feat: add hmmsearch module and tests * chore: set medium resource requirements * tests: look for correct output * fix: add when condition * Apply suggestions to meta.yml Co-authored-by: James A. Fellows Yates <jfy133@gmail.com> * refactor: create gzip compressed output * docs: describe compressed in-/output Co-authored-by: James A. Fellows Yates <jfy133@gmail.com>
33 lines
1.1 KiB
Text
33 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 )
|
|
}
|