Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: RDKit Molecule Parsing | Molecular Representations and Parsing
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Chemoinformatics

bookChallenge: RDKit Molecule Parsing

Opgave

Swipe to start coding

Write a Python function using RDKit that takes a list of SMILES strings and returns a list of molecular weights.

  • Parse each SMILES string in the input list to generate a molecule object.
  • For each valid molecule object, calculate its molecular weight.
  • For any SMILES string that cannot be parsed, return None in the corresponding output position.
  • Return a list of molecular weights (or None where parsing failed).

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 4
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

close

bookChallenge: RDKit Molecule Parsing

Stryg for at vise menuen

Opgave

Swipe to start coding

Write a Python function using RDKit that takes a list of SMILES strings and returns a list of molecular weights.

  • Parse each SMILES string in the input list to generate a molecule object.
  • For each valid molecule object, calculate its molecular weight.
  • For any SMILES string that cannot be parsed, return None in the corresponding output position.
  • Return a list of molecular weights (or None where parsing failed).

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 4
single

single

some-alt