Skip to main content
Cherimoya Activity
License: Cherimoya uses MIT for code and CC-BY-4.0 for model weights and may require explicit attribution when utilized. Please refer to the code license and model weights license for full terms.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


Go to Tool Page
ProtoProtoevo-design/proto-language
View source
@miscramirez2026cherimoya@articleencode2020expanded
Copy citation
Constraint contributors
Score DNA proposals by Cherimoya-predicted read counts.

API Reference

ConfigCherimoyaActivityConfig Source
Configuration for the Cherimoya accessibility/binding activity constraint.
enum
default:"catv1"
Model collection: ‘catv1’ (DNase/ATAC accessibility) or ‘batv1’ (ChIP-seq).Options: catv1, batv1
List[string]
default:"['ENCSR000EOT']"
ENCODE experiment accessions to score; per-model energies are averaged.
List[integer]
default:"[0]"
Cross-validation folds averaged for each model.
enum
default:"log_counts"
ln(reads + 1) over the output window, or inside the target span.Options: log_counts, log_target_counts
integer
Target span start relative to the segment; None is its start.
integer
Target span end relative to the segment; None is its end.
string
default:""
Fixed DNA before the segment; contexts plus segment must total 2,114 bp.
string
default:""
Fixed DNA after the segment; contexts plus segment must total 2,114 bp.
enum
default:"max"
Whether to maximize (‘max’) or minimize (‘min’) the predicted signal.Options: max, min
number
default:"4.5"
ln(reads + 1) at energy 0.5; 4.5 is ENCSR000EOT’s 1 kb median, too high for short spans
number
default:"1.0"
Positive width of the sigmoid in ln(reads + 1) units; larger is gentler.
boolean
default:"False"
Average forward and reverse-complement predictions (twice the compute).
number
default:"1.0"
Fallback softmax temperature for direct gradient calls; optimizer schedules take precedence.
string
default:"cuda"
Device used for Cherimoya inference.
integer
default:"64"
Sequences per Cherimoya forward or gradient call.
ReturnsConstraintOutput
One result per proposal. score is the mean per-model sigmoid energy in [0.0, 1.0] (lower is better in the requested direction); metadata carries each model’s raw ln(reads + 1).

Usage

python

Metadata