Skip to content

Commit

Permalink
Fix #432 annotate can fail with 'Failed to instantiate plugin GADO' (#…
Browse files Browse the repository at this point in the history
…434)

* Fix #432 annotate can fail with 'Failed to instantiate plugin GADO'

* fix
  • Loading branch information
dennishendriksen authored Jul 24, 2023
1 parent e952784 commit 816e78d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/vcf/templates/annotate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ gado_prioritize() {
args+=("--hpoPredictions" "!{gadoPredictMatrixPath}")

${CMD_GADO} java "${args[@]}"

# workaround for GADO sometimes not producing a all_samples.txt after successfull exit
# https://github.com/molgenis/systemsgenetics/issues/663
if [[ ! -f "./gado/all_samples.txt" ]]; then
echo -e "Ensg\tHgnc\tRank\tZscore\t$(sed "s/,/\t/g" <<< "!{gadoHpoIds}")" > "./gado/all_samples.txt"
fi
}

capice() {
Expand Down

0 comments on commit 816e78d

Please sign in to comment.