{"action":"created","comment":{"url":"https://api.github.com/repos/EBIvariation/eva-web/pulls/comments/69305722","id":69305722,"diff_hunk":"@@ -131,23 +131,21 @@ consequenceTypes = [\n                 expanded: true,\n                 checked: false,\n                 children: [\n-                    {acc: 'SO:0002012', name: 'start_lost', qtip: 'A codon variant that changes at least one base of the canonical start codon', leaf: true, checked: false, iconCls: 'no-icon', color: '#FFD700' },\n-                    {acc: 'SO:0001587', name: 'stop_gained', qtip: 'A sequence variant whereby at least one base of a codon is changed, resulting in a premature stop codon, leading to a shortened transcript', leaf: true, checked: false, iconCls: 'no-icon', color: '#ff0000' },\n-                    {acc: 'SO:0001578', name: 'stop_lost', qtip: 'A sequence variant where at least one base of the terminator codon (stop) is changed, resulting in an elongated transcript', leaf: true, checked: false, iconCls: 'no-icon', color: '#ff0000' },\n-                    {acc: 'SO:0001818', name: 'protein_altering_variant', qtip: 'A sequence_variant which is predicted to change the protein encoded in the coding sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF0080' },\n-                    {acc: 'SO:0001821', name: 'inframe_insertion', qtip: 'An inframe non synonymous variant that inserts bases into in the coding sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF69B4'},\n-                    {acc: 'SO:0001822', name: 'inframe_deletion', qtip: 'An inframe non synonymous variant that deletes bases from the coding sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF69B4'},\n+                    {acc: 'SO:0001580', name: 'coding_sequence_variant', qtip: 'A sequence variant that changes the coding sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#458B00' },\n+                    {acc: 'SO:0001907', name: 'feature_elongation', qtip: 'A sequence variant that causes the extension of a genomic feature, with regard to the reference sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#7F7F7F' },\n+                    {acc: 'SO:0001906', name: 'feature_truncation', qtip: 'A sequence variant that causes the reduction of a genomic feature, with regard to the reference sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#7F7F7F' },\n                     {acc: 'SO:0001589', name: 'frameshift_variant', qtip: 'A sequence variant which causes a disruption of the translational reading frame, because the number of nucleotides inserted or deleted is not a multiple of three', leaf: true, checked: false, iconCls: 'no-icon', color: '#9400D3' },\n-                    {acc: 'SO:0001621', name: 'NMD_transcript_variant', qtip: 'A variant in a transcript that is the target of NMD', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF4500' },\n-//                {acc: 'SO:0001582', name: 'initiator_codon_variant', qtip: 'A codon variant that changes at least one base of the first codon of a transcript',leaf: true,checked: false,  iconCls :'no-icon',color:'#FF4500' },\n                     {acc: 'SO:0001626', name: 'incomplete_terminal_codon_variant', qtip: 'A sequence variant where at least one base of the final codon of an incompletely annotated transcript is changed', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF00FF'},\n+                    {acc: 'SO:0001821', name: 'inframe_insertion', qtip: 'An inframe non synonymous variant that inserts bases into in the coding sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF69B4'},\n+                    {acc: 'SO:0001822', name: 'inframe_deletion', qtip: 'An inframe non synonymous variant that deletes bases from the coding sequence', leaf: true, checked: false, iconCls: 'no-icon', color: '#FF69B4'},","path":"src/js/eva-config.js","position":18,"original_position":18,"commit_id":"0e327ec067c0456f37ec9c68c209f60c41f72832","original_commit_id":"0e327ec067c0456f37ec9c68c209f60c41f72832","user":{"login":"cyenyxe","id":1433407,"avatar_url":"https://avatars.githubusercontent.com/u/1433407?v=3","gravatar_id":"","url":"https://api.github.com/users/cyenyxe","html_url":"https://github.com/cyenyxe","followers_url":"https://api.github.com/users/cyenyxe/followers","following_url":"https://api.github.com/users/cyenyxe/following{/other_user}","gists_url":"https://api.github.com/users/cyenyxe/gists{/gist_id}","starred_url":"https://api.github.com/users/cyenyxe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyenyxe/subscriptions","organizations_url":"https://api.github.com/users/cyenyxe/orgs","repos_url":"https://api.github.com/users/cyenyxe/repos","events_url":"https://api.github.com/users/cyenyxe/events{/privacy}","received_events_url":"https://api.github.com/users/cyenyxe/received_events","type":"User","site_admin":false},"body":"deletion should go before insertion","created_at":"2016-07-01T14:16:31Z","updated_at":"2016-07-01T14:16:31Z","html_url":"https://github.com/EBIvariation/eva-web/pull/9#discussion_r69305722","pull_request_url":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/EBIvariation/eva-web/pulls/comments/69305722"},"html":{"href":"https://github.com/EBIvariation/eva-web/pull/9#discussion_r69305722"},"pull_request":{"href":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9","id":75985512,"html_url":"https://github.com/EBIvariation/eva-web/pull/9","diff_url":"https://github.com/EBIvariation/eva-web/pull/9.diff","patch_url":"https://github.com/EBIvariation/eva-web/pull/9.patch","issue_url":"https://api.github.com/repos/EBIvariation/eva-web/issues/9","number":9,"state":"open","locked":false,"title":"consequence type filter sorted alphabetically","user":{"login":"kandaj","id":6575963,"avatar_url":"https://avatars.githubusercontent.com/u/6575963?v=3","gravatar_id":"","url":"https://api.github.com/users/kandaj","html_url":"https://github.com/kandaj","followers_url":"https://api.github.com/users/kandaj/followers","following_url":"https://api.github.com/users/kandaj/following{/other_user}","gists_url":"https://api.github.com/users/kandaj/gists{/gist_id}","starred_url":"https://api.github.com/users/kandaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kandaj/subscriptions","organizations_url":"https://api.github.com/users/kandaj/orgs","repos_url":"https://api.github.com/users/kandaj/repos","events_url":"https://api.github.com/users/kandaj/events{/privacy}","received_events_url":"https://api.github.com/users/kandaj/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-01T14:09:19Z","updated_at":"2016-07-01T14:16:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"598f42b40904fc33c4eba1c5275eab79d98f4a28","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9/commits","review_comments_url":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9/comments","review_comment_url":"https://api.github.com/repos/EBIvariation/eva-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EBIvariation/eva-web/issues/9/comments","statuses_url":"https://api.github.com/repos/EBIvariation/eva-web/statuses/0e327ec067c0456f37ec9c68c209f60c41f72832","head":{"label":"EBIvariation:feature/consequence-type-filter-sort","ref":"feature/consequence-type-filter-sort","sha":"0e327ec067c0456f37ec9c68c209f60c41f72832","user":{"login":"EBIvariation","id":6419333,"avatar_url":"https://avatars.githubusercontent.com/u/6419333?v=3","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"repo":{"id":39952352,"name":"eva-web","full_name":"EBIvariation/eva-web","owner":{"login":"EBIvariation","id":6419333,"avatar_url":"https://avatars.githubusercontent.com/u/6419333?v=3","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EBIvariation/eva-web","description":"Web front-end for the European Variation Archive (EVA)","fork":false,"url":"https://api.github.com/repos/EBIvariation/eva-web","forks_url":"https://api.github.com/repos/EBIvariation/eva-web/forks","keys_url":"https://api.github.com/repos/EBIvariation/eva-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EBIvariation/eva-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EBIvariation/eva-web/teams","hooks_url":"https://api.github.com/repos/EBIvariation/eva-web/hooks","issue_events_url":"https://api.github.com/repos/EBIvariation/eva-web/issues/events{/number}","events_url":"https://api.github.com/repos/EBIvariation/eva-web/events","assignees_url":"https://api.github.com/repos/EBIvariation/eva-web/assignees{/user}","branches_url":"https://api.github.com/repos/EBIvariation/eva-web/branches{/branch}","tags_url":"https://api.github.com/repos/EBIvariation/eva-web/tags","blobs_url":"https://api.github.com/repos/EBIvariation/eva-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EBIvariation/eva-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EBIvariation/eva-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/EBIvariation/eva-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EBIvariation/eva-web/statuses/{sha}","languages_url":"https://api.github.com/repos/EBIvariation/eva-web/languages","stargazers_url":"https://api.github.com/repos/EBIvariation/eva-web/stargazers","contributors_url":"https://api.github.com/repos/EBIvariation/eva-web/contributors","subscribers_url":"https://api.github.com/repos/EBIvariation/eva-web/subscribers","subscription_url":"https://api.github.com/repos/EBIvariation/eva-web/subscription","commits_url":"https://api.github.com/repos/EBIvariation/eva-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/EBIvariation/eva-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/EBIvariation/eva-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/EBIvariation/eva-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/EBIvariation/eva-web/contents/{+path}","compare_url":"https://api.github.com/repos/EBIvariation/eva-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EBIvariation/eva-web/merges","archive_url":"https://api.github.com/repos/EBIvariation/eva-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EBIvariation/eva-web/downloads","issues_url":"https://api.github.com/repos/EBIvariation/eva-web/issues{/number}","pulls_url":"https://api.github.com/repos/EBIvariation/eva-web/pulls{/number}","milestones_url":"https://api.github.com/repos/EBIvariation/eva-web/milestones{/number}","notifications_url":"https://api.github.com/repos/EBIvariation/eva-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EBIvariation/eva-web/labels{/name}","releases_url":"https://api.github.com/repos/EBIvariation/eva-web/releases{/id}","deployments_url":"https://api.github.com/repos/EBIvariation/eva-web/deployments","created_at":"2015-07-30T13:35:33Z","updated_at":"2016-02-04T09:58:29Z","pushed_at":"2016-07-01T14:09:19Z","git_url":"git://github.com/EBIvariation/eva-web.git","ssh_url":"git@github.com:EBIvariation/eva-web.git","clone_url":"https://github.com/EBIvariation/eva-web.git","svn_url":"https://github.com/EBIvariation/eva-web","homepage":null,"size":26480,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"base":{"label":"EBIvariation:develop","ref":"develop","sha":"35bf393ead8a1ca1fbceef6e1581aee899184e77","user":{"login":"EBIvariation","id":6419333,"avatar_url":"https://avatars.githubusercontent.com/u/6419333?v=3","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"repo":{"id":39952352,"name":"eva-web","full_name":"EBIvariation/eva-web","owner":{"login":"EBIvariation","id":6419333,"avatar_url":"https://avatars.githubusercontent.com/u/6419333?v=3","gravatar_id":"","url":"https://api.github.com/users/EBIvariation","html_url":"https://github.com/EBIvariation","followers_url":"https://api.github.com/users/EBIvariation/followers","following_url":"https://api.github.com/users/EBIvariation/following{/other_user}","gists_url":"https://api.github.com/users/EBIvariation/gists{/gist_id}","starred_url":"https://api.github.com/users/EBIvariation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EBIvariation/subscriptions","organizations_url":"https://api.github.com/users/EBIvariation/orgs","repos_url":"https://api.github.com/users/EBIvariation/repos","events_url":"https://api.github.com/users/EBIvariation/events{/privacy}","received_events_url":"https://api.github.com/users/EBIvariation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EBIvariation/eva-web","description":"Web front-end for the European Variation Archive (EVA)","fork":false,"url":"https://api.github.com/repos/EBIvariation/eva-web","forks_url":"https://api.github.com/repos/EBIvariation/eva-web/forks","keys_url":"https://api.github.com/repos/EBIvariation/eva-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EBIvariation/eva-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EBIvariation/eva-web/teams","hooks_url":"https://api.github.com/repos/EBIvariation/eva-web/hooks","issue_events_url":"https://api.github.com/repos/EBIvariation/eva-web/issues/events{/number}","events_url":"https://api.github.com/repos/EBIvariation/eva-web/events","assignees_url":"https://api.github.com/repos/EBIvariation/eva-web/assignees{/user}","branches_url":"https://api.github.com/repos/EBIvariation/eva-web/branches{/branch}","tags_url":"https://api.github.com/repos/EBIvariation/eva-web/tags","blobs_url":"https://api.github.com/repos/EBIvariation/eva-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EBIvariation/eva-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EBIvariation/eva-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/EBIvariation/eva-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EBIvariation/eva-web/statuses/{sha}","languages_url":"https://api.github.com/repos/EBIvariation/eva-web/languages","stargazers_url":"https://api.github.com/repos/EBIvariation/eva-web/stargazers","contributors_url":"https://api.github.com/repos/EBIvariation/eva-web/contributors","subscribers_url":"https://api.github.com/repos/EBIvariation/eva-web/subscribers","subscription_url":"https://api.github.com/repos/EBIvariation/eva-web/subscription","commits_url":"https://api.github.com/repos/EBIvariation/eva-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/EBIvariation/eva-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/EBIvariation/eva-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/EBIvariation/eva-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/EBIvariation/eva-web/contents/{+path}","compare_url":"https://api.github.com/repos/EBIvariation/eva-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EBIvariation/eva-web/merges","archive_url":"https://api.github.com/repos/EBIvariation/eva-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EBIvariation/eva-web/downloads","issues_url":"https://api.github.com/repos/EBIvariation/eva-web/issues{/number}","pulls_url":"https://api.github.com/repos/EBIvariation/eva-web/pulls{/number}","milestones_url":"https://api.github.com/repos/EBIvariation/eva-web/milestones{/number}","notifications_url":"https://api.github.com/repos/EBIvariation/eva-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EBIvariation/eva-web/labels{/name}","releases_url":"https://api.github.com/repos/EBIvariation/eva-web/releases{/id}","deployments_url":"https://api.github.com/repos/EBIvariation/eva-web/deployments","created_at":"2015-07-30T13:35:33Z","updated_at":"2016-02-04T09:58:29Z","pushed_at":"2016-07-01T14:09:19Z","git_url":"git://github.com/EBIvariation/eva-web.git","ssh_url":"git@github.com:EBIvariation/eva-web.git","clone_url":"https://github.com/EBIvariation/eva-web.git","svn_url":"https://github.com/EBIvariation/eva-web","homepage":null,"size":26480,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9"},"html":{"href":"https://github.com/EBIvariation/eva-web/pull/9"},"issue":{"href":"https://api.github.com/repos/EBIvariation/eva-web/issues/9"},"comments":{"href":"https://api.github.com/repos/EBIvariation/eva-web/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/EBIvariation/eva-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EBIvariation/eva-web/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/EBIvariation/eva-web/statuses/0e327ec067c0456f37ec9c68c209f60c41f72832"}}}}
{"actor":{"display_login":"cyenyxe"}}