2021-02-19 13:59:29 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { GATK4_SPLITNCIGARREADS } from '../../../../software/gatk4/splitncigarreads/main.nf' addParams( options: [:] )
|
|
|
|
|
|
|
|
workflow test_gatk4_splitncigarreads {
|
|
|
|
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-02-22 12:19:12 +00:00
|
|
|
[ file("${launchDir}/tests/data/bam/sarscov2_aln.bam", checkIfExists: true)] ]
|
2021-02-19 13:59:29 +00:00
|
|
|
|
2021-02-22 12:31:54 +00:00
|
|
|
fasta = [ file("tests/data/fasta/sarscov2/GCA_011545545.1_ASM1154554v1_genomic.fna", checkIfExists: true),
|
|
|
|
file("tests/data/fasta/sarscov2/GCA_011545545.1_ASM1154554v1_genomic.fna.fai", checkIfExists: true),
|
|
|
|
file("tests/data/fasta/sarscov2/GCA_011545545.1_ASM1154554v1_genomic.dict", checkIfExists: true)]
|
2021-02-19 13:59:29 +00:00
|
|
|
|
2021-02-22 12:31:54 +00:00
|
|
|
GATK4_SPLITNCIGARREADS ( input, fasta )
|
2021-02-19 13:59:29 +00:00
|
|
|
}
|