mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
remove variables used for test data generation, add tbi
This commit is contained in:
parent
520dd06ca3
commit
5d72500d60
4 changed files with 21 additions and 7 deletions
|
@ -9,7 +9,7 @@ process GATK4_CNNSCOREVARIANTS {
|
||||||
container 'broadinstitute/gatk:4.2.6.1' //Biocontainers is missing a package
|
container 'broadinstitute/gatk:4.2.6.1' //Biocontainers is missing a package
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(vcf), path(aligned_input), path(intervals)
|
tuple val(meta), path(vcf), path(tbi), path(aligned_input), path(intervals)
|
||||||
path fasta
|
path fasta
|
||||||
path fai
|
path fai
|
||||||
path dict
|
path dict
|
||||||
|
@ -17,8 +17,9 @@ process GATK4_CNNSCOREVARIANTS {
|
||||||
path weights
|
path weights
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.vcf.gz"), emit: vcf
|
tuple val(meta), path("*cnn.vcf.gz") , emit: vcf
|
||||||
path "versions.yml" , emit: versions
|
tuple val(meta), path("*cnn.vcf.gz.tbi"), emit: tbi
|
||||||
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
task.ext.when == null || task.ext.when
|
task.ext.when == null || task.ext.when
|
||||||
|
@ -40,7 +41,7 @@ process GATK4_CNNSCOREVARIANTS {
|
||||||
"""
|
"""
|
||||||
gatk --java-options "-Xmx${avail_mem}g" CNNScoreVariants \\
|
gatk --java-options "-Xmx${avail_mem}g" CNNScoreVariants \\
|
||||||
--variant $vcf \\
|
--variant $vcf \\
|
||||||
--output ${prefix}.vcf.gz \\
|
--output ${prefix}.cnn.vcf.gz \\
|
||||||
--reference $fasta \\
|
--reference $fasta \\
|
||||||
$interval_command \\
|
$interval_command \\
|
||||||
$aligned_input \\
|
$aligned_input \\
|
||||||
|
|
|
@ -25,6 +25,10 @@ input:
|
||||||
type: file
|
type: file
|
||||||
description: VCF file
|
description: VCF file
|
||||||
pattern: "*.vcf.gz"
|
pattern: "*.vcf.gz"
|
||||||
|
- tbi:
|
||||||
|
type: file
|
||||||
|
description: VCF index file
|
||||||
|
pattern: "*.vcf.gz.tbi"
|
||||||
- aligned_input:
|
- aligned_input:
|
||||||
type: file
|
type: file
|
||||||
description: BAM/CRAM file from alignment (optional)
|
description: BAM/CRAM file from alignment (optional)
|
||||||
|
@ -67,6 +71,10 @@ output:
|
||||||
type: file
|
type: file
|
||||||
description: Annotated VCF file
|
description: Annotated VCF file
|
||||||
pattern: "*.vcf"
|
pattern: "*.vcf"
|
||||||
|
- tbi:
|
||||||
|
type: file
|
||||||
|
description: VCF index file
|
||||||
|
pattern: "*.vcf.gz.tbi"
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@FriederikeHanssen"
|
- "@FriederikeHanssen"
|
||||||
|
|
|
@ -8,7 +8,7 @@ process GATK4_FILTERVARIANTTRANCHES {
|
||||||
'quay.io/biocontainers/gatk4:4.2.6.1--hdfd78af_0' }"
|
'quay.io/biocontainers/gatk4:4.2.6.1--hdfd78af_0' }"
|
||||||
|
|
||||||
input:
|
input:
|
||||||
tuple val(meta), path(vcf), path(tbi),path(intervals)
|
tuple val(meta), path(vcf), path(tbi), path(intervals)
|
||||||
path resources
|
path resources
|
||||||
path resources_index
|
path resources_index
|
||||||
path fasta
|
path fasta
|
||||||
|
@ -17,8 +17,9 @@ process GATK4_FILTERVARIANTTRANCHES {
|
||||||
|
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.vcf.gz"), emit: vcf
|
tuple val(meta), path("*.vcf.gz") , emit: vcf
|
||||||
path "versions.yml" , emit: versions
|
tuple val(meta), path("*.vcf.gz.tbi"), emit: tbi
|
||||||
|
path "versions.yml" , emit: versions
|
||||||
|
|
||||||
when:
|
when:
|
||||||
task.ext.when == null || task.ext.when
|
task.ext.when == null || task.ext.when
|
||||||
|
|
|
@ -59,6 +59,10 @@ output:
|
||||||
type: file
|
type: file
|
||||||
description: VCF file
|
description: VCF file
|
||||||
pattern: "*.vcf.gz"
|
pattern: "*.vcf.gz"
|
||||||
|
- tbi:
|
||||||
|
type: file
|
||||||
|
description: VCF index file
|
||||||
|
pattern: "*.vcf.gz.tbi"
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- "@FriederikeHanssen"
|
- "@FriederikeHanssen"
|
||||||
|
|
Loading…
Reference in a new issue