2021-10-27 17:06:06 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
include { FGBIO_FASTQTOBAM } from '../../../../modules/fgbio/fastqtobam/main.nf'
|
2021-10-27 17:06:06 +00:00
|
|
|
|
2022-09-05 09:57:55 +00:00
|
|
|
workflow test_fgbio_fastqtobam_paired_default {
|
2021-10-27 17:06:06 +00:00
|
|
|
|
2021-11-26 07:58:40 +00:00
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
]
|
2021-10-27 17:06:06 +00:00
|
|
|
|
2022-09-05 09:57:55 +00:00
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
workflow test_fgbio_fastqtobam_paired_cram {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_fgbio_fastqtobam_paired_bam {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_fgbio_fastqtobam_single {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_fgbio_fastqtobam_paired_umi {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_fgbio_fastqtobam_paired_custom_samplename {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_1_fastq_gz'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_umi_2_fastq_gz'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
FGBIO_FASTQTOBAM ( input )
|
2021-10-27 17:06:06 +00:00
|
|
|
}
|