mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
c189835b1b
* add drafty controlfreec * get sofatware version * use maps in map * update paths to new and soon-to-be merged test files, add more input docu * Stab at documenting args map * Update syntax * Bit more description * Make the linter happy * tests pass locally * Add outputs & docu * tests are failing locally now :/ but cpn file can also be added * All tests passing, need to update test data again to add folder * Clean up files * Clean up files * Clean up files * Don't know how to get the test to run with the direcotry for now. they pass locally though * Make linter happy * Name process back * Update to use tar folder * fix the checksum
37 lines
1.5 KiB
Text
37 lines
1.5 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { CONTROLFREEC } from '../../../modules/controlfreec/main.nf'
|
|
include { UNTAR } from '../../../modules/untar/main.nf'
|
|
workflow test_controlfreec {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false, sex:'XX' ], // meta map
|
|
file(params.test_data['homo_sapiens']['illumina']['test_mpileup'], checkIfExists: true),
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_mpileup'], checkIfExists: true),
|
|
[],[],[],[]
|
|
]
|
|
|
|
fasta = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta'], checkIfExists: true)
|
|
fai = file(params.test_data['homo_sapiens']['genome']['genome_21_fasta_fai'], checkIfExists: true)
|
|
|
|
dbsnp = file(params.test_data['homo_sapiens']['genome']['dbsnp_138_hg38_21_vcf_gz'], checkIfExists: true)
|
|
dbsnp_tbi = file(params.test_data['homo_sapiens']['genome']['dbsnp_138_hg38_21_vcf_gz_tbi'], checkIfExists: true)
|
|
|
|
chrfiles = file(params.test_data['homo_sapiens']['genome']['genome_21_chromosomes_dir'], checkIfExists: true)
|
|
target_bed = file(params.test_data['homo_sapiens']['genome']['genome_21_multi_interval_bed'], checkIfExists: true)
|
|
|
|
UNTAR(chrfiles)
|
|
CONTROLFREEC ( input,
|
|
fasta,
|
|
fai,
|
|
[],
|
|
dbsnp,
|
|
dbsnp_tbi,
|
|
UNTAR.out.untar,
|
|
[],
|
|
target_bed,
|
|
[]
|
|
)
|
|
}
|