mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 12:43:09 +00:00
16 lines
541 B
Text
16 lines
541 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { MUSCLE } from '../../../software/muscle/main.nf' addParams( options: ['args': '-fasta -verbose -phys -phyi -maxiters 2'])
|
||
|
include { MUSCLE as MUSCLE_TREE } from '../../../software/muscle/main.nf' addParams( options: ['args': '-maketree'])
|
||
|
|
||
|
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 )
|
||
|
}
|