2021-06-30 07:46:24 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { DAMAGEPROFILER } from '../../../modules/damageprofiler/main.nf'
|
2021-06-30 07:46:24 +00:00
|
|
|
|
|
|
|
workflow test_damageprofiler {
|
|
|
|
|
2021-10-20 08:02:30 +00:00
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_markduplicates_sorted_bam'], checkIfExists: true) ] ]
|
|
|
|
fasta = []
|
|
|
|
fai = []
|
|
|
|
species_list = []
|
2021-06-30 07:46:24 +00:00
|
|
|
|
2021-10-20 08:02:30 +00:00
|
|
|
|
|
|
|
DAMAGEPROFILER ( input, fasta, fai, species_list )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_damageprofiler_reference {
|
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_markduplicates_sorted_bam'], checkIfExists: true) ] ]
|
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
|
|
|
|
species_list = []
|
|
|
|
|
|
|
|
DAMAGEPROFILER ( input, fasta, fai, species_list )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_damageprofiler_specieslist {
|
|
|
|
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
|
|
[ file(params.test_data['homo_sapiens']['illumina']['test_paired_end_markduplicates_sorted_bam'], checkIfExists: true) ] ]
|
|
|
|
fasta = []
|
|
|
|
fai = []
|
|
|
|
species_list = file(params.test_data['homo_sapiens']['genome']['genome_header'], checkIfExists: true)
|
|
|
|
|
|
|
|
DAMAGEPROFILER ( input, fasta, fai, species_list )
|
2021-06-30 07:46:24 +00:00
|
|
|
}
|