This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Is there a function to tabulate exact match seq scoring using pwm weight table for Biopython?
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)

python biopython

0 answers

No answers yet.

Log in to answer this question.