296
edits
Changes
→How to access the Pharmacolyzer through a REST API
Patient VCFs are sensitive data, and the VCF and [[Pharmacotyper]] data has to be stored on secure servers. It may also be sensible to run the pharmacolyzer in a facility for sensitive data, and only export the final ''pharmacolysis''. Access to the final PGx analysis could be given through a REST API, and we describe one approach in the section below.
===How Example of how access to access the Pharmacolyzer through a REST APIcould look like===
We have downloaded a VCF with samples from the [http://grch37.ensembl.org/Homo_sapiens/Tools/DataSlicer?db=core 1000 genomes project]. Four samples from the VCF was then [[Pharmacotyper|pharmacotyped]] and stored in a JSON file called ''merged_patient.json''. Pharmacolysis can be performed for the following drugs and patient samples:
{| class="wikitable"