2021-05-06 14:48:15 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 09:10:18 +00:00
|
|
|
include { NEXTCLADE } from '../../../modules/nextclade/main.nf' addParams( options: [:] )
|
2021-05-06 14:48:15 +00:00
|
|
|
|
|
|
|
workflow test_nextclade_json {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
NEXTCLADE ( input, 'json' )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_nextclade_csv {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
NEXTCLADE ( input, 'csv' )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_nextclade_tsv {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
NEXTCLADE ( input, 'tsv' )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_nextclade_tree {
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
NEXTCLADE ( input, 'tree' )
|
|
|
|
}
|