A modern data infrastructure for AI research in computational toxicology.
ComptoxAI is a collection of resources made to enable a diverse range of artificial intelligence applications for computational toxicology data. This repository contains all of the code that comprises the overall ComptoxAI project, including code related to the database, website, REST API, graph machine learning toolkit, and other miscellaneous utilities.
ComptoxAI is maintained by the Romano Lab at the University of Pennsylvania in the Institute for Biomedical Informatics and the Center of Excellence in Environmental Toxicology.
How you install ComptoxAI depends on whether you want to analyze the knowledge graph or if you want to build the knowledge graph from scratch:
I want to analyze ComptoxAI's knowledge graph:
This should be relatively simple. You might need to install a different version of Python (we currently perform testing on v3.8), but otherwise the following should suffice:
$ git clone https://github.com/RomanoLab/comptox_ai
$ cd comptox_ai
$ pip install .
I want to build a copy of the knowledge graph myself:
This is a bit more complex. The short version of what to do goes as follows:
- Install
conda
ormamba
- Clone this repository and install the
conda
environment specified inenvironment.yml
, e.g.:
$ git clone https://github.com/RomanoLab/comptox_ai
$ cd comptox_ai
$ mamba env create -n comptox_ai --file environment.yml -c conda-forge
$ mamba activate comptox_ai
- Download all of the necessary data/knowledge sources
- Run
ista
to build the knowledge graph from the sources - Install the knowledge graph into Neo4j
- Check to make sure everything works as intended
We'll create more detailed instructions at some point in the near future. In the meantime, you can file an Issue or contact us by email with any questions or bugs.
K99-LM013646
(PI: Joseph D. Romano)P30-ES013508
(PI: Trevor M. Penning)R01-AG066833
(PIs: Jason H. Moore, Marylyn D. Ritchie, Li Shen)
We welcome collaborations and contributions from third-party developers. Please refer to CONTRIBUTING.md for further information.
ComptoxAI is offered under a dual-license model, including an open-source option via the GNU GPLv3. See LICENSE for details.