2021-10-13 10:59:35 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2022-06-03 10:07:16 +00:00
|
|
|
include { TIDDIT_COV as TIDDIT_COV_BED } from '../../../../modules/tiddit/cov/main.nf'
|
|
|
|
include { TIDDIT_COV as TIDDIT_COV_WIG } from '../../../../modules/tiddit/cov/main.nf'
|
2021-10-13 10:59:35 +00:00
|
|
|
|
2022-06-03 10:07:16 +00:00
|
|
|
workflow test_tiddit_cov_cram_bed {
|
2021-10-13 10:59:35 +00:00
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2022-06-03 10:07:16 +00:00
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true) ]
|
2021-10-13 10:59:35 +00:00
|
|
|
|
2022-06-03 10:07:16 +00:00
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
2021-10-13 10:59:35 +00:00
|
|
|
|
2022-06-03 10:07:16 +00:00
|
|
|
TIDDIT_COV_BED ( input, fasta )
|
2021-10-13 10:59:35 +00:00
|
|
|
}
|
|
|
|
|
2022-06-03 10:07:16 +00:00
|
|
|
workflow test_tiddit_cov_bam_bed {
|
2021-10-13 10:59:35 +00:00
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2022-06-03 10:07:16 +00:00
|
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
2021-10-13 10:59:35 +00:00
|
|
|
|
2022-06-03 10:07:16 +00:00
|
|
|
TIDDIT_COV_BED ( input, [] )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_tiddit_cov_cram_wig {
|
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_cram'], checkIfExists: true) ]
|
|
|
|
|
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
|
|
|
|
TIDDIT_COV_WIG ( input, fasta )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_tiddit_cov_bam_wig {
|
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ]
|
|
|
|
|
|
|
|
TIDDIT_COV_WIG ( input, [] )
|
2021-10-13 10:59:35 +00:00
|
|
|
}
|