nf-core_modules/tests/modules/tiddit/cov/main.nf

43 lines
1.4 KiB
Text
Raw Permalink Normal View History

#!/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'
2022-06-03 10:07:16 +00:00
workflow test_tiddit_cov_cram_bed {
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) ]
2022-06-03 10:07:16 +00:00
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
2022-06-03 10:07:16 +00:00
TIDDIT_COV_BED ( input, fasta )
}
2022-06-03 10:07:16 +00:00
workflow test_tiddit_cov_bam_bed {
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) ]
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, [] )
}