Skip to main content

Non-sequential protein structure alignment algorithm

Project description

MICAN

Protein structure alignment program that can handle

  • M: multiple-chain complexs
  • I: inverse direction of SSEs
  • C: Ca only models
  • A: alternative alignments
  • N: non-sequential alignments

Author information

Author: S. Minami, K. Sawada, and G. Chikenji

Web Site: http://www.tbp.cse.nagoya-u.ac.jp/MICAN

References

  1. BMC Bioinformatics 2013, 14(24), S. Minami, K. Sawada, and G. Chikenji
  2. Bioinformatics 2018, 34(19), S. Minami, K. Sawada, M Ota, and G. Chikenji

License

MIT

Easy instllation

pip install pymican

Python module usage

  1. install pymican
pip install pymican
  1. usage
# import module
from pymican import mican

# create object
m = mican()

# calculate alignment
aln = m.align(pdb1='pdbfile1', pdb2='pdbfile2', options='extra-mican-options')

# get TM-score, RMSD, etc.
print(aln.TMscore)
print(aln.rmsd)

Attributes of Alignment object

    MICAN alignment class

    Attributes
    ----------
    outdict : dict
        Alignment info
    mode : str
        Alignment mode
    pdb1, pdb2 : str
        PDB file path
    size1, size2 : int
        Size of protein structure
    nalign : int
        Number of aligned residues
    rmsd : float
        RMSD of aligned residues
    TMscore : float
        TM-score
    sTMscore : float
        SSE weighted TM-score
    seq_identity : float
        Sequence identity as percentage [0,100]
    DALIscore : float
        DALI z-score
    SPscore : float
        SP-score
    TMscore1, TMscore2 : float
        TM-score normalized by each protein length
    coverage1, coverage2 : float
        Aligned coverage for each protein length
    translation_rot : numpy.array(3,3)
        Rotation matrix for superposition protein1 on protein2
    translation_vec : numpy.array(3)
        Translation vector for superposition protein1 on protein2
    alignment : pandas.DataFrame
        Residue-Residue alignment info
    alignlst : List[pandas.item]
        Alignment info for iterator methods

    Methods
    -------
    translate_xyz(xyz: np.array(N,3)) -> np.array(N,3)
        Rotate & translate xyz coordinates

Compilation and usage

  1. To compile MICAN software: please type this command
% make
  1. To run MICAN software:
% mican protein1 protein2 -a align.aln -o sup.pdb

-- e.g. --

% mican test/test1.1.pdb test/test1.2.pdb -a align.aln -o sup.pdb

For more details, please read the usage.

 USAGE: % mican protein1 protein2 [OPTION]

 Description:
  -f             fast mode (same as "-g 15")
  -s             sequential (SQ) alignment mode
  -w             rewiring (RW) alignment mode
  -r             rewiring & reverse (RR) alignment mode
  -R             reverse constrained alignment mode
  -x             silent mode (without any output on the console)
  -p             print alignment progress
  -c1 ChainIDs   chain ID specifier for protein1 (e.g. -c1 A, -c1 ABC)
  -c2 ChainIDs   chain ID specifier for protein2
  -o  Filename   superposition file (rasmol-script)
  -a  Filename   alignment file
  -m  Filename   translation matrix file
  -n  Integer    number of solutions output (default=5)
  -i  Integer    output i-th solution on stdout & superposition file
  -t  Integer    selection score ([0]:sTMscore, 1:TMscore, 2:SPscore)
  -g  Integer    number of GH candidates used (default=50)
  -l  Integer    minimum segment length (default=3)
  -d  Real       fix TM-score scaling factor d0
  -q  Real       maximum distance between Ca atoms to be aligned (default=10.0)
  
 Simple usage (SQ):
   % mican protein1 protein2
   % mican protein1 protein2 -a align.aln -o sup.pdb

 Rewiring mode alignment (RW):
   % mican protein1 protein2 -w

 Rewiring & reverse mode alignment (RR):
   % mican protein1 protein2 -r

 To visualize superposition:
   % mican protein1 protein2 -o sup.pdb
   % rasmol -script sup.pdb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymican-1.10.3.tar.gz (99.7 kB view details)

Uploaded Source

File details

Details for the file pymican-1.10.3.tar.gz.

File metadata

  • Download URL: pymican-1.10.3.tar.gz
  • Upload date:
  • Size: 99.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for pymican-1.10.3.tar.gz
Algorithm Hash digest
SHA256 4f193476765e17dc685079a4e444bf9b28afd8b6c40b713bbd6a22ac2d15e2b6
MD5 8cfea8e4450b326c90ec1f45dec8271c
BLAKE2b-256 f0244176710ce37b30c80fe90a77811556ec21e16d5cfd8625f2c289492408ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page