
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.
=min_half_siteseparated by a gap <=max_gapwhose first half-site matches the reverse complement of the second withinmax_mismatchmismatches). The best operator that overlaps a target by >=min_overlapbp determines the score.
API Reference
Configuration for the repressor-operator presence constraint.Locates the -35 / -10 boxes by best consensus match, defines a TSS window
just downstream of the -10 box, then scans for inverted-repeat operators
(two half-sites separated by a short gap whose first half-site matches the
reverse complement of the second) and checks whether any occludes a promoter
element. Lower score = an occluding operator is present.
integer
default:"7"
Minimum half-site length (bp) for an inverted-repeat operator candidate.
integer
default:"1"
Maximum gap (bp) between the two operator half-sites.
integer
default:"1"
Max Hamming mismatches between half-site 1 and reverse complement of half-site 2.
integer
default:"3"
Minimum overlap (bp) between an operator and a -35/-10/TSS element to occlude it.
string
default:"TTGACA"
Consensus -35 box (6 bp) used to anchor the promoter.
string
default:"TATAAT"
Consensus -10 box (6 bp) used to anchor the promoter.
integer
default:"14"
Minimum -35/-10 spacer (bp) considered when anchoring the promoter.
integer
default:"20"
Maximum -35/-10 spacer (bp) considered when anchoring the promoter.
integer
default:"6"
Width (bp) of the TSS window placed just downstream of the -10 box.
ReturnsConstraintOutput
One result per sequence. score is 0.0 when an
occluding operator (mismatch <= max_mismatch) is present and rises
toward 1.0 as the best occluding candidate drifts away from a valid
operator (always >= 0.5 when no valid operator occludes a target, so
threshold=0.5 acts as a presence filter). metadata carries an
operator dict with the located boxes and best-operator details
(None when no candidate can occlude a target).Usage
python