mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
21 lines
772 B
Text
21 lines
772 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BWA_INDEX } from '../../../../modules/bwa/index/main.nf'
|
|
include { TIDDIT_SV } from '../../../../modules/tiddit/sv/main.nf'
|
|
|
|
workflow test_tiddit_sv_bam {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ],
|
|
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam_bai'], checkIfExists: true) ]
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['sarscov2']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
|
|
BWA_INDEX( fasta )
|
|
|
|
TIDDIT_SV ( input, fasta, fai , BWA_INDEX.out.index)
|
|
}
|