{"action":"created","comment":{"url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/comments/76500211","id":76500211,"diff_hunk":"@@ -78,3 +135,42 @@ def consolidate_tarballs_job(job, fname_to_id):\n                         tarinfo.name = os.path.join(output_name, fname, os.path.basename(tarinfo.name))\n                         f_out.addfile(tarinfo, fileobj=f_in_file)\n     return job.fileStore.writeGlobalFile(out_tar)\n+\n+\n+def get_files_from_filestore(job, work_dir, input_dict):","path":"src/toil_scripts/lib/files.py","position":80,"original_position":80,"commit_id":"0790c785d9c5c95aa43b10e06c8157e487aefd35","original_commit_id":"0790c785d9c5c95aa43b10e06c8157e487aefd35","user":{"login":"jpfeil","id":12463956,"avatar_url":"https://avatars.githubusercontent.com/u/12463956?v=3","gravatar_id":"","url":"https://api.github.com/users/jpfeil","html_url":"https://github.com/jpfeil","followers_url":"https://api.github.com/users/jpfeil/followers","following_url":"https://api.github.com/users/jpfeil/following{/other_user}","gists_url":"https://api.github.com/users/jpfeil/gists{/gist_id}","starred_url":"https://api.github.com/users/jpfeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpfeil/subscriptions","organizations_url":"https://api.github.com/users/jpfeil/orgs","repos_url":"https://api.github.com/users/jpfeil/repos","events_url":"https://api.github.com/users/jpfeil/events{/privacy}","received_events_url":"https://api.github.com/users/jpfeil/received_events","type":"User","site_admin":false},"body":"I think it is more convenient and we save a line of code in each function. It also unpacks tarfiles. ","created_at":"2016-08-26T22:58:54Z","updated_at":"2016-08-26T22:58:54Z","html_url":"https://github.com/BD2KGenomics/toil-scripts/pull/335#discussion_r76500211","pull_request_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335","_links":{"self":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/comments/76500211"},"html":{"href":"https://github.com/BD2KGenomics/toil-scripts/pull/335#discussion_r76500211"},"pull_request":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335"}}},"pull_request":{"url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335","id":75901984,"html_url":"https://github.com/BD2KGenomics/toil-scripts/pull/335","diff_url":"https://github.com/BD2KGenomics/toil-scripts/pull/335.diff","patch_url":"https://github.com/BD2KGenomics/toil-scripts/pull/335.patch","issue_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/335","number":335,"state":"open","locked":false,"title":"Refactor gatk germline (resolves #280)","user":{"login":"jpfeil","id":12463956,"avatar_url":"https://avatars.githubusercontent.com/u/12463956?v=3","gravatar_id":"","url":"https://api.github.com/users/jpfeil","html_url":"https://github.com/jpfeil","followers_url":"https://api.github.com/users/jpfeil/followers","following_url":"https://api.github.com/users/jpfeil/following{/other_user}","gists_url":"https://api.github.com/users/jpfeil/gists{/gist_id}","starred_url":"https://api.github.com/users/jpfeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpfeil/subscriptions","organizations_url":"https://api.github.com/users/jpfeil/orgs","repos_url":"https://api.github.com/users/jpfeil/repos","events_url":"https://api.github.com/users/jpfeil/events{/privacy}","received_events_url":"https://api.github.com/users/jpfeil/received_events","type":"User","site_admin":false},"body":"resolves #280 \r\n\r\n@jvivian  @fnothaft @hannes-ucsc","created_at":"2016-06-30T22:37:15Z","updated_at":"2016-08-26T22:58:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bd353e77c0a9b651839dbca0c3f344fe55e8cd7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335/commits","review_comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335/comments","review_comment_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/335/comments","statuses_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/0790c785d9c5c95aa43b10e06c8157e487aefd35","head":{"label":"BD2KGenomics:issues/280-refactor-germline-pipeline","ref":"issues/280-refactor-germline-pipeline","sha":"0790c785d9c5c95aa43b10e06c8157e487aefd35","user":{"login":"BD2KGenomics","id":8701293,"avatar_url":"https://avatars.githubusercontent.com/u/8701293?v=3","gravatar_id":"","url":"https://api.github.com/users/BD2KGenomics","html_url":"https://github.com/BD2KGenomics","followers_url":"https://api.github.com/users/BD2KGenomics/followers","following_url":"https://api.github.com/users/BD2KGenomics/following{/other_user}","gists_url":"https://api.github.com/users/BD2KGenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/BD2KGenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BD2KGenomics/subscriptions","organizations_url":"https://api.github.com/users/BD2KGenomics/orgs","repos_url":"https://api.github.com/users/BD2KGenomics/repos","events_url":"https://api.github.com/users/BD2KGenomics/events{/privacy}","received_events_url":"https://api.github.com/users/BD2KGenomics/received_events","type":"Organization","site_admin":false},"repo":{"id":39923176,"name":"toil-scripts","full_name":"BD2KGenomics/toil-scripts","owner":{"login":"BD2KGenomics","id":8701293,"avatar_url":"https://avatars.githubusercontent.com/u/8701293?v=3","gravatar_id":"","url":"https://api.github.com/users/BD2KGenomics","html_url":"https://github.com/BD2KGenomics","followers_url":"https://api.github.com/users/BD2KGenomics/followers","following_url":"https://api.github.com/users/BD2KGenomics/following{/other_user}","gists_url":"https://api.github.com/users/BD2KGenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/BD2KGenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BD2KGenomics/subscriptions","organizations_url":"https://api.github.com/users/BD2KGenomics/orgs","repos_url":"https://api.github.com/users/BD2KGenomics/repos","events_url":"https://api.github.com/users/BD2KGenomics/events{/privacy}","received_events_url":"https://api.github.com/users/BD2KGenomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BD2KGenomics/toil-scripts","description":"Toil workflows for common genomic pipelines","fork":false,"url":"https://api.github.com/repos/BD2KGenomics/toil-scripts","forks_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/forks","keys_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/teams","hooks_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/hooks","issue_events_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/events","assignees_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/tags","blobs_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/languages","stargazers_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/stargazers","contributors_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/contributors","subscribers_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/subscribers","subscription_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/subscription","commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/merges","archive_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/downloads","issues_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/labels{/name}","releases_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/deployments","created_at":"2015-07-30T00:42:23Z","updated_at":"2016-08-18T04:22:50Z","pushed_at":"2016-08-26T20:17:36Z","git_url":"git://github.com/BD2KGenomics/toil-scripts.git","ssh_url":"git@github.com:BD2KGenomics/toil-scripts.git","clone_url":"https://github.com/BD2KGenomics/toil-scripts.git","svn_url":"https://github.com/BD2KGenomics/toil-scripts","homepage":"","size":1148,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":66,"forks":12,"open_issues":66,"watchers":16,"default_branch":"master"}},"base":{"label":"BD2KGenomics:master","ref":"master","sha":"406c4d0ea4c9bd8d339c6baa535f3d0b7acd937a","user":{"login":"BD2KGenomics","id":8701293,"avatar_url":"https://avatars.githubusercontent.com/u/8701293?v=3","gravatar_id":"","url":"https://api.github.com/users/BD2KGenomics","html_url":"https://github.com/BD2KGenomics","followers_url":"https://api.github.com/users/BD2KGenomics/followers","following_url":"https://api.github.com/users/BD2KGenomics/following{/other_user}","gists_url":"https://api.github.com/users/BD2KGenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/BD2KGenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BD2KGenomics/subscriptions","organizations_url":"https://api.github.com/users/BD2KGenomics/orgs","repos_url":"https://api.github.com/users/BD2KGenomics/repos","events_url":"https://api.github.com/users/BD2KGenomics/events{/privacy}","received_events_url":"https://api.github.com/users/BD2KGenomics/received_events","type":"Organization","site_admin":false},"repo":{"id":39923176,"name":"toil-scripts","full_name":"BD2KGenomics/toil-scripts","owner":{"login":"BD2KGenomics","id":8701293,"avatar_url":"https://avatars.githubusercontent.com/u/8701293?v=3","gravatar_id":"","url":"https://api.github.com/users/BD2KGenomics","html_url":"https://github.com/BD2KGenomics","followers_url":"https://api.github.com/users/BD2KGenomics/followers","following_url":"https://api.github.com/users/BD2KGenomics/following{/other_user}","gists_url":"https://api.github.com/users/BD2KGenomics/gists{/gist_id}","starred_url":"https://api.github.com/users/BD2KGenomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BD2KGenomics/subscriptions","organizations_url":"https://api.github.com/users/BD2KGenomics/orgs","repos_url":"https://api.github.com/users/BD2KGenomics/repos","events_url":"https://api.github.com/users/BD2KGenomics/events{/privacy}","received_events_url":"https://api.github.com/users/BD2KGenomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BD2KGenomics/toil-scripts","description":"Toil workflows for common genomic pipelines","fork":false,"url":"https://api.github.com/repos/BD2KGenomics/toil-scripts","forks_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/forks","keys_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/teams","hooks_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/hooks","issue_events_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/events","assignees_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/tags","blobs_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/languages","stargazers_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/stargazers","contributors_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/contributors","subscribers_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/subscribers","subscription_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/subscription","commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/merges","archive_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/downloads","issues_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/labels{/name}","releases_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/BD2KGenomics/toil-scripts/deployments","created_at":"2015-07-30T00:42:23Z","updated_at":"2016-08-18T04:22:50Z","pushed_at":"2016-08-26T20:17:36Z","git_url":"git://github.com/BD2KGenomics/toil-scripts.git","ssh_url":"git@github.com:BD2KGenomics/toil-scripts.git","clone_url":"https://github.com/BD2KGenomics/toil-scripts.git","svn_url":"https://github.com/BD2KGenomics/toil-scripts","homepage":"","size":1148,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":66,"forks":12,"open_issues":66,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335"},"html":{"href":"https://github.com/BD2KGenomics/toil-scripts/pull/335"},"issue":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/335"},"comments":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/issues/335/comments"},"review_comments":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335/comments"},"review_comment":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/pulls/335/commits"},"statuses":{"href":"https://api.github.com/repos/BD2KGenomics/toil-scripts/statuses/0790c785d9c5c95aa43b10e06c8157e487aefd35"}}}}
{"actor":{"display_login":"jpfeil"}}