Skip to main content

Tool to map chains of two structures

Project description

ChainMapper

Install

pip install chainmapper

Usage

Run simple mapping on samples

chainmapper \
      -r samples/sample1.pdb \
      -q samples/sample2.pdb \
      -o results \
      --n_outputs 1 \
      --unique \
      --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.2.tar.gz (41.1 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.2-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chainmapper-1.0.2.tar.gz
Algorithm Hash digest
SHA256 da85abf64afe9719b7e0538ae9451f3aa9c03ac2f8908cf8ef089c06eba6919b
MD5 2613b8bc63775b7659b5a8f12cd64211
BLAKE2b-256 9ab0a2cf620b41f7e8d9f69653d4d42fa7e39aad6239c1b3c3c19fccb0bcafec

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for chainmapper-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4136b98872c0c346023e787fa7e1c8dc7f7737e321f3d31fc430288d5459761c
MD5 c56b4a27ddf63b5c5e2f618385807416
BLAKE2b-256 7cc3c2323f12dd1e2e2ef717e38b46324079ee2f6b3153850da9960b54d93fa1

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