monarch-initiative / genophenocorr

Genotype Phenotype Correlation
https://monarch-initiative.github.io/genophenocorr/stable
MIT License
4 stars 1 forks source link

"toString" for Variant #109

Open pnrobinson opened 7 months ago

pnrobinson commented 7 months ago

It would be nice to be able to do

 print(f"[WARNING] Could not find annotation of variant {v} for {reference_tx_id}")

instead of (as now)

print(f"[WARNING] Could not find annotation of variant {v.variant_coordinates.variant_key} for {reference_tx_id}")

to get

[WARNING] Could not find annotation of variant 12_112473023_112473023_A_G for NM_002834.5
ielis commented 6 months ago

I think we still need to work out the exact details of what functionality should the Variant API provide. Let's keep this issue around.

More context regarding the Variant API is available in #110 .