Skip to main content

Tool to map chains of two structures

Project description

==ChainMap==per

Install

pip install chainmapper

Usage

Run simple mapping on samples

chainmapper \
      -r samples/sample1.pdb \
      -q samples/sample2.pdb \
      -o results \
      --n_outputs 1 \
      --verbose

Modules

Reduction Modules: Clustering-based or Heuristic:

Module Name Id Method Description
Sequence Clustering S Clustering Chain sequences are aligned and cluster according to identity score
Minimal Distance Clustering M Clustering Minimal distance vector of the chains are compared using RMSE
Barycentre Distance Clustering B Clustering Barycentre distance vector of the chains are compared using RMSE
Conformation Clustering C Clustering Chain are clustered according to their conformation (chain-chain RMSD)
Pivot P Clustering with constraints One chain of each model is used as pivot to guide minimal distance clustering. Multiple pivots are tested. This module should be used after other clustering modules. If it does not fall below the enumeration threshold, it has no impact on the clustering.
Simulated Annealing A Heuristic Fall back module used to force finding a mapping using simulated annealing search. Need to be used at the end of the module sequence.

Scoring modules:

Module Name Id Description
Root Mean Square Deviation (RMSD) R RMSD computed on$C_\alpha$ of all residues after alignment.
RMSD on chain PCA points r Fast RMSD used in simulated annealing or to fliter out off mappings.

Input arguments, options and flags

Name Required Default Description
Arguments
-r, --ref_file_path ✔️ Path to reference PDB file (mmCIF allowed)
-q, --query_file_path ✔️ Path to query PDB file (mmCIF allowed)
-o, --out_path ✔️ Path of output folder.
Options
-m, --modules SMBPAR Modules to launch in order.
--ignore_chains_ref "" Chains to ignore in the reference structure.
--ignore_chains_query "" Chains to ignore in the query structure.
-e --max_enum 1000 Maximum number of mappings to enumerate.
--n_siman 1 Number of simulated annealing runs.
--clustering_threshold 0 Minimum threshold for clustering (escept S).
--sequence_clustering_threshold 0.3 Threshold used for sequence clustering.
--ref_name file_name Name of the reference structure.
--query_name file_name Name of the query structure.
--n_outputs 1 Maximum number of mapped files to return.
--n_print_score 5 Number of final scores to print.
Option flags
--fitted_output Output the model aligned on ref.
--no_change_chain_ids Disable the replacement of chain ids in the output file by the respective ids in the ref file.
--no_change_chain_order Disable the change of chain order in the output file according ot the ref file.
--unique Enable to have unique ids in the output file names.
--all Enable to save all mappings scored in csv file.
--stats Enable to save stats like time and number of mappings in a csv file.
--verbose Enable logs during processing.

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

chainmapper-1.0.0.tar.gz (39.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chainmapper-1.0.0-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file chainmapper-1.0.0.tar.gz.

File metadata

  • Download URL: chainmapper-1.0.0.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for chainmapper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3edbff1a3bd14afa3f4dad97e7571c97d5ebbae756bfdd5fbd202597fbc86179
MD5 2b22ccceb559004aaf261672f3edc747
BLAKE2b-256 effc5e2ac82cc928f3d8a6c806bd9a936b06a69dd1c923aa5c4046ff7013bbde

See more details on using hashes here.

File details

Details for the file chainmapper-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: chainmapper-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 42.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for chainmapper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2a2b8f5f2a6b73d6080226a1fcab237f106c7b0e27cb5b2b5c25340289d624e2
MD5 77aee8e2a05b274dec8f95a6ff928416
BLAKE2b-256 cd0819fc1057a97f1ed7a91ddf632872a310083b25d399f5b3685211a493ad30

See more details on using hashes here.

Supported by

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