Skip to main content

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

Input structures can be given in PDB or PDBx/mmCIF format; the format is detected from the file contents, not the file name. Only the first model is read. For mmCIF files, the author chain IDs (auth_asym_id) are used. Only single-character chain IDs are supported; for a file that also contains longer chain IDs, select single-character chains with -c1/-c2.

For more details, please read the usage.

 USAGE: % mican protein1 protein2 [OPTION]
        (protein1/2: PDB or PDBx/mmCIF file, detected from its contents)

 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

Claude code plugin

This repository includes a Claude Code plugin that adds a mican-analysis skill for protein structure analysis directly in Claude Code.

Installation

  1. Add the marketplace:
/plugin marketplace add ShintaroMinami/mican
  1. Install the plugin:
/plugin install mican@mican

What it does

Once installed, Claude Code can automatically run MICAN analyses when you describe structural biology tasks, such as:

  • "Compare these two PDB files"
  • "Calculate TM-score between protein A and B"
  • "Does this protein have internal symmetry?"
  • "Analyze conformational change between apo and holo structures"

No manual Python scripting needed — Claude Code handles alignment, score interpretation, and result reporting.

Metadata

Release files for pymican 1.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymican 1.13.0
File Size Uploaded Provenance Actions
pymican-1.13.0.tar.gz 149.3 kB With provenance Details for pymican-1.13.0.tar.gz

Release files / pymican-1.13.0.tar.gz

Download URL pymican-1.13.0.tar.gz
Size 149.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e2d3e0b3ca8b797e2ecc17d00a94c6a72a8dd665d759ff08b083d2bf2b9a5fa1
BLAKE2b-256 checksum
How to use checksums
f484c570fc94ec31fa97e6cae8fada572cf6002935311c7d307c9f945c91c7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

Security for pymican 1.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for pymican-1.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page