2021-10-27 13:06:06 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { FGBIO_FASTQTOBAM } from '../../../../modules/fgbio/fastqtobam/main.nf'
|
2021-10-27 13:06:06 -04:00
|
|
|
|
2022-09-05 05:57:55 -04:00
|
|
|
workflow test_fgbio_fastqtobam_paired_default {
|
2021-10-27 13:06:06 -04:00
|
|
|
|
2021-11-26 02:58:40 -05: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 13:06:06 -04:00
|
|
|
|
2022-09-05 05:57:55 -04: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 13:06:06 -04:00
|
|
|
}
|