Fix plugin path in command line output #1535
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, the VEP command-line in output is hiding all plugin parameters preceding a path delimiter (
/
or\
).For instance, if we run multiple plugins with a command like:
The output will be:
## VEP command-line: vep --cache [PATH]/ --input_file [PATH]/A530_small.vcf --offline --output_file [PATH]/vep-output.txt --plugin [PATH]/all_variant_disease_pmid_associations_final.tsv.gz
Change log
/
: for instance,homo_sapiens/tabixconverted/
will become[PATH]/tabixconverted/
Testing
The output should be similar to:
## VEP command-line: vep --dir_cache [PATH]/tabixconverted/ --fasta [PATH]/Homo_sapiens.GRCh38.dna.toplevel.fa.gz --force_overwrite --input_file [PATH]/A530_small.vcf --offline --output_file [PATH]/vep-output.txt --plugin dbNSFP,[PATH]/dbNSFP4.4a_grch38.gz,rs_dbSNP --plugin GO,[PATH]/GO_data_files/ --plugin DisGeNET,file=[PATH]/all_variant_disease_pmid_associations_final.tsv.gz