Badges
(Customize these badges with your own links, and check https://shields.io/ or https://badgen.net/ to see which other badges are available.)
| fair-software.eu recommendations | |
|---|---|
| (1/5) code repository | |
| (2/5) license | |
| (3/5) community registry | |
| (4/5) citation | |
| (5/5) checklist | |
| howfairis | |
| Other best practices | |
| Documentation | |
| Build |
Data
You can download the data, including training_and_test_data, precalculated_data_for_trialblazer_model and precomputed_data_for_reproduction_with_notebooks, from: https://doi.org/10.5281/zenodo.17311675
To download the data automatically, see below the description of the Command Line Interface.
Reproduce experiments
To reproduce the experiments in the paper, you can check the notebooks here: https://github.com/molinfo-vienna/trialblazer_notebooks
How to use Trialblazer
A Chemistry-Focused Predictor of Toxicity Risks in Late-Stage Drug Development
Via Command Line
Several commands are made available:
Downloading the model
# Default model and default folder ($HOME/.trialblazer/models/base_model)
trialblazer-download
# Use other URL/folder
trialblazer-download --url=<MODEL-URL> --model-folder=<FOLDER>
Running the algorithm
The input data should be a CSV file with headers and a column named "SMILES". If present, the column "your_id" will also be used for the output.
The command trialblazer --help outputs:
Options:
--input_file TEXT Input File [required]
--output_file TEXT Output File
--model_folder TEXT Model Folder
--help Show this message and exit.
The default output file is names trialblazer.csv.
As a Python library
The library containers 2 main classes:
Trialblazer
This class loads and runs the model.
from trialblazer import Trialblazer
tb = Trialblazer(input_file=<INPUT_FILE>)
tb.run() # Includes loading of the model, creation of the classifier, and running the algorithm
df = tb.get_dataframe() # This dataframe is augmented with RDKit Mol objects, and displaying it shows the visual representation of each molecule.
tb.write(output_file=<OUTPUT_FILE>)
Trialtrainer
This class is meant to preprocess training data to recreate a model from a single CSV file (training_target_features.csv). It downloads the Chembl database, extracts relevant info, preprocesses data for active and inactive targets, and creates fingerprints files for the 3 sets of molecules (training, active, inactive).
Simply put your training_target_features.csv in your MODEL_FOLDER and run:
from trialblazer import Trialtrainer
tt = Trialtrainer(model_folder=<MODEL_FOLDER>)
tt.build_model_data()
Then you can run the algorithm using:
from trialblazer import Trialblazer
tb = Trialblazer(input_file=<INPUT_FILE>, model_folder=<MODEL_FOLDER>)
tb.run() # Includes loading of the model, creation of the classifier, and running the algorithm
Installation
To install via PyPI, simply run:
pip install trialblazer
To install trialblazer from GitHub repository through SSH, do:
git clone git@github.com:molinfo-vienna/trialblazer.git
cd trialblazer
python -m pip install .
or through HTTPS:
git clone https://github.com/molinfo-vienna/trialblazer_notebooks.git
cd trialblazer
python -m pip install .
Credits
This package was created with Copier and the NLeSC/python-template.
Citation
Zhang, H., Welsch, M., Schueller, W., & Kirchmair, J. (2025). Trialblazer: A Chemistry-Focused Predictor of Toxicity Risks in Late-Stage Drug Development [Data set]. Zenodo. https://doi.org/10.5281/zenodo.17311675
Metadata
Release files for trialblazer 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trialblazer-0.2.0.tar.gz | 82.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trialblazer-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 155.2 kB
Release files / trialblazer-0.2.0.tar.gz
| Download URL | trialblazer-0.2.0.tar.gz |
|---|---|
| Size | 82.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68d9e521bd1e326de267fae33cfd12adf3624e60c225cca62b04d97d5c614f7a
|
|
BLAKE2b-256 checksum How to use checksums |
8389f5ad89b871905fd3cf7777aae038702972ff9f61080e217ccc852982f3b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2025.
Transparency logRelease files / trialblazer-0.2.0-py3-none-any.whl
| Download URL | trialblazer-0.2.0-py3-none-any.whl |
|---|---|
| Size | 73.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fd76d1468deda12d87003232b53707574f560f6b967a6362797c284c7a7cbfb
|
|
BLAKE2b-256 checksum How to use checksums |
88eed203599a63816eb3512bd649589dbb9e5537d4fcefe003171db29d960a31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 13, 2025.
Transparency log