{"action":"created","comment":{"url":"https://api.github.com/repos/ga4gh/server/pulls/comments/26772958","id":26772958,"diff_hunk":"@@ -490,9 +506,42 @@ def _addFile(self, filename):\n                 if chrom in self._chromFileMap:\n                     raise Exception(\"cannot have overlapping VCF/BCF files.\")\n                 self._updateMetadata(varFile)\n+                self._updateCallSetIds(varFile)\n                 self._chromFileMap[chrom] = varFile\n \n-    def convertVariant(self, record):\n+    def convertVariant(self, record, callSetIds):\n+        \"\"\"\n+        Converts the specified pysam variant record into a GA4GH Variant\n+        object. Only calls for the specified list of callSetIds will\n+        be included.\n+        \"\"\"\n+        def _convertGaCall(recordId, recordInfo, call):","path":"ga4gh/datamodel/variants.py","position":53,"original_position":53,"commit_id":"82e97d9946be7b64384262a0f6cf2b74fcd72a6b","original_commit_id":"79e4ed468e390fd453c3bdc29621bc3ff02b7131","user":{"login":"shajoezhu","id":3692541,"avatar_url":"https://avatars.githubusercontent.com/u/3692541?v=3","gravatar_id":"","url":"https://api.github.com/users/shajoezhu","html_url":"https://github.com/shajoezhu","followers_url":"https://api.github.com/users/shajoezhu/followers","following_url":"https://api.github.com/users/shajoezhu/following{/other_user}","gists_url":"https://api.github.com/users/shajoezhu/gists{/gist_id}","starred_url":"https://api.github.com/users/shajoezhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shajoezhu/subscriptions","organizations_url":"https://api.github.com/users/shajoezhu/orgs","repos_url":"https://api.github.com/users/shajoezhu/repos","events_url":"https://api.github.com/users/shajoezhu/events{/privacy}","received_events_url":"https://api.github.com/users/shajoezhu/received_events","type":"User","site_admin":false},"body":"check","created_at":"2015-03-19T16:47:31Z","updated_at":"2015-03-19T16:47:31Z","html_url":"https://github.com/ga4gh/server/pull/264#discussion_r26772958","pull_request_url":"https://api.github.com/repos/ga4gh/server/pulls/264","_links":{"self":{"href":"https://api.github.com/repos/ga4gh/server/pulls/comments/26772958"},"html":{"href":"https://github.com/ga4gh/server/pull/264#discussion_r26772958"},"pull_request":{"href":"https://api.github.com/repos/ga4gh/server/pulls/264"}}},"pull_request":{"url":"https://api.github.com/repos/ga4gh/server/pulls/264","id":31520361,"html_url":"https://github.com/ga4gh/server/pull/264","diff_url":"https://github.com/ga4gh/server/pull/264.diff","patch_url":"https://github.com/ga4gh/server/pull/264.patch","issue_url":"https://api.github.com/repos/ga4gh/server/issues/264","number":264,"state":"open","locked":false,"title":"resolving issue #221","user":{"login":"shajoezhu","id":3692541,"avatar_url":"https://avatars.githubusercontent.com/u/3692541?v=3","gravatar_id":"","url":"https://api.github.com/users/shajoezhu","html_url":"https://github.com/shajoezhu","followers_url":"https://api.github.com/users/shajoezhu/followers","following_url":"https://api.github.com/users/shajoezhu/following{/other_user}","gists_url":"https://api.github.com/users/shajoezhu/gists{/gist_id}","starred_url":"https://api.github.com/users/shajoezhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shajoezhu/subscriptions","organizations_url":"https://api.github.com/users/shajoezhu/orgs","repos_url":"https://api.github.com/users/shajoezhu/repos","events_url":"https://api.github.com/users/shajoezhu/events{/privacy}","received_events_url":"https://api.github.com/users/shajoezhu/received_events","type":"User","site_admin":false},"body":"reworked on #221, this should be a cleaner version now. ready for revising","created_at":"2015-03-19T12:57:51Z","updated_at":"2015-03-19T16:47:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c1a1ba18a7d43b60f32ca1111a0602694728ed9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga4gh/server/pulls/264/commits","review_comments_url":"https://api.github.com/repos/ga4gh/server/pulls/264/comments","review_comment_url":"https://api.github.com/repos/ga4gh/server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga4gh/server/issues/264/comments","statuses_url":"https://api.github.com/repos/ga4gh/server/statuses/82e97d9946be7b64384262a0f6cf2b74fcd72a6b","head":{"label":"shajoezhu:issue221_rework","ref":"issue221_rework","sha":"82e97d9946be7b64384262a0f6cf2b74fcd72a6b","user":{"login":"shajoezhu","id":3692541,"avatar_url":"https://avatars.githubusercontent.com/u/3692541?v=3","gravatar_id":"","url":"https://api.github.com/users/shajoezhu","html_url":"https://github.com/shajoezhu","followers_url":"https://api.github.com/users/shajoezhu/followers","following_url":"https://api.github.com/users/shajoezhu/following{/other_user}","gists_url":"https://api.github.com/users/shajoezhu/gists{/gist_id}","starred_url":"https://api.github.com/users/shajoezhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shajoezhu/subscriptions","organizations_url":"https://api.github.com/users/shajoezhu/orgs","repos_url":"https://api.github.com/users/shajoezhu/repos","events_url":"https://api.github.com/users/shajoezhu/events{/privacy}","received_events_url":"https://api.github.com/users/shajoezhu/received_events","type":"User","site_admin":false},"repo":{"id":31903230,"name":"server","full_name":"shajoezhu/server","owner":{"login":"shajoezhu","id":3692541,"avatar_url":"https://avatars.githubusercontent.com/u/3692541?v=3","gravatar_id":"","url":"https://api.github.com/users/shajoezhu","html_url":"https://github.com/shajoezhu","followers_url":"https://api.github.com/users/shajoezhu/followers","following_url":"https://api.github.com/users/shajoezhu/following{/other_user}","gists_url":"https://api.github.com/users/shajoezhu/gists{/gist_id}","starred_url":"https://api.github.com/users/shajoezhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shajoezhu/subscriptions","organizations_url":"https://api.github.com/users/shajoezhu/orgs","repos_url":"https://api.github.com/users/shajoezhu/repos","events_url":"https://api.github.com/users/shajoezhu/events{/privacy}","received_events_url":"https://api.github.com/users/shajoezhu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shajoezhu/server","description":"A reference implementation of the APIs defined in the schemas repository.","fork":true,"url":"https://api.github.com/repos/shajoezhu/server","forks_url":"https://api.github.com/repos/shajoezhu/server/forks","keys_url":"https://api.github.com/repos/shajoezhu/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shajoezhu/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shajoezhu/server/teams","hooks_url":"https://api.github.com/repos/shajoezhu/server/hooks","issue_events_url":"https://api.github.com/repos/shajoezhu/server/issues/events{/number}","events_url":"https://api.github.com/repos/shajoezhu/server/events","assignees_url":"https://api.github.com/repos/shajoezhu/server/assignees{/user}","branches_url":"https://api.github.com/repos/shajoezhu/server/branches{/branch}","tags_url":"https://api.github.com/repos/shajoezhu/server/tags","blobs_url":"https://api.github.com/repos/shajoezhu/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shajoezhu/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shajoezhu/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/shajoezhu/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shajoezhu/server/statuses/{sha}","languages_url":"https://api.github.com/repos/shajoezhu/server/languages","stargazers_url":"https://api.github.com/repos/shajoezhu/server/stargazers","contributors_url":"https://api.github.com/repos/shajoezhu/server/contributors","subscribers_url":"https://api.github.com/repos/shajoezhu/server/subscribers","subscription_url":"https://api.github.com/repos/shajoezhu/server/subscription","commits_url":"https://api.github.com/repos/shajoezhu/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/shajoezhu/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/shajoezhu/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/shajoezhu/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/shajoezhu/server/contents/{+path}","compare_url":"https://api.github.com/repos/shajoezhu/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shajoezhu/server/merges","archive_url":"https://api.github.com/repos/shajoezhu/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shajoezhu/server/downloads","issues_url":"https://api.github.com/repos/shajoezhu/server/issues{/number}","pulls_url":"https://api.github.com/repos/shajoezhu/server/pulls{/number}","milestones_url":"https://api.github.com/repos/shajoezhu/server/milestones{/number}","notifications_url":"https://api.github.com/repos/shajoezhu/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shajoezhu/server/labels{/name}","releases_url":"https://api.github.com/repos/shajoezhu/server/releases{/id}","created_at":"2015-03-09T14:32:06Z","updated_at":"2015-03-13T15:20:09Z","pushed_at":"2015-03-19T14:56:42Z","git_url":"git://github.com/shajoezhu/server.git","ssh_url":"git@github.com:shajoezhu/server.git","clone_url":"https://github.com/shajoezhu/server.git","svn_url":"https://github.com/shajoezhu/server","homepage":null,"size":1969,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga4gh:master","ref":"master","sha":"b552994f30f30df9b496767b328bc8544e0ff2c7","user":{"login":"ga4gh","id":6921777,"avatar_url":"https://avatars.githubusercontent.com/u/6921777?v=3","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"repo":{"id":22882621,"name":"server","full_name":"ga4gh/server","owner":{"login":"ga4gh","id":6921777,"avatar_url":"https://avatars.githubusercontent.com/u/6921777?v=3","gravatar_id":"","url":"https://api.github.com/users/ga4gh","html_url":"https://github.com/ga4gh","followers_url":"https://api.github.com/users/ga4gh/followers","following_url":"https://api.github.com/users/ga4gh/following{/other_user}","gists_url":"https://api.github.com/users/ga4gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ga4gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga4gh/subscriptions","organizations_url":"https://api.github.com/users/ga4gh/orgs","repos_url":"https://api.github.com/users/ga4gh/repos","events_url":"https://api.github.com/users/ga4gh/events{/privacy}","received_events_url":"https://api.github.com/users/ga4gh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga4gh/server","description":"A reference implementation of the APIs defined in the schemas repository.","fork":false,"url":"https://api.github.com/repos/ga4gh/server","forks_url":"https://api.github.com/repos/ga4gh/server/forks","keys_url":"https://api.github.com/repos/ga4gh/server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga4gh/server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga4gh/server/teams","hooks_url":"https://api.github.com/repos/ga4gh/server/hooks","issue_events_url":"https://api.github.com/repos/ga4gh/server/issues/events{/number}","events_url":"https://api.github.com/repos/ga4gh/server/events","assignees_url":"https://api.github.com/repos/ga4gh/server/assignees{/user}","branches_url":"https://api.github.com/repos/ga4gh/server/branches{/branch}","tags_url":"https://api.github.com/repos/ga4gh/server/tags","blobs_url":"https://api.github.com/repos/ga4gh/server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga4gh/server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga4gh/server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga4gh/server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga4gh/server/statuses/{sha}","languages_url":"https://api.github.com/repos/ga4gh/server/languages","stargazers_url":"https://api.github.com/repos/ga4gh/server/stargazers","contributors_url":"https://api.github.com/repos/ga4gh/server/contributors","subscribers_url":"https://api.github.com/repos/ga4gh/server/subscribers","subscription_url":"https://api.github.com/repos/ga4gh/server/subscription","commits_url":"https://api.github.com/repos/ga4gh/server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga4gh/server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga4gh/server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga4gh/server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga4gh/server/contents/{+path}","compare_url":"https://api.github.com/repos/ga4gh/server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga4gh/server/merges","archive_url":"https://api.github.com/repos/ga4gh/server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga4gh/server/downloads","issues_url":"https://api.github.com/repos/ga4gh/server/issues{/number}","pulls_url":"https://api.github.com/repos/ga4gh/server/pulls{/number}","milestones_url":"https://api.github.com/repos/ga4gh/server/milestones{/number}","notifications_url":"https://api.github.com/repos/ga4gh/server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga4gh/server/labels{/name}","releases_url":"https://api.github.com/repos/ga4gh/server/releases{/id}","created_at":"2014-08-12T15:31:49Z","updated_at":"2015-03-19T16:31:37Z","pushed_at":"2015-03-19T16:31:37Z","git_url":"git://github.com/ga4gh/server.git","ssh_url":"git@github.com:ga4gh/server.git","clone_url":"https://github.com/ga4gh/server.git","svn_url":"https://github.com/ga4gh/server","homepage":null,"size":4257,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":33,"forks":26,"open_issues":33,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga4gh/server/pulls/264"},"html":{"href":"https://github.com/ga4gh/server/pull/264"},"issue":{"href":"https://api.github.com/repos/ga4gh/server/issues/264"},"comments":{"href":"https://api.github.com/repos/ga4gh/server/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/ga4gh/server/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/ga4gh/server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga4gh/server/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/ga4gh/server/statuses/82e97d9946be7b64384262a0f6cf2b74fcd72a6b"}}}}