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!