Skip to content
/ SSMap Public

SSMap is a Python project designed to visualize protein structures in a clear, intuitive way. Using information from Protein Data Bank (PDB) and Dictionary of Secondary Structure for Proteins (DSSP) files, this project generates a contact map that is color-coded based on the secondary structure of the protein.

License

Notifications You must be signed in to change notification settings

Jeshuwin/SSMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

SSMap is a Python project designed to visualize protein structures in a clear, intuitive way. Using information from Protein Data Bank (PDB) and Dictionary of Secondary Structure for Proteins (DSSP) files, this project generates a contact map that is color-coded based on the secondary structure of the protein.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages