{"action":"opened","issue":{"url":"https://api.github.com/repos/WormBase/website/issues/4636","repository_url":"https://api.github.com/repos/WormBase/website","labels_url":"https://api.github.com/repos/WormBase/website/issues/4636/labels{/name}","comments_url":"https://api.github.com/repos/WormBase/website/issues/4636/comments","events_url":"https://api.github.com/repos/WormBase/website/issues/4636/events","html_url":"https://github.com/WormBase/website/issues/4636","id":138239519,"number":4636,"title":"on-the-fly chemical structure generation","user":{"login":"kyook","id":611610,"avatar_url":"https://avatars.githubusercontent.com/u/611610?v=3","gravatar_id":"","url":"https://api.github.com/users/kyook","html_url":"https://github.com/kyook","followers_url":"https://api.github.com/users/kyook/followers","following_url":"https://api.github.com/users/kyook/following{/other_user}","gists_url":"https://api.github.com/users/kyook/gists{/gist_id}","starred_url":"https://api.github.com/users/kyook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyook/subscriptions","organizations_url":"https://api.github.com/users/kyook/orgs","repos_url":"https://api.github.com/users/kyook/repos","events_url":"https://api.github.com/users/kyook/events{/privacy}","received_events_url":"https://api.github.com/users/kyook/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WormBase/website/labels/Webteam","name":"Webteam","color":"a369e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/WormBase/website/milestones/29","html_url":"https://github.com/WormBase/website/milestones/WS253","labels_url":"https://api.github.com/repos/WormBase/website/milestones/29/labels","id":1600072,"number":29,"title":"WS253","description":"","creator":{"login":"sibyl229","id":1753893,"avatar_url":"https://avatars.githubusercontent.com/u/1753893?v=3","gravatar_id":"","url":"https://api.github.com/users/sibyl229","html_url":"https://github.com/sibyl229","followers_url":"https://api.github.com/users/sibyl229/followers","following_url":"https://api.github.com/users/sibyl229/following{/other_user}","gists_url":"https://api.github.com/users/sibyl229/gists{/gist_id}","starred_url":"https://api.github.com/users/sibyl229/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sibyl229/subscriptions","organizations_url":"https://api.github.com/users/sibyl229/orgs","repos_url":"https://api.github.com/users/sibyl229/repos","events_url":"https://api.github.com/users/sibyl229/events{/privacy}","received_events_url":"https://api.github.com/users/sibyl229/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-02-23T15:48:47Z","updated_at":"2016-03-03T17:10:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-03-03T17:10:07Z","updated_at":"2016-03-03T17:10:07Z","closed_at":null,"body":"Can we generate chemical structures on molecule pages?\r\nOn ChEBI (a main source of molecule data we slurp up), these structures are generated on the fly-on-the site using Marvin (free for academic use) or more currently Ketcher (http://lifescience.opensource.epam.com/ketcher/)\r\n\r\nOtherwise instructions to get the image files from ChEBI are included below) from my conversation with Gareth Owen from ChEBI. \r\n\r\n\"I believe that the images of the structures in ChEBI are rendered by Marvin or Indigo. They can be taken directly from ChEBI as follows:\r\na) In the ChEBI website, go to the entity whose structure you need (eg CHEBI:223316), hover the cursor over the chemical structure, then right-click and select the 'copy image location' option.\r\nb) Paste this location into the address bar of your internet browser. It is a long text string, ending with 'chebiId=223316&dimensions=400'\r\nc) Go to this address. It will generate an image of the structure, dimensions 400 x 400. By varying the number in the address bar to a larger (anything up to about 1000 seems to work) or smaller number, you can generate an image as large or small as you wish.\r\nd) When you have the size you need, right click on the generated image and choose 'save image as'\r\ne) If you don't want the white background to the structure, there is an option to generate just the structure.\" \r\n\r\nPlease let me know if displaying these structures is possible and what is the best way forward in terms of generating them and displaying them.  \r\n\r\n\r\n"}}