software to convert pwm matrix to consensus sequence
1
0
Entering edit mode
8.5 years ago
pengchy ▴ 450

Hi,

Is there a software or script to convert the position weighted matrix (PWM) into consensus sequences? I have searched the biostars and googled a while without any practical solution. Although there are many software derived consensus sequence from multiple alignment.

The PWM files were downloaded from CIS-BP (http://cisbp.ccbr.utoronto.ca/), but there is not consensus sequence along with the motif PWM file.

Best,

Pengcheng

pwm consensus sequence • 4.6k views
ADD COMMENT
2
Entering edit mode
8.5 years ago
Zhilong Jia ★ 2.2k

You can method to get consensus sequence by searching "m.consensus" in Biopython.

What is the definition of your mentioned consensus sequence? It seems that are some difference between that in WIki and in BioPython.

ADD COMMENT
0
Entering edit mode

Hi Zhilong,

Thank you for your reply. I have read the documentation of the biopython http://biopython-cn.readthedocs.org/en/latest/cn/chr14.html#id6.

Now I can read the PWM data into a dictionary class, Then how can I convert the dict class into Bio.motifs.matrix.PositionWeightMatrix class, through which the consensus can be derived using pwm.consensus method?

Thank you!

ADD REPLY
0
Entering edit mode

Hi Zhilong,

I found the rsat convert-matrix can do the work. http://rsat01.biologie.ens.fr/rsat/. thank you!

ADD REPLY

Login before adding your answer.

Traffic: 1271 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6