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