I everyone.
I'm trying to find a certain probabilistic based pattern in a DNA sequence by the using of position weight matrix. That is to say, I specify several nucleotides with their probabilities for the same position.
I'm using perl and bioperl modules to achieve this. I was able to create an psm object using the modules Bio::Matrix::PSM::SiteMatrix and Bio::Matrix::PSM::IO, but I have no idea about how to perform an alignment against a sequence using this matrix.
What module could I use to perform the alignment?
Thanks in advance!
Hi Joseph, thanks for your answer. I've checked your link, but I think it is used to perform alignments between sequences. In my case, I need to find matches of a position weight matrix in a sequence. A position weight matrix is a matrix that have the following structure:
This kind of matrix represents the probability of each nucleotide for each position. The idea is to find matches in a sequence that were accomplished by the matrix.
This feature is useful if you want to find protein binding sites in the genome, for example. I've seen applications that can perform this task, but I want to do it in a programmatically way.