nf-core_modules/tests/modules/muscle/main.nf

16 lines
539 B
Text
Raw Normal View History

2021-06-28 02:20:02 -04:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { MUSCLE } from '../../../modules/muscle/main.nf' addParams( options: ['args': '-fasta -verbose -phys -phyi -maxiters 2'])
include { MUSCLE as MUSCLE_TREE } from '../../../modules/muscle/main.nf' addParams( options: ['args': '-maketree'])
2021-06-28 02:20:02 -04:00
workflow test_muscle {
input = [ [ id:'test' ], // meta map
file(params.test_data['sarscov2']['genome']['informative_sites_fas'], checkIfExists: true) ]
MUSCLE ( input )
MUSCLE_TREE ( MUSCLE.out.aligned_fasta )
}