mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
parent
ed82766696
commit
a8e6a88163
5 changed files with 4 additions and 9 deletions
|
@ -24,6 +24,7 @@ process GENMOD_COMPOUND {
|
||||||
genmod \\
|
genmod \\
|
||||||
compound \\
|
compound \\
|
||||||
$args \\
|
$args \\
|
||||||
|
--processes ${task.cpus} \\
|
||||||
--outfile ${prefix}_compound.vcf \\
|
--outfile ${prefix}_compound.vcf \\
|
||||||
$input_vcf
|
$input_vcf
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ process GENMOD_MODELS {
|
||||||
$args \\
|
$args \\
|
||||||
$pen_file \\
|
$pen_file \\
|
||||||
$family_file \\
|
$family_file \\
|
||||||
|
--processes ${task.cpus} \\
|
||||||
--outfile ${prefix}_models.vcf \\
|
--outfile ${prefix}_models.vcf \\
|
||||||
$input_vcf
|
$input_vcf
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@ process GENMOD_SCORE {
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(input_vcf)
|
tuple val(meta), path(input_vcf)
|
||||||
path (fam)
|
path (fam)
|
||||||
path (reduced_penetrance)
|
|
||||||
path (score_config)
|
path (score_config)
|
||||||
|
|
||||||
output:
|
output:
|
||||||
|
@ -24,13 +23,11 @@ process GENMOD_SCORE {
|
||||||
def args = task.ext.args ?: ''
|
def args = task.ext.args ?: ''
|
||||||
def prefix = task.ext.prefix ?: "${meta.id}"
|
def prefix = task.ext.prefix ?: "${meta.id}"
|
||||||
def family_file = fam ? "--family_file ${fam}" : ""
|
def family_file = fam ? "--family_file ${fam}" : ""
|
||||||
def pen_file = reduced_penetrance ? "--reduced_penetrance ${reduced_penetrance}" : ""
|
|
||||||
def config_file = score_config ? "--score_config ${score_config}" : ""
|
def config_file = score_config ? "--score_config ${score_config}" : ""
|
||||||
"""
|
"""
|
||||||
genmod \\
|
genmod \\
|
||||||
score \\
|
score \\
|
||||||
$args \\
|
$args \\
|
||||||
$pen_file \\
|
|
||||||
$family_file \\
|
$family_file \\
|
||||||
$config_file \\
|
$config_file \\
|
||||||
--outfile ${prefix}_score.vcf \\
|
--outfile ${prefix}_score.vcf \\
|
||||||
|
|
|
@ -21,10 +21,6 @@ input:
|
||||||
type: file
|
type: file
|
||||||
description: vcf file
|
description: vcf file
|
||||||
pattern: "*.{vcf}"
|
pattern: "*.{vcf}"
|
||||||
- reduced_penetrance:
|
|
||||||
type: file
|
|
||||||
description: file with gene ids that have reduced penetrance
|
|
||||||
pattern: "*.{tsv}"
|
|
||||||
- family_file:
|
- family_file:
|
||||||
type: file
|
type: file
|
||||||
description: ped file
|
description: ped file
|
||||||
|
|
|
@ -13,10 +13,10 @@ config = file(params.test_data['homo_sapiens']['illumina']['rank_model'], checkI
|
||||||
|
|
||||||
workflow test_genmod_score {
|
workflow test_genmod_score {
|
||||||
|
|
||||||
GENMOD_SCORE ( input, fam, [], config)
|
GENMOD_SCORE ( input, fam, config)
|
||||||
}
|
}
|
||||||
|
|
||||||
workflow test_genmod_score_stub {
|
workflow test_genmod_score_stub {
|
||||||
|
|
||||||
GENMOD_SCORE ( input, fam, [], config)
|
GENMOD_SCORE ( input, fam, config)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue