Python Script For Exact P-Value Of Pwm
1
1
Entering edit mode
10.0 years ago
Dror ▴ 280

Hi guys,

I am looking for native python or perl scripts for the calculation of score threshold for Position weight matrix (PWM) given a p-value. The ideal will be a function, that given a matrix in jasapr/transfac format and a p-value, will return the score for that p-value.

Sure, I can try and build the algorithm myself, but I will be glad if some one already did it.

p-value p-value p-value p-value • 3.5k views
ADD COMMENT
0
Entering edit mode

funny, when I try to edit this, I see only one green flashing tag, what is that for, merged tags?

ADD REPLY
0
Entering edit mode

I see it too. Maybe the browser is rendering the same tag 4 times producing the flashing effect.

ADD REPLY
6
Entering edit mode
10.0 years ago

You can use MOODS. It has a biopython interface.

The BioPython interface has a threshold_from_p function

ADD COMMENT
0
Entering edit mode

+1. Hadn't seen MOODS before. Thanks for this @DK.

ADD REPLY

Login before adding your answer.

Traffic: 2761 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