HybriTE is a graph neural network for mRNA translation efficiency (TE) prediction. It represents each transcript with region-aware graph nodes that combine sequence-derived features, RNA secondary-structure priors from RNAplfold, and biochemical annotations. This repository contains the HybriTE code used for data preparation, graph construction, HybriTE training, LightGBM baseline training, cross-species evaluation, interpretability, and figure generation.
- Python 3.10
- ViennaRNA (
RNAplfoldonPATH)
conda env create -f environment.yaml
conda activate hybrite
pip install -e .Download the prepared dataset files from this Google Drive folder:
https://drive.google.com/drive/folders/1h4gT797xGT1nZgT0iuO-dTuFukhOvsNT?usp=sharing
Place the downloaded files at the paths expected by the configs:
data/raw/human/translation_efficiency_with_biochemistry.csvdata/raw/mouse/translation_efficiency_raw.csvdata/derived/mouse/translation_efficiency_with_biochemistry.csv(if using the transferred mouse table directly)
If you want to rebuild the mouse transferred table yourself, also provide:
data/raw/orthology/mart_export.txt
hybrite/— core model and utilitiesscripts/— runnable paper scriptsconfigs/— paper configs only
scripts/transfer_orthology.py— transfer human biochemical features to mouse through one-to-one orthologyscripts/precompute_structure.py— run RNAplfold and save structure cachesscripts/build_graphs.py— build HybriTE transcript graphs from input tablesscripts/prepare.py— create CV folds and fold-specific biochemical feature manifests
scripts/train.py— train the HybriTE graph modelscripts/train_baseline.py— train the LightGBM biochemical-only baseline
scripts/cross_species.py— evaluate a HybriTE checkpoint across speciesscripts/cross_species_baseline.py— evaluate a LightGBM baseline across species
scripts/compare_runs.py— compare two matched run directories fold by foldscripts/generate_interpretability_artifacts.py— generate human interpretability outputsscripts/generate_all_figures.py— generate all main paper figures
scripts/plots/plot_figure_performance_analysis.py— main benchmark, ablation, and transfer figurescripts/plots/plot_figure_interpretability_analysis.py— interpretability figurescripts/plots/plot_figure_per_target_performance.py— per-source performance figurescripts/plots/plot_figure_target_correlation.py— prediction-similarity figure
configs/main/human.yaml— full human HybriTE modelconfigs/main/human_nobio.yaml— human-Bioablationconfigs/main/human_nostruct.yaml— human-Structablationconfigs/main/mouse.yaml— full mouse HybriTE modelconfigs/main/mouse_nobio.yaml— mouse-Bioablationconfigs/main/mouse_nostruct.yaml— mouse-Structablationconfigs/baselines/human_lightgbm.yaml— human LightGBM baselineconfigs/baselines/mouse_lightgbm.yaml— mouse LightGBM baseline
configs/controls/human_bins_coarse.yamlconfigs/controls/human_bins_fine.yamlconfigs/controls/human_threshold_1e_2.yamlconfigs/controls/human_threshold_1e_1.yamlconfigs/controls/human_hp_layers_2_hidden_64.yamlconfigs/controls/human_hp_layers_2_hidden_128.yamlconfigs/controls/human_hp_layers_2_hidden_256.yamlconfigs/controls/human_hp_layers_3_hidden_64.yamlconfigs/controls/human_hp_layers_3_hidden_128.yamlconfigs/controls/human_hp_layers_3_hidden_256.yaml