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.1.tar.gz (40.0 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.1-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chainmapper-1.0.1.tar.gz
  • Upload date:
  • Size: 40.0 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.1.tar.gz
Algorithm Hash digest
SHA256 34cbc1b4c635097b6e99c4756f2be906e66b33eb22f6043ce33c3f1bd4af0c58
MD5 dba12b5f155a8aabda0199bfd08ec437
BLAKE2b-256 00c658a2ab080bb22c23e62919d06525325983dc8b32afeccd30bbe04430c351

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chainmapper-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 42.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1089d91b122356b2a56e189c3814acb70ba543785e549f43e92fc0d63e524afe
MD5 fc4918829217e532097844cf3d9c9c23
BLAKE2b-256 120b3e3b02d1bfba00cd303afb028e21a643e447f006a7a8d0c6328b10792710

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