2021-02-24 09:59:10 -05:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 05:10:18 -04:00
|
|
|
include { TIDDIT_SV } from '../../../../modules/tiddit/sv/main.nf' addParams( options: [:] )
|
2021-02-24 09:59:10 -05:00
|
|
|
|
|
|
|
workflow test_tiddit_sv {
|
2021-07-01 11:13:01 -04:00
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
|
|
|
]
|
|
|
|
|
2021-04-01 15:22:06 -04:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['sarscov2']['genome']['genome_fasta_fai'], checkIfExists: true)
|
2021-02-24 09:59:10 -05:00
|
|
|
|
2021-03-15 10:02:20 -04:00
|
|
|
TIDDIT_SV ( input, fasta, fai )
|
2021-02-24 09:59:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_tiddit_sv_no_ref {
|
2021-07-01 11:13:01 -04:00
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
|
|
|
]
|
2021-02-24 09:59:10 -05:00
|
|
|
|
2021-03-15 10:02:20 -04:00
|
|
|
TIDDIT_SV ( input, [], [] )
|
2021-03-22 13:16:43 -04:00
|
|
|
}
|