mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
b5e3d16d80
* Created hmmer/eslalimask from template * esl-alimask module with --rf-is-mask test case * Add optional file output * Add hmmer to test name * Move from process_single to process_low * Test for versions.yml, plus content * Prettier * Avoid gzipping input alignment * meta.id to prefix * Fix version string so it's from *this* tool
20 lines
753 B
Text
20 lines
753 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { HMMER_HMMALIGN } from '../../../../modules/hmmer/hmmalign/main.nf'
|
|
include { HMMER_ESLALIMASK as RFMASK } from '../../../../modules/hmmer/eslalimask/main.nf'
|
|
|
|
workflow test_hmmer_rfmask {
|
|
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file('https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/hmmer/e_coli_k12_16s.fna.gz') // Change to params.test_data syntax after the data is included in tests/config/test_data.config
|
|
]
|
|
|
|
hmm = file('https://raw.githubusercontent.com/nf-core/test-datasets/modules/data/delete_me/hmmer/bac.16S_rRNA.hmm.gz')
|
|
|
|
HMMER_HMMALIGN ( input, hmm )
|
|
|
|
RFMASK ( HMMER_HMMALIGN.out.sthlm, [] )
|
|
}
|