Bioinformatics ReviewBioinformatics Review
Notification Show More
Font ResizerAa
  •  Home
  • Docking
  • MD Simulation
  • Tools
  • More Topics
    • Softwares
    • Sequence Analysis
    • Algorithms
    • Bioinformatics Programming
    • Bioinformatics Research Updates
    • Drug Discovery
    • Phylogenetics
    • Structural Bioinformatics
    • Editorials
    • Tips & Tricks
    • Bioinformatics News
    • Featured
    • Genomics
    • Bioinformatics Infographics
  • Community
    • BiR-Research Group
    • Community Q&A
    • Ask a question
    • Join Telegram Channel
    • Join Facebook Group
    • Join Reddit Group
    • Subscription Options
    • Become a Patron
    • Write for us
  • About Us
    • About BiR
    • BiR Scope
    • The Team
    • Guidelines for Research Collaboration
    • Feedback
    • Contact Us
    • Recent @ BiR
  • Subscription
  • Account
    • Visit Dashboard
    • Login
Font ResizerAa
Bioinformatics ReviewBioinformatics Review
Search
Have an existing account? Sign In
Follow US
Bioinformatics ProgrammingPython

tanimoto_similarities_one_vs_all.py – Python script to calculate Tanimoto Similarities of multiple compounds

Dr. Muniba Faiza
Last updated: July 18, 2022 10:46 pm
Dr. Muniba Faiza
Share
1 Min Read
tanimoto_similarities_one_vs_all.py – Python script to calculate Tanimoto Similarities of a compound with multiple compounds
SHARE

We previously provided a Python script to calculate the Tanimoto similarities of multiple compounds against each other. In this article, we are providing another Python script to calculate the Tanimoto similarities of one compound with multiple compounds.

Contents
  • Availability
  • Usage
    • References
    • Further Reading

The script tanimoto_similarities_one_vs_all.py  is a part of our tanimoto_similarities Python package. The similarities are calculated using RDKit [1]. This script takes multiple compounds as input in the form of sdf format. All the compounds in sdf format are merged together in a single file (here, lig.sdf). The query compound is provided in the form of SMILES.

Availability

The script is available on GitHub under the package ‘tanimoto_similarities‘.

Usage

keep the input sdf file in the same directory or provide a full path to the file in the script. Run the script as shown below:

$ python3 tanimoto_similarities_one_vs_all.py

It will create a new file named ‘sims_vs_all.txt’. This file will contain all calculated similarities.

Note: If you still get an error stating “rdkit not found”, then perhaps you have not activated the rdkit environment. Run the conda activate my-rdkit-env command again and then run the script.


References

  1. Landrum, G. (2013). Rdkit documentation. Release, 1 (1-79), 4.

Further Reading

tanimoto_similarities.py: A Python script to calculate Tanimoto similarities of multiple compounds using RDKit.

TAGGED:multiple compoundsrdkittanimoto similaritiestanimoto similarities one vs all
Share This Article
Facebook Copy Link Print
ByDr. Muniba Faiza
Follow:
Dr. Muniba is a Bioinformatician based in New Delhi, India. She has completed her PhD in Bioinformatics from South China University of Technology, Guangzhou, China. She has cutting edge knowledge of bioinformatics tools, algorithms, and drug designing. When she is not reading she is found enjoying with the family. Know more about Muniba
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

ai tools vs traditional tools in bioinformatics
AI Tools vs Traditional Tools in Bioinformatics- Which one to select?
Algorithms Artificial Intelligence Machine Learning Software Tools
AI vs Physics in Molecular Docking
AI vs Physics in Molecular Docking: Towards Faster and More Accurate Pose Prediction
Artificial Intelligence Drug Discovery Machine Learning
10 years of Bioinformatics Review: From a Blog to a Bioinformatics Knowledge Hub!
Editorial
Starting in Bioinformatics? Do This First!
Starting in Bioinformatics? Do This First!
Tips & Tricks

You Might Also Like

DockingAnalyzer.py-A Python script to identify ligand binding in protein pockets.
Bioinformatics ProgrammingBioinformatics Research UpdatesDockingDrug DiscoveryFeaturedGitHubPython

DockingAnalyzer.py: A New Python script to Identify Ligand Binding in Protein Pockets.

March 13, 2025
smitostr.py: Python script to convert SMILES to structures.
Bioinformatics ProgrammingCheminformaticsPython

smitostr.py: Python script to convert SMILES to structures.

November 19, 2022
Bioinformatics ProgrammingGitHubMD SimulationPythonSoftwareTools

Free_Energy_Landscape-MD: Python package to create Free Energy Landscape using PCA from GROMACS.

March 13, 2025
VS-Analysis: A Python Script to Analyze Virtual Screening Results of Autodock Vina
AlgorithmsBioinformatics ProgrammingPython

vs_Analysis.py: A Python Script to Analyze Virtual Screening Results of Autodock Vina

May 27, 2024
Copyright 2024 IQL Technologies
  • Journal
  • Customer Support
  • Contact Us
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Cookie Policy
  • Sitemap
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?

Not a member? Sign Up