Skip to main content
SpliceTransformer tissue specificity score
License: SpliceTransformer is open source and free for academic and commercial use under an Apache-2.0 license. Please refer to the 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
evo-design/proto-language/proto_language/constraint/rna_splicing/splice_transformer_specificity.py
View source
Copy citation
Constraint contributors
Score tissue-specific splice site usage for three-segment intron boundaries.
Accepts three segments (left_flank, intron_core, right_flank), concatenates them into a single 1-kb target sequence, and scores tissue-specific splice site usage.

API Reference

ConfigSpliceTransformerSpecificityConfig Source
Configuration for SpliceTransformer tissue-specific splicing constraint.This class defines configuration parameters for evaluating tissue-specific splicing patterns using SpliceTransformer, a deep learning model trained to predict splice site usage across different human tissues. The constraint can be used to either maximize splicing in a specific tissue (tissue-specific activation) or minimize it (tissue-specific repression), enabling design of sequences with controlled tissue-specific alternative splicing.
string
required
Sequence of the left context for SpliceTransformer
string
required
Sequence of the right context for SpliceTransformer
List[integer]
required
0-indexed position(s) into the concatenated target sequence on which to compute the score
enum
default:"AVERAGE"
Tissue on which to define the score. By default, averages across all tissues.Options: AVERAGE, ADIPOSE_TISSUE, BLOOD, BLOOD_VESSEL, BRAIN, COLON, HEART, KIDNEY, LIVER, LUNG, MUSCLE, NERVE, SMALL_INTESTINE, SKIN, SPLEEN, STOMACH
enum
default:"max"
Whether to maximize or minimize the value. Defaults to ‘max’Options: max, min
SpliceTransformerConfig
Advanced parameter configuration for SpliceTransformer.
ReturnsConstraintOutput
One result per input. score is in [0.0, 1.0] (interpretation depends on direction). metadata carries specificity_direction_<tissue> and specificity_score_<tissue>.

Usage

python

Metadata