mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-15 06:03:10 +00:00
3d7ce93630
* add stub * create tab and json files * add option to get compressed outputs
86 lines
3 KiB
Text
86 lines
3 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { ENSEMBLVEP } from '../../../modules/ensemblvep/main.nf'
|
|
|
|
include { ENSEMBLVEP as ENSEMBLVEP_JSON } from '../../../modules/ensemblvep/main.nf'
|
|
include { ENSEMBLVEP as ENSEMBLVEP_TAB } from '../../../modules/ensemblvep/main.nf'
|
|
include { ENSEMBLVEP as ENSEMBLVEP_VCF } from '../../../modules/ensemblvep/main.nf'
|
|
include { ENSEMBLVEP as ENSEMBLVEP_VCF_BGZIP } from '../../../modules/ensemblvep/main.nf'
|
|
include { ENSEMBLVEP as ENSEMBLVEP_VCF_GZIP } from '../../../modules/ensemblvep/main.nf'
|
|
|
|
workflow test_ensemblvep_fasta_json {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_JSON ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta_tab {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_TAB ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta_vcf {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_VCF ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta_vcf_bgzip {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_VCF_BGZIP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta_vcf_gzip {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP_VCF_GZIP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_fasta {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
|
}
|
|
|
|
workflow test_ensemblvep_no_fasta {
|
|
input = [
|
|
[ id:'test' ], // meta map
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
]
|
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], [], [] )
|
|
}
|