nf-core_modules/tests/modules/hamronization/fargene/main.nf
James A. Fellows Yates daab0a77dd
Add HAMRONIZATION/FARGENE and updates all HARMONIZATION tools to 1.1.1 (#2107)
* 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>
2022-09-27 15:32:18 +02:00

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' )
}