Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.46 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.46 KB

SSMAP: Protein Contact Map Generator

Description: This project uses Python to generate a contact map for protein, which is color-coded based on its secondary structure. The map is then saved as a PNG image file. This is done using the BioPython library to parse PDB(Protein Data Bank) and DSSP(Dictionary of Secondary Structure for Proteins) files, numpy for mathematical operations, and matplotlib for visualization.

Image

Usage

  1. Clone this repository to your local machine.

  2. Ensure that the required Python libraries are installed: BioPython, numpy, and matplotlib. If they are not installed, use the following command: pip install biopython numpy matplotlib

  3. Place your PDB and DSSP files in the same directory as the script.

  4. Update the 'pdb_file' and 'dssp_file' variables in the script to match the names of your PDB and DSSP files.

  5. Run the script using Python. python contact_map_generator.py The contact map will be saved as a PNG image file in the same directory, with the name based on your PDB file name.

Resources

Support

If you encounter any issues while using this script, please raise an issue in this GitHub repository.