{"action":"opened","issue":{"url":"https://api.github.com/repos/UCL/HHyeast-server/issues/10","repository_url":"https://api.github.com/repos/UCL/HHyeast-server","labels_url":"https://api.github.com/repos/UCL/HHyeast-server/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/UCL/HHyeast-server/issues/10/comments","events_url":"https://api.github.com/repos/UCL/HHyeast-server/issues/10/events","html_url":"https://github.com/UCL/HHyeast-server/issues/10","id":274819152,"number":10,"title":"Re-do clustering","user":{"login":"ilectra","id":22891967,"avatar_url":"https://avatars1.githubusercontent.com/u/22891967?v=4","gravatar_id":"","url":"https://api.github.com/users/ilectra","html_url":"https://github.com/ilectra","followers_url":"https://api.github.com/users/ilectra/followers","following_url":"https://api.github.com/users/ilectra/following{/other_user}","gists_url":"https://api.github.com/users/ilectra/gists{/gist_id}","starred_url":"https://api.github.com/users/ilectra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilectra/subscriptions","organizations_url":"https://api.github.com/users/ilectra/orgs","repos_url":"https://api.github.com/users/ilectra/repos","events_url":"https://api.github.com/users/ilectra/events{/privacy}","received_events_url":"https://api.github.com/users/ilectra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ilectra","id":22891967,"avatar_url":"https://avatars1.githubusercontent.com/u/22891967?v=4","gravatar_id":"","url":"https://api.github.com/users/ilectra","html_url":"https://github.com/ilectra","followers_url":"https://api.github.com/users/ilectra/followers","following_url":"https://api.github.com/users/ilectra/following{/other_user}","gists_url":"https://api.github.com/users/ilectra/gists{/gist_id}","starred_url":"https://api.github.com/users/ilectra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilectra/subscriptions","organizations_url":"https://api.github.com/users/ilectra/orgs","repos_url":"https://api.github.com/users/ilectra/repos","events_url":"https://api.github.com/users/ilectra/events{/privacy}","received_events_url":"https://api.github.com/users/ilectra/received_events","type":"User","site_admin":false},"assignees":[{"login":"ilectra","id":22891967,"avatar_url":"https://avatars1.githubusercontent.com/u/22891967?v=4","gravatar_id":"","url":"https://api.github.com/users/ilectra","html_url":"https://github.com/ilectra","followers_url":"https://api.github.com/users/ilectra/followers","following_url":"https://api.github.com/users/ilectra/following{/other_user}","gists_url":"https://api.github.com/users/ilectra/gists{/gist_id}","starred_url":"https://api.github.com/users/ilectra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilectra/subscriptions","organizations_url":"https://api.github.com/users/ilectra/orgs","repos_url":"https://api.github.com/users/ilectra/repos","events_url":"https://api.github.com/users/ilectra/events{/privacy}","received_events_url":"https://api.github.com/users/ilectra/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-11-17T10:28:29Z","updated_at":"2017-11-17T10:28:29Z","closed_at":null,"author_association":"COLLABORATOR","body":"From https://github.com/UCL/HHprY-Project/issues/18 :\r\n\r\n> ACTION 4. Clustering: \r\n> 4A) overlapping hits should be clustered together no matter what the pSS, leaving non-overlapping ones separate. [...]\r\n> 4B) Could the number of clusters in the default view be varied by length. We could have a rule of up to 10 clusters for all proteins less than 1000 residues, then 1 extra cluster per 200 residues on top. So for YLL040W/Vps13 (3144 aa) the page would have up to 21 clusters. Does not matter about haing 21 different colours, but we could try anyway – I could supply some more pastel colours. [...]\r\n\r\nActions:\r\n- [ ] @ilectra Make a new clustering algorithm (starting point, our methodology will most likely evolve over time until we get it right):\r\n- Start from hit with top probability and go down the list.\r\n- If <5 residues overlapping with other hits, separate hit.\r\n- If >50% of the shorter hit overlap, cluster together.\r\n  - A \"cluster\" is a new, longer \"hit\", containing all the overlapping ones.\r\n  - Anything contained fully inside something bigger, should be clustered together.\r\n  - Keep name and probability of top hit, number of hits clustered together\r\n- If hits with the same name appear, cluster them together.\r\n- Should be able to handle both pfam (minimal overlaps) and pdb (tons of overlapping hits).\r\n\r\n- [ ] @timlevine provide list of proteins with different features, to test the clustering algorithm.\r\n"}}
{"actor":{"display_login":"ilectra"}}