Pharmacolyzer

Revision as of 09:15, 8 August 2018 by Farmakorakel (talk | contribs) (Examples of use)

Pharmacolyzer - Personalizing the PGx recommendations

In order to get personalized medication recommendations for a patient that has been sequenced, the Pharmacolyzer does multiple queries to the Pharmacoracle.

The starting point is a representation of the patient VCF in Manchester syntax provided by the Pharmacotyper.

We have coined the verb to pharmacolyze for the action of the Pharmacolyzer

Examples of use

We have downloaded a VCF with samples from the 1000 genomes project. Four samples from the VCF was then pharmacotyped and stored in a JSON file called merged_patient.json. Pharmacolysis can be performed for the following drugs and patient samples:

Drugs Samples
azathioprine
clopidogrel
NA19461
NA19068
NA20754
NA21137

using the following pattern

curl https://www.pgx.no/api/pharmacolyzer -d "patient_name=merged_patient&drugs=azathioprine&samples=NA19461"

For pretty printing, the following can be used:

curl https://www.pgx.no/api/pharmacolyzer -d "patient_name=merged_patient&drugs=azathioprine&samples=NA19461"  | python -m json.tool