2021-06-28 06:20:02 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
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 06:20:02 +00: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 )
|
|
|
|
}
|