PharmGKB / PharmCAT

The Pharmacogenomic Clinical Annotation Tool
Mozilla Public License 2.0
120 stars 39 forks source link

Phenotyper json #122

Closed krukanna closed 1 year ago

krukanna commented 1 year ago

bug

Now it looks like:

    "relatedDrugs": [] 

instead of:

    "relatedDrugs": [
      {
        "name": "allopurinol",
        "id": "PA448320"
      }
    ]

java -jar pharmcat-2.1.2-all.jar -vcf sample.vcf -bf sample -o $KOHORT_DIR/Pharmcat_output/

whaleyr commented 1 year ago

This is expected behavior.

By default, PharmCAT runs the NamedAlleleMatcher, then the Phenotyper, then the Reporter. The drug information is not added until the Reporter step. If you only run PharmCAT up do the Phenotyper step then you'll missing loading information about drugs and their associated genes.