2022-11-23 NOV

Hackaton - FAIR Apping 1/3

From a calculator to a PRS risk calculator

  1. Make sure you have r/w permissions to https://github.com/episphere/app.

  2. Add your own folder (i.e. with your name).

  3. Check that you can see it at https://episphere.github.io/app/ <yourName>.

  4. Dev a calculator (classic :-) ).

  5. Dev a PRS risk calculator.

PRS Risk Calculator

https://episphere.github.io/pgs/ <- to load score entries on pgs catalog

await pgs.loadScore(4)

23andme example file: https://my.pgp-hms.org/user_file/download/3973

Notes

Daniel CSS cheatsheet: https://www.w3schools.com/csSref/css_selectors.php

InnerHTML is poisonous because it reparses the whole HTML definition, better use inserAdjacentHTML

See Praful's Blog: https://prafulb.github.io/blog/insertAdjacentHTML

Cool blog/cv template for gh pages: https://github.com/RyanFitzgerald/devfolio

...