Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
Note.
cas9/model/
and
cas9/logic/
are a
fork
of the repo-root
packages, not duplicates: the Cas9 stack keeps the reparameterized Edit Flow
models inside
base_models.py
, whereas the root splits them into
reparam_models.py
. The two are not interchangeable, so the Cas9 task
imports its own copies (
from cas9.model...
).
HuggingFace model downloads happen on first use (
facebook/esm2_t33_650M_UR50D
,
aaronfeller/PeptideCLM-23M-all
, ChemBERTa).
PeptiVerse (required for peptidomimetic pCoMole)
Peptidomimetic property oracles use the latest
PeptiVerse
SMILES predictors. Clone it
next to
this repo, or set
PEPTIVERSE_ROOT
:
# recommended: sibling of pCoMolecd ..
git clone https://huggingface.co/ChatterjeeLab/PeptiVerse
cd PeptiVerse
pip install -r requirements.txt
# follow PeptiVerse README to download model weights
pCoMole looks for PeptiVerse in this order:
$PEPTIVERSE_ROOT
../PeptiVerse
relative to this repository
PeptiVerse scores the peptide-like side of each candidate. Admetica + DeepDTAGen still score the small-molecule side, and the original peptide-likeness mix logic is unchanged.
MAFFT (required for GFP pCoMole)
GFP excitation, brightness, and emission oracles run through FPredX and need
MAFFT
on your
PATH
.
# conda
conda install -c bioconda mafft
# or point to a local binaryexport MAFFT_PATH=/path/to/mafft
Confirm with
mafft --version
before running GFP editing.
HMMER and protein2pam (required for Cas9 pCoMole)
The Cas9 domain-completeness and PAM-masking oracles shell out to
hmmscan
:
conda install -c bioconda hmmer
The PAM objective needs the
protein2pam
model class (weights download from the
Hub as
Profluent-Bio/protein2pam-cas9_full
):
pip install protein2pam==0.2.0
2. Train, evaluate, and sample Edit Flows
Run every command from the
repository root
.
SELFIES peptidomimetic Edit Flow
Training data is shipped at
data/selfies/28k_mimetics
.
Or:
bash peptidomimetics/scripts/train.sh
and
bash peptidomimetics/scripts/generate.sh
.
GFP protein Edit Flow
A trained GFP checkpoint is shipped at
gfp/ckpt/last_2.ckpt
. The original GFP training arrows are
not
included. To retrain, put a HuggingFace
load_from_disk
dataset under
data/gfp/{train,validation}
(or edit
configs/config_gfp.yaml
).
If the output filename contains
length_excitation_brightness
,
length_brightness
,
length_excitation
, or
length
, the matching objective subset is used. Any other name uses all three objectives.
Peptidomimetics
Official editor:
peptidomimetics/pcomole.py
.
Objectives (7 scores when
--specificity
is on):
non-toxicity
solubility
permeability
half-life
affinity
motif
specificity
PeptiVerse provides the peptide-side scores. Admetica + DeepDTAGen provide the small-molecule side. The two are mixed by peptide-likeness, same as the paper code. Motif / specificity still use the shipped BindEvaluator checkpoint.
# after PeptiVerse is cloned and its weights are downloaded
bash peptidomimetics/scripts/pcomole.sh
--target
and
--motifs
are required for affinity and motif oracles.
--specificity
adds the seventh objective.
Cas9
Official editor:
cas9/pcomole.py
. Three objectives — Cas9-likeness, deletion
count, and PAM matching — under Cas9-score, PAM-matching and length constraints.
Cas9 code is a package, so run it from the repository root with
-m
:
Ten ortholog seeds ship in
cas9/data/orthologs.fasta
(SpCas9, SaCas9, CjCas9,
St1/St3Cas9, GeoCas9, NmCas9, iSpyMac, SpCas9++, SpRYc). Set
ORTHOLOG
to any
of them.
--target_pam matching
optimizes toward the seed's own PAM; pass an
explicit 10-nt
ACGTN
string to retarget.
4. Included checkpoints
Path
Role
gfp/ckpt/last_2.ckpt
GFP Edit Flow
gfp/classifier_ckpt/best.pt
GFP hard constraint
gfp/FPredX/{ex,bright,em}_model
FPredX property models
peptidomimetics/ckpt/SELFIES_EditFlows.ckpt
peptidomimetic Edit Flow
peptidomimetics/ckpt/SMILES_BindEvaluator.ckpt
motif / specificity
peptidomimetics/ckpt/admetica/*.ckpt
Admetica blending oracles
peptidomimetics/ckpt/deepdtagen/
DeepDTAGen affinity
cas9/ckpt/last.ckpt
Cas9 Edit Flow
cas9/classifier_ckpt/
Cas9-likeness classifier (objective + hard constraint)
cas9/hmm/
HNH / RuvC and PAM-interacting HMM databases
Together these are about 10 GB. HuggingFace uploads should use Git LFS for the
.ckpt
/
.pt
/
.pth
files.
Run scripts from the repo root, or use the wrappers under
*/scripts/
.
GFP FPredX will fail immediately if
mafft
is missing; that is expected.
Peptidomimetic pCoMole will fail at oracle init if PeptiVerse is missing or its weights were not downloaded.
Cas9 objectives fail at init if
hmmscan
,
protein2pam
, or
cas_predictor
are missing.
Training writes to
outputs/
by default.
Citation
If you use this code, please cite the pCoMole paper and
PeptiVerse
.
Runs of ChatterjeeLab pCoMole on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About pCoMole huggingface.co Model
pCoMole huggingface.co
pCoMole huggingface.co is an AI model on huggingface.co that provides pCoMole's model effect (), which can be used instantly with this ChatterjeeLab pCoMole model. huggingface.co supports a free trial of the pCoMole model, and also provides paid use of the pCoMole. Support call pCoMole model through api, including Node.js, Python, http.
pCoMole huggingface.co is an online trial and call api platform, which integrates pCoMole's modeling effects, including api services, and provides a free online trial of pCoMole, you can try pCoMole online for free by clicking the link below.
ChatterjeeLab pCoMole online free url in huggingface.co:
pCoMole is an open source model from GitHub that offers a free installation service, and any user can find pCoMole on GitHub to install. At the same time, huggingface.co provides the effect of pCoMole install, users can directly use pCoMole installed effect in huggingface.co for debugging and trial. It also supports api for free installation.