Closed naqvia closed 1 year ago
Works as expected. The pre-processing step speeds up the tool significantly. I added a set -e
statement to the script so it exits and stops running if any of the commands fail instead of continue to go through the script.
Looks good to me. We would just need to update the readme on the main repo and we'd be in good shape! cc @jharenza
@naqvia @jharenza @rebkau I have made modifications to allow the wrapper script to work on custom workflows. @naqvia, can you please re-test this using the custom test files to ensure it runs and check output files? I've included the usage in the PR text. @rebkau -- I know it will take some time to process the PBTA files with the custom workflow, but the wrapper script is ready to test when the input files are generated.
Purpose/implementation Section
Create a wrapper script that will run all the scripts for the AutoGVP tool, including filter step, AutoGVP calling, and final table generation.
What feature is being added or bug is being addressed?
https://github.com/diskin-lab-chop/AutoGVP/issues/82
What was your approach?
A shell script that takes the necc input parameters to run the entire tool. The script calls each script separately in sequential order and prints out desired final tables.
What GitHub issue does your pull request address?
https://github.com/diskin-lab-chop/AutoGVP/issues/82
Directions for reviewers. Tell potential reviewers what kind of feedback you are soliciting.
First run
select-clinVar-submissions.R
withinAutoGVP/
directory (required for AutoGVP wrapper script):Rscript select-clinVar-submissions.R --variant_summary input/variant_summary.txt.gz --submission_summary input/submission_summary.txt.gz
Then run AutoGVP wrapper script on test files using following parameters:
For CAVATICA:
For custom workflow:
Which areas should receive a particularly close look?
Review
run_autogvp.sh
and assess if script runs successfully. Inspect output filestest_pbta-autogvp-annotated-abridged.tsv
andtest_pbta-autogvp-annotated-full.tsv
.Is there anything that you want to discuss further?
We will need to test this on additional samples, especially those produced from custom workflows. The current custom test files do not run successfully, since there are some issues with the vcf header that cause filter and parse vcf scripts to fail.
Documentation Checklist