broadinstitute / tgg_methods

Repo for miscellaneous methods developed by the methods group that don't fit anywhere else
MIT License
4 stars 0 forks source link

Update VRS Schema in vrs_annotation_batch.py #72

Closed matren395 closed 1 year ago

matren395 commented 1 year ago

Added code from vrs_schema_renaming_script_temp.py to update the schema, added code to make assembly/referece_genome not static , TODO: add better versioning for different GnomAD versions , further productionize it for use on v4 !

matren395 commented 1 year ago

07/10: Schema updated and runs without error and fills out VRS fields, plus added a global annotation. At Qin's request, moved it to gnomad_qc/gnomad_qc/v4/annotations as is (for testing on v4 exomes)

matren395 commented 1 year ago

Note: should I be defining VRS_VERSION inside the "if annotate_original" branch if that is the only place it is used, or should I define it more higher up in the script? also changed the hardcoded reference to v3.1.2 in annotate_original