mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 14:13:09 +00:00
daab0a77dd
* Update main.nf * Update meta.yml * Re-add logos as not staged in a way that works with MultiQC config files * Update main.nf * Remove now unnecessary input channel * Remove unused channel from tests * Update hAMRonization to 1.1.1 and add hAMRonization farGene * Fix hamronizatio ntests * Prettier * Fix fargene linting * Correct file * Fix fargene output * Apply suggestions from code review Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com> * Fix summarise tests * Prettier Co-authored-by: Jasmin F <73216762+jasmezz@users.noreply.github.com>
19 lines
669 B
Text
19 lines
669 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { GUNZIP } from '../../../modules/gunzip/main.nf'
|
|
include { FARGENE } from '../../../modules/fargene/main.nf'
|
|
include { HAMRONIZATION_FARGENE } from '../../../../modules/hamronization/fargene/main.nf'
|
|
|
|
workflow test_hamronization_fargene {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['bacteroides_fragilis']['illumina']['test1_contigs_fa_gz'], checkIfExists: true) ]
|
|
hmm_model = 'class_a'
|
|
|
|
GUNZIP ( input )
|
|
FARGENE ( GUNZIP.out.gunzip, hmm_model )
|
|
|
|
HAMRONIZATION_FARGENE ( FARGENE.out.hmm, 'tsv', '0.1', '0.1' )
|
|
}
|