Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge: Cluster a Compound Library | Similarity, Clustering and Drug Discovery
Python for Chemoinformatics

bookChallenge: Cluster a Compound Library

Uppgift

Swipe to start coding

Write a Python function using RDKit that takes a list of SMILES strings and groups them into clusters based on pairwise Tanimoto similarity. Each cluster should contain molecules where every member has a Tanimoto similarity above 0.6 with at least one other member in the cluster.

  • Parse each SMILES string into an RDKit molecule.
  • Generate Morgan fingerprints for each molecule.
  • Compare fingerprints pairwise using Tanimoto similarity.
  • Group molecules so that each cluster contains molecules with at least one similarity above 0.6 to another member.
  • Return a list of clusters, where each cluster is a list of SMILES strings.

Lösning

Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 4
single

single

Fråga AI

expand

Fråga AI

ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

close

bookChallenge: Cluster a Compound Library

Svep för att visa menyn

Uppgift

Swipe to start coding

Write a Python function using RDKit that takes a list of SMILES strings and groups them into clusters based on pairwise Tanimoto similarity. Each cluster should contain molecules where every member has a Tanimoto similarity above 0.6 with at least one other member in the cluster.

  • Parse each SMILES string into an RDKit molecule.
  • Generate Morgan fingerprints for each molecule.
  • Compare fingerprints pairwise using Tanimoto similarity.
  • Group molecules so that each cluster contains molecules with at least one similarity above 0.6 to another member.
  • Return a list of clusters, where each cluster is a list of SMILES strings.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 2. Kapitel 4
single

single

some-alt