MCPcopy Index your code
hub / github.com/PharmGKB/PharmCAT

github.com/PharmGKB/PharmCAT @v3.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.2.0 ↗ · + Follow
2,171 symbols 10,369 edges 217 files 655 documented · 30%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

PharmCAT

PharmCAT CI Preprocessor CI codecov.io

PharmCAT (Pharmacogenomics Clinical Annotation Tool) is a bioinformatics tool that analyzes genetic variants to predict drug response and tailor medical treatment to an individual patient’s genetic profile. It does this in two phases:

  1. Processes VCF files from next generation sequencing (NGS) or genotyping methods and identifies pharmacogenomic (PGx) genotypes and infers haplotypes, typically called star alleles.
  2. Uses the pharmacogene diplotypes (combination of maternal and paternal star alleles) to predict PGx phenotypes and reports the corresponding drug-prescribing recommendations from CPIC guidelines, ClinPGx-annotated DPWG guidelines and ClinPGx-annotated FDA-approved drug labels.

For more information:

Status

PharmCAT is available for general use, but it is still under active development. New features, data updates, and bug fixes will be released. Watch this repository or check the releases page for new releases.

All technical requirements and documentation are available on PharmCAT.org.

PharmCAT is managed at Stanford University & University of Pennsylvania (NHGRI U24HG013077).

Contact

For technical questions or bug reports, file an issue.

For general questions about the PharmCAT project, contact pharmcat@clinpgx.org.

Liability

:warning: PharmCAT assumes no responsibility for any injury to person or damage to persons or property arising out of, or related to any use of PharmCAT, or for any errors or omissions. The user recognizes they are using PharmCAT at their own risk.

Core symbols most depended-on inside this repo

get
called by 590
src/main/java/org/pharmgkb/pharmcat/definition/AssemblyMap.java
add
called by 325
src/main/java/org/pharmgkb/pharmcat/haplotype/model/GeneCall.java
contains
called by 280
src/main/java/org/pharmgkb/pharmcat/reporter/format/html/ReportHelpers.java
getName
called by 122
src/main/java/org/pharmgkb/pharmcat/haplotype/model/BaseMatch.java
getGeneCalls
called by 108
src/main/java/org/pharmgkb/pharmcat/haplotype/model/Result.java
getWarnings
called by 105
src/main/java/org/pharmgkb/pharmcat/haplotype/VcfReader.java
equals
called by 101
src/main/java/org/pharmgkb/pharmcat/subsetter/GeneData.java
getDiplotypes
called by 91
src/main/java/org/pharmgkb/pharmcat/haplotype/model/GeneCall.java

Shape

Method 1,828
Class 191
Function 143
Enum 9

Languages

Java93%
Python7%

Modules by API surface

src/test/java/org/pharmgkb/pharmcat/PipelineTest.java94 symbols
src/main/java/org/pharmgkb/pharmcat/reporter/format/html/ReportHelpers.java56 symbols
src/main/java/org/pharmgkb/pharmcat/reporter/model/result/Diplotype.java52 symbols
preprocessor/pcat/utilities.py51 symbols
src/test/java/org/pharmgkb/pharmcat/haplotype/NamedAlleleMatcherTest.java50 symbols
src/test/java/org/pharmgkb/pharmcat/DpydTest.java46 symbols
src/main/java/org/pharmgkb/pharmcat/reporter/model/result/GeneReport.java44 symbols
src/main/java/org/pharmgkb/pharmcat/definition/model/DefinitionFile.java41 symbols
src/test/java/org/pharmgkb/pharmcat/PipelineWrapper.java35 symbols
src/main/java/org/pharmgkb/pharmcat/haplotype/MatchData.java32 symbols
preprocessor/tests/test_utilities.py32 symbols
src/main/java/org/pharmgkb/pharmcat/definition/model/NamedAllele.java30 symbols

For agents

$ claude mcp add PharmCAT \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact