mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
acb1a12a56
* Re-organise all test data * Fix ECLint * Fix ECLint agaaainn * Now is not the time EClint
19 lines
837 B
Text
Executable file
19 lines
837 B
Text
Executable file
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { CNVKIT } from '../../../software/cnvkit/main.nf' addParams( options: [ 'args': '--output-reference reference.cnn' ] )
|
|
|
|
workflow test_cnvkit {
|
|
tumourbam = file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true)
|
|
normalbam = file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_single_end.sorted.bam", checkIfExists: true)
|
|
|
|
input = [ [ id:'test' ], // meta map
|
|
tumourbam,
|
|
normalbam
|
|
]
|
|
fasta = file("${launchDir}/tests/data/genomics/sarscov2/genome/genome.fasta", checkIfExists: true)
|
|
targets = file("${launchDir}/tests/data/genomics/sarscov2/genome/bed/baits.bed", checkIfExists: true)
|
|
|
|
CNVKIT ( input, fasta, targets )
|
|
}
|