2021-07-06 08:11:11 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-11-26 02:58:40 -05:00
|
|
|
include { ENSEMBLVEP } from '../../../modules/ensemblvep/main.nf'
|
2021-07-06 08:11:11 -04:00
|
|
|
|
2022-06-15 07:52:12 -04:00
|
|
|
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'
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2022-07-13 07:43:03 -04:00
|
|
|
ENSEMBLVEP_JSON ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
2022-06-15 07:52:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2022-07-13 07:43:03 -04:00
|
|
|
ENSEMBLVEP_TAB ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
2022-06-15 07:52:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
2022-07-13 07:43:03 -04:00
|
|
|
ENSEMBLVEP_VCF ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
2022-06-15 07:52:12 -04:00
|
|
|
}
|
|
|
|
|
2022-06-09 05:53:16 -04:00
|
|
|
workflow test_ensemblvep_fasta {
|
2021-11-26 02:58:40 -05:00
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
2022-06-09 05:45:27 -04:00
|
|
|
fasta = file(params.test_data['sarscov2']['genome']['genome_fasta'], checkIfExists: true)
|
|
|
|
|
2022-07-13 07:43:03 -04:00
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], fasta, [] )
|
2021-07-06 08:11:11 -04:00
|
|
|
}
|
2022-06-09 05:53:16 -04:00
|
|
|
|
|
|
|
workflow test_ensemblvep_no_fasta {
|
|
|
|
input = [
|
|
|
|
[ id:'test' ], // meta map
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
|
2022-07-13 07:43:03 -04:00
|
|
|
ENSEMBLVEP ( input, "WBcel235", "caenorhabditis_elegans", "106", [], [], [] )
|
2022-06-09 05:53:16 -04:00
|
|
|
}
|