Skip to main content

A package containing similarity measures for life science purposes. The package contains or uses Fréchet Distance, Dynamic Time Warping, Hausdorff Distance, Longest Common Subsequence, Difference Distance Matrix, Wasserstein Distance and the Kullback-Leiber Divergence (Jenssen-Shannon Distance)

Project description

Simbols

Name

SImilarity Measures for biOLogical Systems - short SiMBols

Description

SiMBols is meant to supply a fairly easy to use tool to apply similarity measures on trajectory data obtained, while utilizing existing measures from different libraries. SiMBols includes:

  • Discrete Fréchet Distance (DFD)
  • Discrete Weak Fréchet Distance (DWFD)
  • Dynamic Time Warping (DTW)
  • Hausdorff Distance (HD)
  • Longest Common SubSequence (LCSS)
  • Difference Distance Matrix (DDM)
  • Wasserstein distance (WD)
  • Kullback-Leibler Divergence (KLD)

Additionally, SiMBols includes two routines to read out protein simulation trajectories and align them for further analyses, for instance, employing the similarity measures.

Two working examples are supplied including input files, one dealing with the protein routines and one exclusively calculating the similarity measures. Files can be found at

  • Example/example.py (Similarity Measure Example)
  • ProteinPreprocessing/Example/example.py

The package is part of a publication available in PLOS ONE.

Minimum Requirement

SiMBols requires at least python 3.6 to run and some of the dependencies listed below, depending on the needed parts.

Installation

At this time, the package can be cloned to a working directory and imported to the code. The repository is located here. It is also registered in PyPI and can be installed using pip install simbols. The most recent version will always be the one on gitlab.

Dependencies

The following python packages are loaded: mdtraj, numpy, time, rmsd, concurrent.futures, scipy.stats, scipy.spatial.distance, tqdm

Usage

The Usage is explained in the two examples, a quick overview however is the following workflow

  1. Load a trajectory into a Trajectory class object
  2. Load a second trajectory into a Trajectory class object
  3. Create a Comparer object from the two Trajectory objects
  4. Calculate the needed similarity measures, the results are saved to the comparer object
  5. Save the results, plot the results

Support

For support, send an email to fabian.schuhmann@nbi.ku.dk or open an issue.

Authors and acknowledgment

The package is written by

  • Fabian Schuhmann, University of Copenhagen
  • Leonie Ryvkin, Technische Universiteit Eindhoven
  • James D. McLaren, Carl-von-Ossietzky Universität Oldenburg
  • Luca Gerhards, Carl-von-Ossietzky Universität Oldenburg
  • Ilia A. Solov'yov, Carl-von-Ossietzky Universität Oldenburg

with acknowledgements detailed below:

Programming help was received from Jeróme Urhausen and Georg Manthey. The authors would like to thank Volkswagen Foundation (Lichtenberg Professorship to IAS), the DFG, German Research Foundation, (GRK1885 - Molecular Basis of Sensory Biology and SFB 1372 – Magnetoreception and Navigation in Vertebrates), Ministry for science and culture of Lower Saxony (Simulations meet experiments on the nanoscale: Opening up the quantum world to artificial intelligence (SMART)). Computational resources for the simulations were provided by the CARL Cluster at the Carl-von-Ossietzky Universität Oldenburg, which is supported by the DFG and the ministry for science and culture of Lower Saxony. The work was also supported by the North-German Supercomputing Alliance (HLRN).

License

MIT

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

simbols-1.0.4.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

simbols-1.0.4-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file simbols-1.0.4.tar.gz.

File metadata

  • Download URL: simbols-1.0.4.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for simbols-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a14ae5078281fd7443ddc2f786b5bdd9d1644f57bdc0860f2928410a3d05a2b2
MD5 5b724e88472c7d474d5cda480a9683a8
BLAKE2b-256 c3b9e61e857cdb72d456ba7e61270336676b9d6ffa40e435138cb6c995d821ce

See more details on using hashes here.

File details

Details for the file simbols-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: simbols-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for simbols-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3bc5f35109aeeb00574d93234a814be31df0299c835ef7f13b9d8358e6aba46e
MD5 03b5a8fd7a5521f655cf0c99ed0599df
BLAKE2b-256 31be96700b7a4dbbe5a41874544ce5914bbac012dced5b4e1df4f90814a4cb5d

See more details on using hashes here.

Supported by

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