Skip to content

Integrations

External Database Integrations

Database Content Status Module
UniProt Protein function, structure, GO terms Integrated (ID mapping) pipeline/processors/uniprot_integrator.py
MONDO Disease ontology hierarchy Integrated (OBO ingestion) pipeline/processors/obo_structure_processor.py
DisGeNET Gene-disease associations with GDA scores Partial pipeline/processors/disgenet_integrator.py
Open Targets Drug targets, genetic associations Partial pipeline/processors/opentargets_integrator.py
STRING Protein-protein interactions (score-filtered) ✅ Integrated pipeline/processors/string_integrator.py
Human Protein Atlas Tissue expression, subcellular location ✅ Integrated pipeline/processors/hpa_integrator.py
Reactome Biological pathway membership & hierarchy ✅ Integrated pipeline/processors/reactome_integrator.py
ChEMBL Drug-target bioactivity data ✅ Integrated pipeline/processors/chembl_integrator.py
ClinVar Clinical variant classifications ✅ Integrated pipeline/processors/clinvar_integrator.py
OpenAlex Scholarly works, citations, open-access URLs ✅ Integrated pipeline/processors/openalex_integrator.py
FunCoup Functional coupling predictions Via PPI framework pipeline/ingest/multisource_ppi_pipeline.py
BioGRID Experimental PPIs Via PPI framework pipeline/ingest/multisource_ppi_pipeline.py

Science Skills Enrichment

A unified CLI orchestrates enrichment from 6 external bioinformatics databases via Google DeepMind Science Skills (subprocess invocation of skill CLI scripts):

uv run python -m pipeline.processors.science_skills_enricher \
    --database olink1 \
    --sources string,hpa,reactome,chembl,clinvar,openalex \
    --proteins TP53,BRCA1,EGFR \
    --batch-size 50 \
    --rate-limit 1.0
Source Data Nodes Created Relationships Created
STRING Protein interactions INTERACTS_WITH
HPA Tissue expression Tissue EXPRESSED_IN
Reactome Pathway membership Pathway PARTICIPATES_IN, CHILD_OF
ChEMBL Drug-target bioactivity Drug TARGETS
ClinVar Clinical variants Variant HAS_VARIANT, ASSOCIATED_WITH
OpenAlex Scholarly literature Publication CITES

All integrators support --dry-run, configurable batch sizes, rate limiting, failure thresholds (aborts at >50% failures), and provenance tracking (source, ingested_at, updated_at on every node/relationship).

Note: STRING is accessible via both the CSV-based PPI Framework (for bulk file imports) and the Science Skills CLI (for live API queries). Use the PPI Framework for pre-downloaded datasets; use the Science Skills enricher for on-demand API enrichment.

For architecture details, see the Data Model. For implementation specs, see .kiro/specs/science-skills-integration/.

PubPeer Integration

Post-publication peer review comments linked to Abstract nodes:

  • Async API client with rate limiting and retry logic
  • PubPeerComment nodes with HAS_PUBPEER_COMMENT relationships
  • Privacy-aware handling of anonymous comments
  • Requires API key from contact@pubpeer.com
integrator = PubPeerIntegrator(db=db, api_key="your_key")
summary = await integrator.enrich_abstracts_with_comments(pmids=["12345678"])

See PubPeer Integration.

Retraction Watch Integration

Flags retracted papers and affected relationships:

  • RetractionNotice nodes with HAS_RETRACTION relationships
  • Tracks retraction nature: Retraction, Expression of Concern, Correction
  • Flags affected relationships with is_from_retracted_paper
  • Integrates with evidence weighting (retracted = 0.0 weight)
integrator = RetractionWatchIntegrator(db=db, api_key="your_key")
summary = await integrator.enrich_abstracts_with_retractions()
flagged = integrator.flag_affected_relationships()

See Retraction Watch Integration.

bioRxiv / medRxiv Preprints

Full preprint lifecycle management:

  • Unified API for both bioRxiv and medRxiv
  • Version tracking (all versions stored with timestamps)
  • Publication linking (automatic PMID/DOI linking when published)
  • Source type weighting (preprints weighted lower in evidence scoring)

See Preprint Integration.

MCP (Model Context Protocol)

Exposes KG tools to AI assistants via FastMCP:

  • 16 read-only tools (biomarkers, pathways, interactions, evidence, etc.)
  • Zero-overhead wrapper pattern (<0.001ms vs direct call)
  • Automatic JSON schema generation from type annotations
  • Works with Claude, VS Code, Kiro, Cursor

See MCP Integration Research and KG Tools Guide.

Olink-specific enrichment for proteomics panel data:

  • Panel definitions with protein targets
  • NPX (Normalised Protein eXpression) datasets
  • Assay validation data (CVs, specificity)
  • Cross-panel analysis

Processed via enrichment_main.py with Olink-specific column handlers.

Future Integrations

Planned but not yet implemented:

Integration Priority Description
AlphaFold Medium 3D protein structure features
IntAct Medium Experimentally validated PPIs
KEGG Medium Metabolic/signalling pathways (licensing)
ENCODE/JASPAR Low TF binding data
X/Twitter Low Social media trend detection

See Expansion Areas for the full roadmap.