Skip to content
kianmehrabani edited this page Oct 10, 2018 · 5 revisions

Draw Molecule

  • Drawing of structure with link to moleculeEntry view
  • Marked up image with link -> markup with src link to drawMolecule view
  • tools.getStructureInfo(molecule) -> tools.moleculeToInfo(molecule) -> tools.getStructureMarkup(molecule) -> views.drawMolecule

Getting Adjacency List from Identifier

  • resolve() in moleculeSearch.html GET request to database/adjacencylist URL
  • URL directs to getAdjacencyList() view which queries NCI URL for smiles
  • molecule.fromSMILES().toAdjacencyList()