broadinstitute / gatk-sv

A structural variation pipeline for short-read sequencing
BSD 3-Clause "New" or "Revised" License
162 stars 71 forks source link

Initial Python Version of Genotyping Script-Not Tested Yet #609

Closed shadizaheri closed 2 months ago

shadizaheri commented 9 months ago

Initial Python Version of Genotyping Script Description: This Pull Request was created in response to issue #403. This pull request introduces the initial Python version of our genotyping script. Previously, this logic was implemented in Bash, and this PR aims to transition that logic to a more maintainable and readable Python format.

Please note: I have not thoroughly checked or tested this script. This submission is intended to serve as a starting point for further refinement and optimization. Feedback, suggestions, and thorough reviews are highly encouraged to ensure the quality and functionality of the code.

Additional Note: I have divided the original Bash script into sections to facilitate the transition from the Bash script to Python. I've added the corresponding line numbers from the Bash script as comments within the Python script for reference and easier tracking. This should aid in understanding the structure and mapping the Python code back to its Bash counterpart.

Rooms to improve:

mwalker174 commented 2 months ago

Thank you @shadizaheri this was a lot of work. I'm going to close this since we have an optimized reimplementation in #614 that's in production now.