ExposoGraph¶
ExposoGraph is a Python toolkit for building, curating, and exporting carcinogen metabolism knowledge graphs using LLM-powered extraction and manual entry.
Part of the CarcinoGenomic Platform — a 5-layer computational pipeline for individualized carcinogen metabolism risk assessment from germline DNA.
Version: 0.0.4 Developed by: Data analysis team @ KaziLab Contact: exposograph@kazilab.se Copyright: KaziLab
The current release separates two control layers:
Graph mode for ingestion:
exploratoryorstrictGraph visibility for viewing and export:
all,validated_only, orexploratory_only
Note
This project is under active development.
Note
Parts of this documentation and code were created with assistance from ChatGPT Codex and Claude Code.
Getting Started
User Guide
API Reference
ExposoGraph.configExposoGraph.modelsExposoGraph.engineExposoGraph.graph_analysisExposoGraph.exporterparse_graph_data_text()parse_graph_data_js()parse_graph_html()parse_graph_artifact()to_graph_data_js()to_plotly_figure()to_plotly_html_string()to_plotly_html()to_interactive_html_string()bundle_to_html_string()to_interactive_html()ensure_viewer_bundle()export_viewer_bundle()to_json()to_gexf()
ExposoGraph.cytoscape_adapterViewerLayoutModeCytoscapeBundlenormalize_viewer_layout_mode()compute_viewer_positions()load_viewer_positions()load_cytoscape_bundle()write_viewer_positions()viewer_stylesheet()viewer_layout()build_cytoscape_elements()build_cytoscape_metadata()build_cytoscape_bundle()write_cytoscape_bundle()
ExposoGraph.viewer_dashExposoGraph.graph_filtersExposoGraph.groundingExposoGraph.llm_extractorExposoGraph.db_clientsExposoGraph.seederExposoGraph.example_graphsExposoGraph.reference_dataExposoGraph.storage
Project