SecAlignVisualizer is a tool for visualizing multiple sequence alignments with secondary structure annotations. It parses .PDB files to extract helix and sheet information, maps this information to sequence alignments, and generates an .HTML representation with color-coded secondary structures.
- Parse PDB files to extract helix and sheet secondary structure information.
- Map secondary structure information to sequence alignments.
- Generate HTML representations of sequence alignments with color-coded secondary structures.
.PDBfiles where each one contain the helix and sheet secondary structure information..fasor.alnfile that contain the multi-sequence alignment file
Ensure you have Python and the required libraries installed:
pip install biopython-
Prepare
.PDBFiles: Ensure your PDB files are available in the desired directory. -
Create Alignment: Use your favorite alignment tool (e.g., Clustal Omega, MUSCLE) to generate a multiple sequence alignment file in FASTA format (
.fas) or.alnformat. -
Open the
Main.ipynb, Update the file path below in the code:
pdb_files_dir = "Replace_with_FOLDER_path"alignment_file = "Replace_with_path_to_alignment_file"
- Run the final block and open
Output.html
Contributions are welcome! Please fork the repository and submit a pull request for review.
