1- export RBS, orf_rbs_score, motifseq, offset
1+ export RBS, orf_rbs_score, orbs, motifseq, offset
22public _rbswindows, _findrbs
33
44"""
@@ -199,7 +199,7 @@ function _findrbs(orf::ORFI{N,F}) where {N,F}
199199end
200200
201201"""
202- orf_rbs_score(orf::ORFI{N,F}) where {N,F} -> Float64
202+ orf_rbs_score(orf::ORFI{N,F}) where {N,F} -> Int64
203203
204204Calculate a ribosome binding site (RBS) score for a given open reading frame (ORF).
205205
@@ -223,7 +223,7 @@ The function:
223223RBS motifs and their scores are predefined in `FORWARDRBSMOTIFS` for positive strand
224224and `REVERSERBSMOTIFS` for negative strand sequences.
225225"""
226- function orf_rbs_score (orf:: ORFI{N,F} ) where {N,F}
226+ function orbs (orf:: ORFI{N,F} ) where {N,F}
227227 # Initialize the score and the max scores dictionary
228228 wsymb = (:a , :b , :c )
229229 windows = _rbswindows (orf)
@@ -253,6 +253,8 @@ function orf_rbs_score(orf::ORFI{N,F}) where {N,F}
253253 return totscore
254254end
255255
256+ const orf_rbs_score = orbs
257+
256258export motifseq
257259function motifseq (rbs:: RBS )
258260 return rbs. motif
0 commit comments