-
Notifications
You must be signed in to change notification settings - Fork 12
Setup
conda env create -f environment.yml && conda activate epinformer_repro
mkdir -p log_cpu log_gpuKey dependencies: torch, h5py, pyfaidx, kipoiseq, pyranges, macs2, hicstraw,
pyBigWig, scipy, scikit-learn, pandas.
bash scripts/download_abc_reference.sh data/reference/hg38-
Genome — supply
hg38.faatdata/reference/hg38/hg38.fa(not downloaded by any script). -
Gene annotation — stage
XpressoGeneBounds.hg38.bedatdata/reference/hg38/XpressoGeneBounds.hg38.bed. -
Expression labels + Xpresso features + 12-fold CV split — Zenodo 13232430
(
expression_data.zip), unzip intodata/:GM12878_K562_18377_gene_expr_fromXpresso.csvGM12878_K562_18377_gene_expr_fromXpresso_with_sequence_strand.csvleave_chrom_out_crossvalidation_split_18377genes.csv
The ABC downloader supplies chromosome sizes and the K562 quantile-normalization reference. Before submitting a long job, verify every configured path:
test -f data/reference/hg38/hg38.fa
test -f data/reference/hg38/XpressoGeneBounds.hg38.bed
test -f data/reference/hg38/GRCh38_EBV.chrom.sizes.tsv
test -f data/reference/hg38/EnhancersQNormRef.K562.txt
test -f data/GM12878_K562_18377_gene_expr_fromXpresso.csv
test -f data/GM12878_K562_18377_gene_expr_fromXpresso_with_sequence_strand.csv
test -f data/leave_chrom_out_crossvalidation_split_18377genes.csvIf your inputs use different names, update config/config.yaml explicitly.
On the HPC, start Jupyter from the repository root and select the project environment:
python -m ipykernel install --user --name ep_env --display-name 'EPInformer (ep_env)'
jupyter labActivating conda inside a %%bash cell does not change the notebook's Python kernel.
Use login nodes only for downloads, dry runs, and job submission. The ABC/HDF5 pipeline requests
12 CPUs, 128 GB RAM, and up to 48 hours; submit it with slurm/run_pipeline_cpu.slurm. Use the GPU
array scripts for full 12-fold training.
See Datasets and Accessions for the full ENCODE list.
Download pretrained checkpoints from
JiecongLin/EPInformer-pipeline.
It contains 12-fold enhancer encoders and validated RNA gene-expression checkpoints for all six
supported cell lines, plus CAGE checkpoints for K562 and GM12878. f1, f2, and f3 feature
configurations are organized under expression_models/{cell}/{RNA,CAGE}/{f1,f2,f3}/.
from huggingface_hub import hf_hub_download
ckpt = hf_hub_download("JiecongLin/EPInformer-pipeline", "enhancer_encoders/K562/fold_8.pt")