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

bookChallenge: RDKit Molecule Parsing

Tâche

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).

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 4
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

close

bookChallenge: RDKit Molecule Parsing

Glissez pour afficher le menu

Tâche

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).

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 4
single

single

some-alt