{"action":"created","issue":{"url":"https://api.github.com/repos/Athenais/M2BI-db-project/issues/8","repository_url":"https://api.github.com/repos/Athenais/M2BI-db-project","labels_url":"https://api.github.com/repos/Athenais/M2BI-db-project/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Athenais/M2BI-db-project/issues/8/comments","events_url":"https://api.github.com/repos/Athenais/M2BI-db-project/issues/8/events","html_url":"https://github.com/Athenais/M2BI-db-project/issues/8","id":208224117,"number":8,"title":"generation de carte de ramachandran","user":{"login":"Athenais","id":3973705,"avatar_url":"https://avatars.githubusercontent.com/u/3973705?v=3","gravatar_id":"","url":"https://api.github.com/users/Athenais","html_url":"https://github.com/Athenais","followers_url":"https://api.github.com/users/Athenais/followers","following_url":"https://api.github.com/users/Athenais/following{/other_user}","gists_url":"https://api.github.com/users/Athenais/gists{/gist_id}","starred_url":"https://api.github.com/users/Athenais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Athenais/subscriptions","organizations_url":"https://api.github.com/users/Athenais/orgs","repos_url":"https://api.github.com/users/Athenais/repos","events_url":"https://api.github.com/users/Athenais/events{/privacy}","received_events_url":"https://api.github.com/users/Athenais/received_events","type":"User","site_admin":false},"labels":[{"id":542454507,"url":"https://api.github.com/repos/Athenais/M2BI-db-project/labels/in%20progress","name":"in progress","color":"d93f0b","default":false},{"id":542454443,"url":"https://api.github.com/repos/Athenais/M2BI-db-project/labels/TODO","name":"TODO","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Athenais/M2BI-db-project/milestones/6","html_url":"https://github.com/Athenais/M2BI-db-project/milestone/6","labels_url":"https://api.github.com/repos/Athenais/M2BI-db-project/milestones/6/labels","id":2331943,"number":6,"title":"version 6","description":"","creator":{"login":"Athenais","id":3973705,"avatar_url":"https://avatars.githubusercontent.com/u/3973705?v=3","gravatar_id":"","url":"https://api.github.com/users/Athenais","html_url":"https://github.com/Athenais","followers_url":"https://api.github.com/users/Athenais/followers","following_url":"https://api.github.com/users/Athenais/following{/other_user}","gists_url":"https://api.github.com/users/Athenais/gists{/gist_id}","starred_url":"https://api.github.com/users/Athenais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Athenais/subscriptions","organizations_url":"https://api.github.com/users/Athenais/orgs","repos_url":"https://api.github.com/users/Athenais/repos","events_url":"https://api.github.com/users/Athenais/events{/privacy}","received_events_url":"https://api.github.com/users/Athenais/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2017-02-18T14:33:30Z","updated_at":"2017-02-18T14:35:02Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-02-16T19:40:27Z","updated_at":"2017-02-18T17:11:09Z","closed_at":null,"body":"- [ ] parsing de pdb \r\n\r\n- [ ]  calcul des angles phi psi \r\n\r\n- [ ] plot matplotlib"},"comment":{"url":"https://api.github.com/repos/Athenais/M2BI-db-project/issues/comments/280859364","html_url":"https://github.com/Athenais/M2BI-db-project/issues/8#issuecomment-280859364","issue_url":"https://api.github.com/repos/Athenais/M2BI-db-project/issues/8","id":280859364,"user":{"login":"Athenais","id":3973705,"avatar_url":"https://avatars.githubusercontent.com/u/3973705?v=3","gravatar_id":"","url":"https://api.github.com/users/Athenais","html_url":"https://github.com/Athenais","followers_url":"https://api.github.com/users/Athenais/followers","following_url":"https://api.github.com/users/Athenais/following{/other_user}","gists_url":"https://api.github.com/users/Athenais/gists{/gist_id}","starred_url":"https://api.github.com/users/Athenais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Athenais/subscriptions","organizations_url":"https://api.github.com/users/Athenais/orgs","repos_url":"https://api.github.com/users/Athenais/repos","events_url":"https://api.github.com/users/Athenais/events{/privacy}","received_events_url":"https://api.github.com/users/Athenais/received_events","type":"User","site_admin":false},"created_at":"2017-02-18T17:11:09Z","updated_at":"2017-02-18T17:11:09Z","body":"Et si osef de gerer des pdb un peu bordeline (voir discution dans le #11), on peut utiliser http://dirac.cnrs-orleans.fr/MMTK/\r\n(quoique pas mis à jour depuis trèèès longtemps... XD )\r\n\r\nEt dans ce cas là, le calcul d'angle, c'est juste :\r\n\r\n ```\r\nimport MMTK.Proteins\r\nprotein = MMTK.Proteins.Protein(\"1F45.pdb\")\r\nfor chain in protein :\r\n    print \"%s length %i\" % (chain.name, len(chain)),\r\n    print chain.phiPsi()\r\n```\r\nou résidu par résidu : \r\n```\r\nfor chain in protein :\r\n    print \"%s length %i\" % (chain.name, len(chain)),\r\n    print \"from %s to %s\" % (chain[0].name, chain[-1].name)\r\n    for residue in chain :\r\n        print residue.name, residue.phiPsi()\r\n```\r\n"}}
{"actor":{"display_login":"Athenais"}}