pub fn rbs_score(
seq: &[u8],
reverse_complement_encoded_sequence: &[u8],
sequence_length: usize,
nodes: &mut [Node],
training: &Training,
)Expand description
RBS Scoring Function: Calculate the RBS motif and then multiply it by the appropriate weight for that motif (determined in the start training function).
§Parameters
seq- Forward strand sequencerseq- Reverse strand sequencesequence_length- Sequence lengthnodes- Nodes to scoretraining- Training data with RBS weights
§Effect
Updates the ribosome_binding_sites scores in each node’s motif_info