Skip to content

Fixes crash when performing variant annotation without filtering. - #9

Open
FreekManders wants to merge 1 commit into
UMCUGenetics:developfrom
FreekManders:develop
Open

Fixes crash when performing variant annotation without filtering.#9
FreekManders wants to merge 1 commit into
UMCUGenetics:developfrom
FreekManders:develop

Conversation

@FreekManders

Copy link
Copy Markdown

When variant annotation is performed without filtering the pipeline crashes. This crash is caused by the gatk_variantfiltration.out variable not being created when filtering is not performed.
I'm not familiar with nextflow so I just added an extra if statement around this variable to prevent the issue. This does make my fix rather ugly though. A check to see if the variable exists might be prettier.

…s crash is caused by the gatk_variantfiltration.out variable not being created when filtering is not performed.
@sawibo

sawibo commented Jun 4, 2021

Copy link
Copy Markdown
Member

Hi Freek, I do agree that this solves this particular issue for now. A similar error will still occur when you start the workflow from fastq/bam , do germlineCalling BUT skip variantFiltration. In general I have to find a way to work around checking on channel.out , since that doesn't seem to work the way I want it to.
Best,
Sander

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants