Create a seed model using local alignment of miRNA seed sequence to the target sequence.
Create a function for each of:
- extract miRNA seed; 1-based positions 2-7 of miRNA (we call this a seed6mer)
INPUT: miRNA seq
OUTPUT: miRNA seed
- reverse complement (rv) the extracted seed sequence
INPUT: miRNA seed
OUTPUT: rv of miRNA seed
- align the rv sequence to the target sequence (you can use the Biopython package for a local alignment using the Smith-Waterman algorithm)
INPUT: rv of miRNA seed, target seq
OUTPUT: alignment score
- apply functions above to each of the examples in the Hejret test set
INPUT: hejret test set (miRNA, target, label cols are enough)
OUTPUT: hejret test set with added column called seed6mer_alignment containing the alignment score for each row / pair of miRNA-target.
Create a seed model using local alignment of miRNA seed sequence to the target sequence.
Create a function for each of:
INPUT: miRNA seq
OUTPUT: miRNA seed
INPUT: miRNA seed
OUTPUT: rv of miRNA seed
INPUT: rv of miRNA seed, target seq
OUTPUT: alignment score
INPUT: hejret test set (miRNA, target, label cols are enough)
OUTPUT: hejret test set with added column called
seed6mer_alignmentcontaining the alignment score for each row / pair of miRNA-target.