rbs_score

Function rbs_score 

Source
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 sequence
  • rseq - Reverse strand sequence
  • sequence_length - Sequence length
  • nodes - Nodes to score
  • training - Training data with RBS weights

§Effect

Updates the ribosome_binding_sites scores in each node’s motif_info