{"action":"created","comment":{"url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/comments/73688857","id":73688857,"diff_hunk":"@@ -0,0 +1,33 @@\n+#!/usr/bin/perl -w\n+\n+package illumina_metadataParser;\n+\n+use JSON;\n+use strict;\n+use warnings;\n+\n+BEGIN {\n+\n+    use Exporter;\n+\n+    our @ISA = ('Exporter');\n+\n+    our @EXPORT = qw (\n+        &metadataParse\n+   );\n+}\n+\n+sub metadataParse(@){\n+    my $outputdir_name = shift || return undef;\n+    my $metadata_file = \"$outputdir_name/metadata\";","path":"illumina_metadataParser.pm","position":22,"original_position":22,"commit_id":"6cb14b1681f9c40d8ed1858a09b47e77e40d41a8","original_commit_id":"3c51044e28ed2e9f3d2e7d3cea64defe75895f57","user":{"login":"sambrightman","id":536652,"avatar_url":"https://avatars.githubusercontent.com/u/536652?v=3","gravatar_id":"","url":"https://api.github.com/users/sambrightman","html_url":"https://github.com/sambrightman","followers_url":"https://api.github.com/users/sambrightman/followers","following_url":"https://api.github.com/users/sambrightman/following{/other_user}","gists_url":"https://api.github.com/users/sambrightman/gists{/gist_id}","starred_url":"https://api.github.com/users/sambrightman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sambrightman/subscriptions","organizations_url":"https://api.github.com/users/sambrightman/orgs","repos_url":"https://api.github.com/users/sambrightman/repos","events_url":"https://api.github.com/users/sambrightman/events{/privacy}","received_events_url":"https://api.github.com/users/sambrightman/received_events","type":"User","site_admin":false},"body":"Would be normal to use something like `File::Spec` for path joining.","created_at":"2016-08-05T13:07:50Z","updated_at":"2016-08-05T13:07:50Z","html_url":"https://github.com/hartwigmedical/pipeline/pull/5#discussion_r73688857","pull_request_url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/comments/73688857"},"html":{"href":"https://github.com/hartwigmedical/pipeline/pull/5#discussion_r73688857"},"pull_request":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5","id":80237121,"html_url":"https://github.com/hartwigmedical/pipeline/pull/5","diff_url":"https://github.com/hartwigmedical/pipeline/pull/5.diff","patch_url":"https://github.com/hartwigmedical/pipeline/pull/5.patch","issue_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues/5","number":5,"state":"closed","locked":false,"title":"Metadata","user":{"login":"Seth-Karlo","id":10834938,"avatar_url":"https://avatars.githubusercontent.com/u/10834938?v=3","gravatar_id":"","url":"https://api.github.com/users/Seth-Karlo","html_url":"https://github.com/Seth-Karlo","followers_url":"https://api.github.com/users/Seth-Karlo/followers","following_url":"https://api.github.com/users/Seth-Karlo/following{/other_user}","gists_url":"https://api.github.com/users/Seth-Karlo/gists{/gist_id}","starred_url":"https://api.github.com/users/Seth-Karlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seth-Karlo/subscriptions","organizations_url":"https://api.github.com/users/Seth-Karlo/orgs","repos_url":"https://api.github.com/users/Seth-Karlo/repos","events_url":"https://api.github.com/users/Seth-Karlo/events{/privacy}","received_events_url":"https://api.github.com/users/Seth-Karlo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-05T12:43:13Z","updated_at":"2016-08-05T13:07:50Z","closed_at":"2016-08-05T12:48:10Z","merged_at":"2016-08-05T12:48:10Z","merge_commit_sha":"db34224607fe3f0e72aa2fdaae96c1668001659c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5/commits","review_comments_url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5/comments","review_comment_url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues/5/comments","statuses_url":"https://api.github.com/repos/hartwigmedical/pipeline/statuses/6cb14b1681f9c40d8ed1858a09b47e77e40d41a8","head":{"label":"hartwigmedical:metadata","ref":"metadata","sha":"6cb14b1681f9c40d8ed1858a09b47e77e40d41a8","user":{"login":"hartwigmedical","id":16318013,"avatar_url":"https://avatars.githubusercontent.com/u/16318013?v=3","gravatar_id":"","url":"https://api.github.com/users/hartwigmedical","html_url":"https://github.com/hartwigmedical","followers_url":"https://api.github.com/users/hartwigmedical/followers","following_url":"https://api.github.com/users/hartwigmedical/following{/other_user}","gists_url":"https://api.github.com/users/hartwigmedical/gists{/gist_id}","starred_url":"https://api.github.com/users/hartwigmedical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartwigmedical/subscriptions","organizations_url":"https://api.github.com/users/hartwigmedical/orgs","repos_url":"https://api.github.com/users/hartwigmedical/repos","events_url":"https://api.github.com/users/hartwigmedical/events{/privacy}","received_events_url":"https://api.github.com/users/hartwigmedical/received_events","type":"Organization","site_admin":false},"repo":{"id":51505797,"name":"pipeline","full_name":"hartwigmedical/pipeline","owner":{"login":"hartwigmedical","id":16318013,"avatar_url":"https://avatars.githubusercontent.com/u/16318013?v=3","gravatar_id":"","url":"https://api.github.com/users/hartwigmedical","html_url":"https://github.com/hartwigmedical","followers_url":"https://api.github.com/users/hartwigmedical/followers","following_url":"https://api.github.com/users/hartwigmedical/following{/other_user}","gists_url":"https://api.github.com/users/hartwigmedical/gists{/gist_id}","starred_url":"https://api.github.com/users/hartwigmedical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartwigmedical/subscriptions","organizations_url":"https://api.github.com/users/hartwigmedical/orgs","repos_url":"https://api.github.com/users/hartwigmedical/repos","events_url":"https://api.github.com/users/hartwigmedical/events{/privacy}","received_events_url":"https://api.github.com/users/hartwigmedical/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hartwigmedical/pipeline","description":"Default Hartwig Medical Data processing pipeline","fork":false,"url":"https://api.github.com/repos/hartwigmedical/pipeline","forks_url":"https://api.github.com/repos/hartwigmedical/pipeline/forks","keys_url":"https://api.github.com/repos/hartwigmedical/pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hartwigmedical/pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hartwigmedical/pipeline/teams","hooks_url":"https://api.github.com/repos/hartwigmedical/pipeline/hooks","issue_events_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/hartwigmedical/pipeline/events","assignees_url":"https://api.github.com/repos/hartwigmedical/pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/hartwigmedical/pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/hartwigmedical/pipeline/tags","blobs_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hartwigmedical/pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/hartwigmedical/pipeline/languages","stargazers_url":"https://api.github.com/repos/hartwigmedical/pipeline/stargazers","contributors_url":"https://api.github.com/repos/hartwigmedical/pipeline/contributors","subscribers_url":"https://api.github.com/repos/hartwigmedical/pipeline/subscribers","subscription_url":"https://api.github.com/repos/hartwigmedical/pipeline/subscription","commits_url":"https://api.github.com/repos/hartwigmedical/pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/hartwigmedical/pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/hartwigmedical/pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/hartwigmedical/pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hartwigmedical/pipeline/merges","archive_url":"https://api.github.com/repos/hartwigmedical/pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hartwigmedical/pipeline/downloads","issues_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/hartwigmedical/pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/hartwigmedical/pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hartwigmedical/pipeline/labels{/name}","releases_url":"https://api.github.com/repos/hartwigmedical/pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/hartwigmedical/pipeline/deployments","created_at":"2016-02-11T09:45:21Z","updated_at":"2016-06-08T18:31:55Z","pushed_at":"2016-08-05T12:48:11Z","git_url":"git://github.com/hartwigmedical/pipeline.git","ssh_url":"git@github.com:hartwigmedical/pipeline.git","clone_url":"https://github.com/hartwigmedical/pipeline.git","svn_url":"https://github.com/hartwigmedical/pipeline","homepage":null,"size":324,"stargazers_count":1,"watchers_count":1,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"hartwigmedical:master","ref":"master","sha":"88098beebe534d07ebe7dc3da7229f7288e58a03","user":{"login":"hartwigmedical","id":16318013,"avatar_url":"https://avatars.githubusercontent.com/u/16318013?v=3","gravatar_id":"","url":"https://api.github.com/users/hartwigmedical","html_url":"https://github.com/hartwigmedical","followers_url":"https://api.github.com/users/hartwigmedical/followers","following_url":"https://api.github.com/users/hartwigmedical/following{/other_user}","gists_url":"https://api.github.com/users/hartwigmedical/gists{/gist_id}","starred_url":"https://api.github.com/users/hartwigmedical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartwigmedical/subscriptions","organizations_url":"https://api.github.com/users/hartwigmedical/orgs","repos_url":"https://api.github.com/users/hartwigmedical/repos","events_url":"https://api.github.com/users/hartwigmedical/events{/privacy}","received_events_url":"https://api.github.com/users/hartwigmedical/received_events","type":"Organization","site_admin":false},"repo":{"id":51505797,"name":"pipeline","full_name":"hartwigmedical/pipeline","owner":{"login":"hartwigmedical","id":16318013,"avatar_url":"https://avatars.githubusercontent.com/u/16318013?v=3","gravatar_id":"","url":"https://api.github.com/users/hartwigmedical","html_url":"https://github.com/hartwigmedical","followers_url":"https://api.github.com/users/hartwigmedical/followers","following_url":"https://api.github.com/users/hartwigmedical/following{/other_user}","gists_url":"https://api.github.com/users/hartwigmedical/gists{/gist_id}","starred_url":"https://api.github.com/users/hartwigmedical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hartwigmedical/subscriptions","organizations_url":"https://api.github.com/users/hartwigmedical/orgs","repos_url":"https://api.github.com/users/hartwigmedical/repos","events_url":"https://api.github.com/users/hartwigmedical/events{/privacy}","received_events_url":"https://api.github.com/users/hartwigmedical/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hartwigmedical/pipeline","description":"Default Hartwig Medical Data processing pipeline","fork":false,"url":"https://api.github.com/repos/hartwigmedical/pipeline","forks_url":"https://api.github.com/repos/hartwigmedical/pipeline/forks","keys_url":"https://api.github.com/repos/hartwigmedical/pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hartwigmedical/pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hartwigmedical/pipeline/teams","hooks_url":"https://api.github.com/repos/hartwigmedical/pipeline/hooks","issue_events_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/hartwigmedical/pipeline/events","assignees_url":"https://api.github.com/repos/hartwigmedical/pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/hartwigmedical/pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/hartwigmedical/pipeline/tags","blobs_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hartwigmedical/pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/hartwigmedical/pipeline/languages","stargazers_url":"https://api.github.com/repos/hartwigmedical/pipeline/stargazers","contributors_url":"https://api.github.com/repos/hartwigmedical/pipeline/contributors","subscribers_url":"https://api.github.com/repos/hartwigmedical/pipeline/subscribers","subscription_url":"https://api.github.com/repos/hartwigmedical/pipeline/subscription","commits_url":"https://api.github.com/repos/hartwigmedical/pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/hartwigmedical/pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/hartwigmedical/pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/hartwigmedical/pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/hartwigmedical/pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hartwigmedical/pipeline/merges","archive_url":"https://api.github.com/repos/hartwigmedical/pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hartwigmedical/pipeline/downloads","issues_url":"https://api.github.com/repos/hartwigmedical/pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/hartwigmedical/pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/hartwigmedical/pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/hartwigmedical/pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hartwigmedical/pipeline/labels{/name}","releases_url":"https://api.github.com/repos/hartwigmedical/pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/hartwigmedical/pipeline/deployments","created_at":"2016-02-11T09:45:21Z","updated_at":"2016-06-08T18:31:55Z","pushed_at":"2016-08-05T12:48:11Z","git_url":"git://github.com/hartwigmedical/pipeline.git","ssh_url":"git@github.com:hartwigmedical/pipeline.git","clone_url":"https://github.com/hartwigmedical/pipeline.git","svn_url":"https://github.com/hartwigmedical/pipeline","homepage":null,"size":324,"stargazers_count":1,"watchers_count":1,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5"},"html":{"href":"https://github.com/hartwigmedical/pipeline/pull/5"},"issue":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/issues/5"},"comments":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/hartwigmedical/pipeline/statuses/6cb14b1681f9c40d8ed1858a09b47e77e40d41a8"}}}}
{"actor":{"display_login":"sambrightman"}}