dgomezpere / msm_tfm

Development of an application to visualize, annotate and prioritize somatic variants in cancer
0 stars 0 forks source link

[vcf_pipeline%scripts] Create a function in `vt_report_parser.py` to import as module in pipeline rules #33

Closed dgomezpere closed 2 years ago

dgomezpere commented 2 years ago

In the main of the function:

https://github.com/dgomezpere/msm_tfm/blob/2a19529cfaf2f042c3f34cd00a15a88e067ffd42/vcf_annotation_pipeline/scripts/vt_report_parser.py#L282-L294

Define a the function vt_report_parser(input_filepath, output_filepath) encapsulating the following logic:

https://github.com/dgomezpere/msm_tfm/blob/2a19529cfaf2f042c3f34cd00a15a88e067ffd42/vcf_annotation_pipeline/scripts/vt_report_parser.py#L291-L294