Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Cluster a Compound Library | Similarity, Clustering and Drug Discovery
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Chemoinformatics

bookChallenge: Cluster a Compound Library

Oppgave

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

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4
single

single

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

close

bookChallenge: Cluster a Compound Library

Sveip for å vise menyen

Oppgave

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 desktopBytt til skrivebordet for virkelighetspraksisFortsett der du er med et av alternativene nedenfor
Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 4
single

single

some-alt