
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.

API Reference
Configuration for SpliceTransformer intron boundary constraint.This class defines configuration parameters for evaluating splice site quality
using SpliceTransformer, a deep learning model trained to predict splice sites
in pre-mRNA sequences. The constraint assesses whether specified positions
in a sequence are likely to function as authentic splice sites, which is critical
for proper intron removal and mRNA processing.
SpliceTransformer requires sequences of specific lengths:
- Concatenated target (left_flank + intron_core + right_flank): Must be exactly 1000 bp
- Left context: Must be exactly 4000 bp
- Right context: Must be exactly 4000 bp
- Total sequence analyzed: 9000 bp (4000 + 1000 + 4000)
Sequence of the left context for SpliceTransformer
Sequence of the right context for SpliceTransformer
0-indexed position(s) into the concatenated target sequence of expected donor
0-indexed position(s) into the concatenated target sequence of expected acceptor
Advanced parameter configuration for SpliceTransformer.
ReturnsConstraintOutput
One result per input. score is the combined
boundary penalty in [0.0, 1.0]. metadata carries donor_pos,
acceptor_pos, donor_score, acceptor_score, and
total_splice_score.Usage
python
Metadata
| Property | Value |
|---|---|
| Key | splice-transformer-intron-boundary |
| Function | splice_transformer_intron_boundary |
| Category | rna_splicing |
| Mode | discrete |
| Uses GPU | True |
| Supported Types | dna |