mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
31 lines
1,006 B
Text
31 lines
1,006 B
Text
|
#!/usr/bin/env nextflow
|
||
|
|
||
|
nextflow.enable.dsl = 2
|
||
|
|
||
|
include { VCF2MAF } from '../../../modules/vcf2maf/main.nf'
|
||
|
include { UNTAR } from '../../../modules/untar/main.nf'
|
||
|
|
||
|
workflow test_vcf2maf_no_vep {
|
||
|
|
||
|
input_vcf = [
|
||
|
[ id:'test' ],
|
||
|
file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf'], checkIfExists: true)
|
||
|
]
|
||
|
fasta = [ file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true) ]
|
||
|
|
||
|
VCF2MAF ( input_vcf, fasta, [] )
|
||
|
}
|
||
|
|
||
|
workflow test_vcf2maf_vep {
|
||
|
|
||
|
input_vcf = [
|
||
|
[ id:'test' ],
|
||
|
file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf'], checkIfExists: true)
|
||
|
]
|
||
|
fasta = [ file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true) ]
|
||
|
vep_cache = [ [ id:'test' ], file(params.test_data['homo_sapiens']['genome']['vep_cache'], checkIfExists: true) ]
|
||
|
|
||
|
vep_cache_unpacked = UNTAR(vep_cache).untar.map { it[1] }
|
||
|
VCF2MAF ( input_vcf, fasta, vep_cache_unpacked)
|
||
|
}
|