You can use biopython's code for generation of PSSM. Here is the link for the source code which can help you.
Sidra Younas
- 503
- 2
- 13