x = [Seq("AATTG"), Seq("AGGTC"), Seq("AGGAT"), Seq("AGGCG")]
countSetTable = motifs.create(x)

pwm = countSetTable.counts.normalize(pseudocounts= 0)

seq to matching total score: `Seq("AATTG")`

result:

***total score = 2.5*** ( A: 1.0, A: 0.25 , T: 0.25, T: 0.50, G: 0.50)



Source link