Entering edit mode
9.1 years ago
romeasy
▴
10
Hi,
I am looking for a way to generate random Position-Weight Matrices (PWM) using Biopython.
I have to use Biopython for various reasons (fast motif finding for instance) but seem to be unable to create a Motif or PWM object by hand.
Is there any method to create PWMs from either numpy arrays or by specifying the 'counts' variable explicitly?
Thanks for any suggestions.
I am also using biopython and I am looking for a way to generate
'WAG'
matrix from aligned protein sequence file. What kind of matrix is this one? How does the formula is applied to calculate frequencies of amino acids?