Skip to main content
Splice-site score (SpliceAI / SpliceAI2 / Pangolin)
License: This constraint can use multiple tools, each under its own license. See the Tools Used tab and each tool’s page for license details.

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.


RNA Splicing · 3 tools
Go to Category
ProtoProtoevo-design/proto-language
View source
Constraint contributors
Score requested donor/acceptor positions with the selected splice predictor.
Each site’s probability p (peak within peak_search_radius) becomes a penalty 1 - p (direction="max") or p (direction="min"); penalties are combined by reduction. Scores lie in [0, 1], lower is better.

API Reference

ConfigSpliceSiteConfig Source
Configuration for the multi-tool splice-site constraint.
enum
default:"spliceai"
Splice-site predictor: ‘spliceai’, ‘spliceai2’, or ‘pangolin’Options: spliceai, spliceai2, pangolin
List[integer]
0-indexed donor position(s) in the concatenated target; negatives count from its end
List[integer]
0-indexed acceptor position(s) in the concatenated target; negatives count from its end
enum
default:"max"
‘max’ rewards splice sites at the positions; ‘min’ penalizes themOptions: max, min
enum
default:"mean"
Combine per-site penalties: ‘mean’ over all sites or ‘worst’ (largest penalty)Options: mean, worst
integer
default:"0"
Max probability within +/- this many positions of each site; 0 = exact index
string
default:""
Genomic DNA 5’ of the target; supply real flanks for spliceai2
string
default:""
Genomic DNA 3’ of the target; supply real flanks for spliceai2
SpliceAIPredictConfig
SpliceAI prediction config (used when splice_tool=‘spliceai’)
SpliceAI2PredictConfig
SpliceAI2 prediction config (used when splice_tool=‘spliceai2’)
PangolinPredictConfig
Pangolin prediction config (used when splice_tool=‘pangolin’)
ReturnsConstraintOutput
One result per input. metadata carries the tool, per-site donor_probs/acceptor_probs and direction.

Usage

python

Metadata