Skip to content

Instantly share code, notes, and snippets.

@CKannas
Last active August 2, 2018 18:15
Show Gist options
  • Save CKannas/c25fd1e60cc153209301d14c49336c44 to your computer and use it in GitHub Desktop.
Save CKannas/c25fd1e60cc153209301d14c49336c44 to your computer and use it in GitHub Desktop.
Use RDKit, Scikit-Learn, Pandas to read molecules file (SMILES), calculate Tanimoto distance between the molecules and save them into a Pandas DataFrame for PCA analysis and visualisation. Uses a molecule file reader from proprietary software suite NSISSoft, but you can use RDKit's file readers as a replacement .
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment