Skip to content

Commit

Permalink
add flags to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Dec 7, 2023
1 parent a9776db commit 2d14a3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bin/consequence_prediction/run_repeat_expansion_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
'--clinvar-xml', required=True,
help='ClinVar XML dump file (ClinVarFullRelease_00-latest.xml.gz)'
)
parser.add_argument(
'--include-transcripts', required=False, action='store_true',
help='Whether to include transcript IDs along with consequence terms'
)
parser.add_argument(
'--output-consequences', required=True,
help='File to output functional consequences to. Format is compatible with the main VEP mapping pipeline.'
Expand All @@ -18,4 +22,4 @@
help='File to output full dataframe for subsequent analysis and debugging.'
)
args = parser.parse_args()
pipeline.main(args.clinvar_xml, args.output_consequences, args.output_dataframe)
pipeline.main(args.clinvar_xml, args.include_transcripts, args.output_consequences, args.output_dataframe)
6 changes: 5 additions & 1 deletion bin/consequence_prediction/run_structural_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@
'--clinvar-xml', required=True,
help='ClinVar XML dump file (ClinVarFullRelease_00-latest.xml.gz)'
)
parser.add_argument(
'--include-transcripts', required=False, action='store_true',
help='Whether to include transcript IDs along with consequence terms'
)
parser.add_argument(
'--output-consequences', required=True,
help='File to output functional consequences to. Format is compatible with the main VEP mapping pipeline.'
)

args = parser.parse_args()
pipeline.main(args.clinvar_xml, args.output_consequences)
pipeline.main(args.clinvar_xml, args.include_transcripts, args.output_consequences)

0 comments on commit 2d14a3e

Please sign in to comment.