Instructions to use YAOJ-bioin/peagent with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use YAOJ-bioin/peagent with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://YAOJ-bioin/peagent") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from YAOJ-bioin/peagent: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/YAOJ-bioin/peagent/resolve/main/README.md
- Command line
-
hf download hf://YAOJ-bioin/peagent/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/YAOJ-bioin/peagent/resolve/main/README.md
2.1 kB
metadata
license: other
license_name: peagent-prepublication
tags:
- biology
- genomics
- plant-genomics
- single-cell
- chromatin-accessibility
- keras
extra_gated_prompt: >-
PEAgent models are shared before publication for review and collaboration.
Please do not redistribute the weights or use them in a publication without
contacting the authors.
extra_gated_fields:
Name: text
Affiliation: text
Intended use: text
PEAgent atlas models (maize, rice, soybean)
Sequence-to-single-cell chromatin-accessibility models from Yao J. et al., "Sequence-based
modeling of plant epigenomes reveals cell-type-specific cis-regulatory grammar" (under review).
Each model reads 1,344 bp of DNA and predicts accessibility in every nucleus of a single-cell
ATAC atlas; predictions are averaged into tissue_celltype groups.
| Species | Assembly | Nuclei | Groups | ACRs |
|---|---|---|---|---|
| Maize (Zea mays) | B73 NAM-5.0 | 50,639 | 94 | 158,586 |
| Rice (Oryza sativa) | Nipponbare MSU7 | 104,029 | 128 | 128,764 |
| Soybean (Glycine max) | Wm82.a4.v1 | 200,732 | 98 | 303,113 |
Files
| Path | Content |
|---|---|
models/<species>/model.h5 |
Keras weights only (no architecture). Rebuild with peagent_tool before loading. |
metadata/<species>_group_metadata.csv |
tissue_celltype groups and the nucleus indices in each. |
acr/<species>_acr_peaks.bed |
Training ACR set, 0-based BED. Model window = 1,344 bp centred on (start+end)//2. |
backgrounds/<species>_synergy_backgrounds.fa |
The paper's 100 GC-matched non-accessible genomic windows used for motif-synergy tests. |
paper/Table_S1..S6_*.tsv, paper/lexicon_celltypes.tsv |
The paper's supplementary result tables, queryable by the agent. |
MD5SUMS |
Checksums. |
Use
These files are downloaded automatically by peagent-agent
(the PEAgent agent plugin and the peagent_tool Python library) once access is granted:
export HF_TOKEN=hf_xxx # a read token of an approved account
Interactive portal: https://peagent.org