{"action":"created","comment":{"url":"https://api.github.com/repos/raphael-group/gd3/pulls/comments/49750305","id":49750305,"diff_hunk":"@@ -304,7 +335,16 @@ function transcriptChart(style) {\n             return w/2;\n           } else { return d3.select(this).attr('x'); }\n         });\n+\n+        // Update protein sequence position and visibility\n+        if (data.sequence){","path":"src/transcript/transcriptChart.js","position":120,"original_position":120,"commit_id":"5290f1671923c7548832f5ca795ffb779b498842","original_commit_id":"5290f1671923c7548832f5ca795ffb779b498842","user":{"login":"connorgr","id":1392324,"avatar_url":"https://avatars.githubusercontent.com/u/1392324?v=3","gravatar_id":"","url":"https://api.github.com/users/connorgr","html_url":"https://github.com/connorgr","followers_url":"https://api.github.com/users/connorgr/followers","following_url":"https://api.github.com/users/connorgr/following{/other_user}","gists_url":"https://api.github.com/users/connorgr/gists{/gist_id}","starred_url":"https://api.github.com/users/connorgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorgr/subscriptions","organizations_url":"https://api.github.com/users/connorgr/orgs","repos_url":"https://api.github.com/users/connorgr/repos","events_url":"https://api.github.com/users/connorgr/events{/privacy}","received_events_url":"https://api.github.com/users/connorgr/received_events","type":"User","site_admin":false},"body":"space missing between ) and {","created_at":"2016-01-14T16:44:56Z","updated_at":"2016-01-14T16:44:56Z","html_url":"https://github.com/raphael-group/gd3/pull/13#discussion_r49750305","pull_request_url":"https://api.github.com/repos/raphael-group/gd3/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/raphael-group/gd3/pulls/comments/49750305"},"html":{"href":"https://github.com/raphael-group/gd3/pull/13#discussion_r49750305"},"pull_request":{"href":"https://api.github.com/repos/raphael-group/gd3/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/raphael-group/gd3/pulls/13","id":56057958,"html_url":"https://github.com/raphael-group/gd3/pull/13","diff_url":"https://github.com/raphael-group/gd3/pull/13.diff","patch_url":"https://github.com/raphael-group/gd3/pull/13.patch","issue_url":"https://api.github.com/repos/raphael-group/gd3/issues/13","number":13,"state":"open","locked":false,"title":"Add protein sequence information to transcript view","user":{"login":"mdml","id":2043206,"avatar_url":"https://avatars.githubusercontent.com/u/2043206?v=3","gravatar_id":"","url":"https://api.github.com/users/mdml","html_url":"https://github.com/mdml","followers_url":"https://api.github.com/users/mdml/followers","following_url":"https://api.github.com/users/mdml/following{/other_user}","gists_url":"https://api.github.com/users/mdml/gists{/gist_id}","starred_url":"https://api.github.com/users/mdml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdml/subscriptions","organizations_url":"https://api.github.com/users/mdml/orgs","repos_url":"https://api.github.com/users/mdml/repos","events_url":"https://api.github.com/users/mdml/events{/privacy}","received_events_url":"https://api.github.com/users/mdml/received_events","type":"User","site_admin":false},"body":"* Add back (optional) protein sequence to transcript view, which appears (in front of any domains) when you zoom in far enough.\r\n* Add new (optional) protein sequence annotations, which are represented as colored letters from the \r\n* Add a protein sequence annotation legend, which is an inline list from Bootstrap.\r\n* Add back the ability to switch protein domains.\r\n* Update `demo/test-transcript.html` to demonstrate these new features.","created_at":"2016-01-14T16:26:58Z","updated_at":"2016-01-14T16:44:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9db0ec667b1caf34fbdddcfa092d456550cb1f84","assignee":{"login":"connorgr","id":1392324,"avatar_url":"https://avatars.githubusercontent.com/u/1392324?v=3","gravatar_id":"","url":"https://api.github.com/users/connorgr","html_url":"https://github.com/connorgr","followers_url":"https://api.github.com/users/connorgr/followers","following_url":"https://api.github.com/users/connorgr/following{/other_user}","gists_url":"https://api.github.com/users/connorgr/gists{/gist_id}","starred_url":"https://api.github.com/users/connorgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/connorgr/subscriptions","organizations_url":"https://api.github.com/users/connorgr/orgs","repos_url":"https://api.github.com/users/connorgr/repos","events_url":"https://api.github.com/users/connorgr/events{/privacy}","received_events_url":"https://api.github.com/users/connorgr/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/raphael-group/gd3/pulls/13/commits","review_comments_url":"https://api.github.com/repos/raphael-group/gd3/pulls/13/comments","review_comment_url":"https://api.github.com/repos/raphael-group/gd3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raphael-group/gd3/issues/13/comments","statuses_url":"https://api.github.com/repos/raphael-group/gd3/statuses/5290f1671923c7548832f5ca795ffb779b498842","head":{"label":"raphael-group:addProteinSequence","ref":"addProteinSequence","sha":"5290f1671923c7548832f5ca795ffb779b498842","user":{"login":"raphael-group","id":5168500,"avatar_url":"https://avatars.githubusercontent.com/u/5168500?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael-group","html_url":"https://github.com/raphael-group","followers_url":"https://api.github.com/users/raphael-group/followers","following_url":"https://api.github.com/users/raphael-group/following{/other_user}","gists_url":"https://api.github.com/users/raphael-group/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael-group/subscriptions","organizations_url":"https://api.github.com/users/raphael-group/orgs","repos_url":"https://api.github.com/users/raphael-group/repos","events_url":"https://api.github.com/users/raphael-group/events{/privacy}","received_events_url":"https://api.github.com/users/raphael-group/received_events","type":"Organization","site_admin":false},"repo":{"id":15621708,"name":"gd3","full_name":"raphael-group/gd3","owner":{"login":"raphael-group","id":5168500,"avatar_url":"https://avatars.githubusercontent.com/u/5168500?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael-group","html_url":"https://github.com/raphael-group","followers_url":"https://api.github.com/users/raphael-group/followers","following_url":"https://api.github.com/users/raphael-group/following{/other_user}","gists_url":"https://api.github.com/users/raphael-group/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael-group/subscriptions","organizations_url":"https://api.github.com/users/raphael-group/orgs","repos_url":"https://api.github.com/users/raphael-group/repos","events_url":"https://api.github.com/users/raphael-group/events{/privacy}","received_events_url":"https://api.github.com/users/raphael-group/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raphael-group/gd3","description":"Javascript library for visualizing genomics data with D3.","fork":false,"url":"https://api.github.com/repos/raphael-group/gd3","forks_url":"https://api.github.com/repos/raphael-group/gd3/forks","keys_url":"https://api.github.com/repos/raphael-group/gd3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raphael-group/gd3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raphael-group/gd3/teams","hooks_url":"https://api.github.com/repos/raphael-group/gd3/hooks","issue_events_url":"https://api.github.com/repos/raphael-group/gd3/issues/events{/number}","events_url":"https://api.github.com/repos/raphael-group/gd3/events","assignees_url":"https://api.github.com/repos/raphael-group/gd3/assignees{/user}","branches_url":"https://api.github.com/repos/raphael-group/gd3/branches{/branch}","tags_url":"https://api.github.com/repos/raphael-group/gd3/tags","blobs_url":"https://api.github.com/repos/raphael-group/gd3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raphael-group/gd3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raphael-group/gd3/git/refs{/sha}","trees_url":"https://api.github.com/repos/raphael-group/gd3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raphael-group/gd3/statuses/{sha}","languages_url":"https://api.github.com/repos/raphael-group/gd3/languages","stargazers_url":"https://api.github.com/repos/raphael-group/gd3/stargazers","contributors_url":"https://api.github.com/repos/raphael-group/gd3/contributors","subscribers_url":"https://api.github.com/repos/raphael-group/gd3/subscribers","subscription_url":"https://api.github.com/repos/raphael-group/gd3/subscription","commits_url":"https://api.github.com/repos/raphael-group/gd3/commits{/sha}","git_commits_url":"https://api.github.com/repos/raphael-group/gd3/git/commits{/sha}","comments_url":"https://api.github.com/repos/raphael-group/gd3/comments{/number}","issue_comment_url":"https://api.github.com/repos/raphael-group/gd3/issues/comments{/number}","contents_url":"https://api.github.com/repos/raphael-group/gd3/contents/{+path}","compare_url":"https://api.github.com/repos/raphael-group/gd3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raphael-group/gd3/merges","archive_url":"https://api.github.com/repos/raphael-group/gd3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raphael-group/gd3/downloads","issues_url":"https://api.github.com/repos/raphael-group/gd3/issues{/number}","pulls_url":"https://api.github.com/repos/raphael-group/gd3/pulls{/number}","milestones_url":"https://api.github.com/repos/raphael-group/gd3/milestones{/number}","notifications_url":"https://api.github.com/repos/raphael-group/gd3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raphael-group/gd3/labels{/name}","releases_url":"https://api.github.com/repos/raphael-group/gd3/releases{/id}","created_at":"2014-01-03T22:52:50Z","updated_at":"2016-01-11T22:37:00Z","pushed_at":"2016-01-14T16:26:59Z","git_url":"git://github.com/raphael-group/gd3.git","ssh_url":"git@github.com:raphael-group/gd3.git","clone_url":"https://github.com/raphael-group/gd3.git","svn_url":"https://github.com/raphael-group/gd3","homepage":"","size":1531,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":6,"default_branch":"master"}},"base":{"label":"raphael-group:master","ref":"master","sha":"fb6c84a1d7af3fb0375d6feef039de160625c7ab","user":{"login":"raphael-group","id":5168500,"avatar_url":"https://avatars.githubusercontent.com/u/5168500?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael-group","html_url":"https://github.com/raphael-group","followers_url":"https://api.github.com/users/raphael-group/followers","following_url":"https://api.github.com/users/raphael-group/following{/other_user}","gists_url":"https://api.github.com/users/raphael-group/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael-group/subscriptions","organizations_url":"https://api.github.com/users/raphael-group/orgs","repos_url":"https://api.github.com/users/raphael-group/repos","events_url":"https://api.github.com/users/raphael-group/events{/privacy}","received_events_url":"https://api.github.com/users/raphael-group/received_events","type":"Organization","site_admin":false},"repo":{"id":15621708,"name":"gd3","full_name":"raphael-group/gd3","owner":{"login":"raphael-group","id":5168500,"avatar_url":"https://avatars.githubusercontent.com/u/5168500?v=3","gravatar_id":"","url":"https://api.github.com/users/raphael-group","html_url":"https://github.com/raphael-group","followers_url":"https://api.github.com/users/raphael-group/followers","following_url":"https://api.github.com/users/raphael-group/following{/other_user}","gists_url":"https://api.github.com/users/raphael-group/gists{/gist_id}","starred_url":"https://api.github.com/users/raphael-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphael-group/subscriptions","organizations_url":"https://api.github.com/users/raphael-group/orgs","repos_url":"https://api.github.com/users/raphael-group/repos","events_url":"https://api.github.com/users/raphael-group/events{/privacy}","received_events_url":"https://api.github.com/users/raphael-group/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raphael-group/gd3","description":"Javascript library for visualizing genomics data with D3.","fork":false,"url":"https://api.github.com/repos/raphael-group/gd3","forks_url":"https://api.github.com/repos/raphael-group/gd3/forks","keys_url":"https://api.github.com/repos/raphael-group/gd3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raphael-group/gd3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raphael-group/gd3/teams","hooks_url":"https://api.github.com/repos/raphael-group/gd3/hooks","issue_events_url":"https://api.github.com/repos/raphael-group/gd3/issues/events{/number}","events_url":"https://api.github.com/repos/raphael-group/gd3/events","assignees_url":"https://api.github.com/repos/raphael-group/gd3/assignees{/user}","branches_url":"https://api.github.com/repos/raphael-group/gd3/branches{/branch}","tags_url":"https://api.github.com/repos/raphael-group/gd3/tags","blobs_url":"https://api.github.com/repos/raphael-group/gd3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raphael-group/gd3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raphael-group/gd3/git/refs{/sha}","trees_url":"https://api.github.com/repos/raphael-group/gd3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raphael-group/gd3/statuses/{sha}","languages_url":"https://api.github.com/repos/raphael-group/gd3/languages","stargazers_url":"https://api.github.com/repos/raphael-group/gd3/stargazers","contributors_url":"https://api.github.com/repos/raphael-group/gd3/contributors","subscribers_url":"https://api.github.com/repos/raphael-group/gd3/subscribers","subscription_url":"https://api.github.com/repos/raphael-group/gd3/subscription","commits_url":"https://api.github.com/repos/raphael-group/gd3/commits{/sha}","git_commits_url":"https://api.github.com/repos/raphael-group/gd3/git/commits{/sha}","comments_url":"https://api.github.com/repos/raphael-group/gd3/comments{/number}","issue_comment_url":"https://api.github.com/repos/raphael-group/gd3/issues/comments{/number}","contents_url":"https://api.github.com/repos/raphael-group/gd3/contents/{+path}","compare_url":"https://api.github.com/repos/raphael-group/gd3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raphael-group/gd3/merges","archive_url":"https://api.github.com/repos/raphael-group/gd3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raphael-group/gd3/downloads","issues_url":"https://api.github.com/repos/raphael-group/gd3/issues{/number}","pulls_url":"https://api.github.com/repos/raphael-group/gd3/pulls{/number}","milestones_url":"https://api.github.com/repos/raphael-group/gd3/milestones{/number}","notifications_url":"https://api.github.com/repos/raphael-group/gd3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raphael-group/gd3/labels{/name}","releases_url":"https://api.github.com/repos/raphael-group/gd3/releases{/id}","created_at":"2014-01-03T22:52:50Z","updated_at":"2016-01-11T22:37:00Z","pushed_at":"2016-01-14T16:26:59Z","git_url":"git://github.com/raphael-group/gd3.git","ssh_url":"git@github.com:raphael-group/gd3.git","clone_url":"https://github.com/raphael-group/gd3.git","svn_url":"https://github.com/raphael-group/gd3","homepage":"","size":1531,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raphael-group/gd3/pulls/13"},"html":{"href":"https://github.com/raphael-group/gd3/pull/13"},"issue":{"href":"https://api.github.com/repos/raphael-group/gd3/issues/13"},"comments":{"href":"https://api.github.com/repos/raphael-group/gd3/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/raphael-group/gd3/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/raphael-group/gd3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raphael-group/gd3/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/raphael-group/gd3/statuses/5290f1671923c7548832f5ca795ffb779b498842"}}}}