{"action":"created","comment":{"url":"https://api.github.com/repos/robinandeer/puzzle/pulls/comments/52141916","id":52141916,"diff_hunk":"@@ -0,0 +1,54 @@\n+import os\n+import click\n+\n+import puzzle\n+\n+root = click.option('--root', '-r',\n+                        type=click.Path(),\n+                        help=\"Path to where to find variant source(s)\"\n+                    )\n+\n+mode = click.option('-m', '--mode',\n+                        type=click.Choice(['vcf', 'gemini']),\n+                        default='vcf',\n+                        show_default=True\n+                        )\n+\n+verbose = click.option('-v', '--verbose',\n+                        count=True,\n+                        default=2\n+                        )\n+\n+variant_type = click.option('--variant-type',\n+                type=click.Choice(['snv', 'sv']),\n+                default='snv',\n+                show_default=True,\n+                help=\"If Structural Variantion or Single Nucleotide variant\"\\\n+                \" mode should be used\"\n+                )\n+family_file = click.option('-f', '--family_file',\n+                type=click.File('r')\n+                )\n+family_type = click.option('--family_type',\n+                type=click.Choice(['ped', 'alt']),\n+                default='ped',\n+                show_default=True,\n+                help='If the analysis use one of the known setups, please specify which one.'\n+)\n+version = click.version_option(puzzle.__version__)\n+\n+\n+def get_home_dir():","path":"puzzle/cli/utils.py","position":41,"original_position":41,"commit_id":"79075d770740f3068f73b2cb0e16d192974fcf8f","original_commit_id":"79075d770740f3068f73b2cb0e16d192974fcf8f","user":{"login":"moonso","id":405278,"avatar_url":"https://avatars.githubusercontent.com/u/405278?v=3","gravatar_id":"","url":"https://api.github.com/users/moonso","html_url":"https://github.com/moonso","followers_url":"https://api.github.com/users/moonso/followers","following_url":"https://api.github.com/users/moonso/following{/other_user}","gists_url":"https://api.github.com/users/moonso/gists{/gist_id}","starred_url":"https://api.github.com/users/moonso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonso/subscriptions","organizations_url":"https://api.github.com/users/moonso/orgs","repos_url":"https://api.github.com/users/moonso/repos","events_url":"https://api.github.com/users/moonso/events{/privacy}","received_events_url":"https://api.github.com/users/moonso/received_events","type":"User","site_admin":false},"body":"Fixed this","created_at":"2016-02-08T08:31:11Z","updated_at":"2016-02-08T08:31:11Z","html_url":"https://github.com/robinandeer/puzzle/pull/117#discussion_r52141916","pull_request_url":"https://api.github.com/repos/robinandeer/puzzle/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/robinandeer/puzzle/pulls/comments/52141916"},"html":{"href":"https://github.com/robinandeer/puzzle/pull/117#discussion_r52141916"},"pull_request":{"href":"https://api.github.com/repos/robinandeer/puzzle/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/robinandeer/puzzle/pulls/117","id":58549323,"html_url":"https://github.com/robinandeer/puzzle/pull/117","diff_url":"https://github.com/robinandeer/puzzle/pull/117.diff","patch_url":"https://github.com/robinandeer/puzzle/pull/117.patch","issue_url":"https://api.github.com/repos/robinandeer/puzzle/issues/117","number":117,"state":"open","locked":false,"title":"Update cli","user":{"login":"moonso","id":405278,"avatar_url":"https://avatars.githubusercontent.com/u/405278?v=3","gravatar_id":"","url":"https://api.github.com/users/moonso","html_url":"https://github.com/moonso","followers_url":"https://api.github.com/users/moonso/followers","following_url":"https://api.github.com/users/moonso/following{/other_user}","gists_url":"https://api.github.com/users/moonso/gists{/gist_id}","starred_url":"https://api.github.com/users/moonso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moonso/subscriptions","organizations_url":"https://api.github.com/users/moonso/orgs","repos_url":"https://api.github.com/users/moonso/repos","events_url":"https://api.github.com/users/moonso/events{/privacy}","received_events_url":"https://api.github.com/users/moonso/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-07T15:51:50Z","updated_at":"2016-02-08T08:31:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"642666108ee84f32b4b35d08b7c0b1518f1527fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robinandeer/puzzle/pulls/117/commits","review_comments_url":"https://api.github.com/repos/robinandeer/puzzle/pulls/117/comments","review_comment_url":"https://api.github.com/repos/robinandeer/puzzle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robinandeer/puzzle/issues/117/comments","statuses_url":"https://api.github.com/repos/robinandeer/puzzle/statuses/79075d770740f3068f73b2cb0e16d192974fcf8f","head":{"label":"robinandeer:update-cli","ref":"update-cli","sha":"79075d770740f3068f73b2cb0e16d192974fcf8f","user":{"login":"robinandeer","id":1220232,"avatar_url":"https://avatars.githubusercontent.com/u/1220232?v=3","gravatar_id":"","url":"https://api.github.com/users/robinandeer","html_url":"https://github.com/robinandeer","followers_url":"https://api.github.com/users/robinandeer/followers","following_url":"https://api.github.com/users/robinandeer/following{/other_user}","gists_url":"https://api.github.com/users/robinandeer/gists{/gist_id}","starred_url":"https://api.github.com/users/robinandeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinandeer/subscriptions","organizations_url":"https://api.github.com/users/robinandeer/orgs","repos_url":"https://api.github.com/users/robinandeer/repos","events_url":"https://api.github.com/users/robinandeer/events{/privacy}","received_events_url":"https://api.github.com/users/robinandeer/received_events","type":"User","site_admin":false},"repo":{"id":43515022,"name":"puzzle","full_name":"robinandeer/puzzle","owner":{"login":"robinandeer","id":1220232,"avatar_url":"https://avatars.githubusercontent.com/u/1220232?v=3","gravatar_id":"","url":"https://api.github.com/users/robinandeer","html_url":"https://github.com/robinandeer","followers_url":"https://api.github.com/users/robinandeer/followers","following_url":"https://api.github.com/users/robinandeer/following{/other_user}","gists_url":"https://api.github.com/users/robinandeer/gists{/gist_id}","starred_url":"https://api.github.com/users/robinandeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinandeer/subscriptions","organizations_url":"https://api.github.com/users/robinandeer/orgs","repos_url":"https://api.github.com/users/robinandeer/repos","events_url":"https://api.github.com/users/robinandeer/events{/privacy}","received_events_url":"https://api.github.com/users/robinandeer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robinandeer/puzzle","description":"Variant caller GUI + genetic disease analysis","fork":false,"url":"https://api.github.com/repos/robinandeer/puzzle","forks_url":"https://api.github.com/repos/robinandeer/puzzle/forks","keys_url":"https://api.github.com/repos/robinandeer/puzzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robinandeer/puzzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robinandeer/puzzle/teams","hooks_url":"https://api.github.com/repos/robinandeer/puzzle/hooks","issue_events_url":"https://api.github.com/repos/robinandeer/puzzle/issues/events{/number}","events_url":"https://api.github.com/repos/robinandeer/puzzle/events","assignees_url":"https://api.github.com/repos/robinandeer/puzzle/assignees{/user}","branches_url":"https://api.github.com/repos/robinandeer/puzzle/branches{/branch}","tags_url":"https://api.github.com/repos/robinandeer/puzzle/tags","blobs_url":"https://api.github.com/repos/robinandeer/puzzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robinandeer/puzzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robinandeer/puzzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/robinandeer/puzzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robinandeer/puzzle/statuses/{sha}","languages_url":"https://api.github.com/repos/robinandeer/puzzle/languages","stargazers_url":"https://api.github.com/repos/robinandeer/puzzle/stargazers","contributors_url":"https://api.github.com/repos/robinandeer/puzzle/contributors","subscribers_url":"https://api.github.com/repos/robinandeer/puzzle/subscribers","subscription_url":"https://api.github.com/repos/robinandeer/puzzle/subscription","commits_url":"https://api.github.com/repos/robinandeer/puzzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/robinandeer/puzzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/robinandeer/puzzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/robinandeer/puzzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/robinandeer/puzzle/contents/{+path}","compare_url":"https://api.github.com/repos/robinandeer/puzzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robinandeer/puzzle/merges","archive_url":"https://api.github.com/repos/robinandeer/puzzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robinandeer/puzzle/downloads","issues_url":"https://api.github.com/repos/robinandeer/puzzle/issues{/number}","pulls_url":"https://api.github.com/repos/robinandeer/puzzle/pulls{/number}","milestones_url":"https://api.github.com/repos/robinandeer/puzzle/milestones{/number}","notifications_url":"https://api.github.com/repos/robinandeer/puzzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robinandeer/puzzle/labels{/name}","releases_url":"https://api.github.com/repos/robinandeer/puzzle/releases{/id}","deployments_url":"https://api.github.com/repos/robinandeer/puzzle/deployments","created_at":"2015-10-01T18:58:36Z","updated_at":"2016-02-05T19:04:51Z","pushed_at":"2016-02-07T15:51:51Z","git_url":"git://github.com/robinandeer/puzzle.git","ssh_url":"git@github.com:robinandeer/puzzle.git","clone_url":"https://github.com/robinandeer/puzzle.git","svn_url":"https://github.com/robinandeer/puzzle","homepage":"","size":1350,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":29,"forks":6,"open_issues":29,"watchers":4,"default_branch":"master"}},"base":{"label":"robinandeer:master","ref":"master","sha":"e2500c200bb771ed3fdb6decefb258eecf7c3502","user":{"login":"robinandeer","id":1220232,"avatar_url":"https://avatars.githubusercontent.com/u/1220232?v=3","gravatar_id":"","url":"https://api.github.com/users/robinandeer","html_url":"https://github.com/robinandeer","followers_url":"https://api.github.com/users/robinandeer/followers","following_url":"https://api.github.com/users/robinandeer/following{/other_user}","gists_url":"https://api.github.com/users/robinandeer/gists{/gist_id}","starred_url":"https://api.github.com/users/robinandeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinandeer/subscriptions","organizations_url":"https://api.github.com/users/robinandeer/orgs","repos_url":"https://api.github.com/users/robinandeer/repos","events_url":"https://api.github.com/users/robinandeer/events{/privacy}","received_events_url":"https://api.github.com/users/robinandeer/received_events","type":"User","site_admin":false},"repo":{"id":43515022,"name":"puzzle","full_name":"robinandeer/puzzle","owner":{"login":"robinandeer","id":1220232,"avatar_url":"https://avatars.githubusercontent.com/u/1220232?v=3","gravatar_id":"","url":"https://api.github.com/users/robinandeer","html_url":"https://github.com/robinandeer","followers_url":"https://api.github.com/users/robinandeer/followers","following_url":"https://api.github.com/users/robinandeer/following{/other_user}","gists_url":"https://api.github.com/users/robinandeer/gists{/gist_id}","starred_url":"https://api.github.com/users/robinandeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinandeer/subscriptions","organizations_url":"https://api.github.com/users/robinandeer/orgs","repos_url":"https://api.github.com/users/robinandeer/repos","events_url":"https://api.github.com/users/robinandeer/events{/privacy}","received_events_url":"https://api.github.com/users/robinandeer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robinandeer/puzzle","description":"Variant caller GUI + genetic disease analysis","fork":false,"url":"https://api.github.com/repos/robinandeer/puzzle","forks_url":"https://api.github.com/repos/robinandeer/puzzle/forks","keys_url":"https://api.github.com/repos/robinandeer/puzzle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robinandeer/puzzle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robinandeer/puzzle/teams","hooks_url":"https://api.github.com/repos/robinandeer/puzzle/hooks","issue_events_url":"https://api.github.com/repos/robinandeer/puzzle/issues/events{/number}","events_url":"https://api.github.com/repos/robinandeer/puzzle/events","assignees_url":"https://api.github.com/repos/robinandeer/puzzle/assignees{/user}","branches_url":"https://api.github.com/repos/robinandeer/puzzle/branches{/branch}","tags_url":"https://api.github.com/repos/robinandeer/puzzle/tags","blobs_url":"https://api.github.com/repos/robinandeer/puzzle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robinandeer/puzzle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robinandeer/puzzle/git/refs{/sha}","trees_url":"https://api.github.com/repos/robinandeer/puzzle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robinandeer/puzzle/statuses/{sha}","languages_url":"https://api.github.com/repos/robinandeer/puzzle/languages","stargazers_url":"https://api.github.com/repos/robinandeer/puzzle/stargazers","contributors_url":"https://api.github.com/repos/robinandeer/puzzle/contributors","subscribers_url":"https://api.github.com/repos/robinandeer/puzzle/subscribers","subscription_url":"https://api.github.com/repos/robinandeer/puzzle/subscription","commits_url":"https://api.github.com/repos/robinandeer/puzzle/commits{/sha}","git_commits_url":"https://api.github.com/repos/robinandeer/puzzle/git/commits{/sha}","comments_url":"https://api.github.com/repos/robinandeer/puzzle/comments{/number}","issue_comment_url":"https://api.github.com/repos/robinandeer/puzzle/issues/comments{/number}","contents_url":"https://api.github.com/repos/robinandeer/puzzle/contents/{+path}","compare_url":"https://api.github.com/repos/robinandeer/puzzle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robinandeer/puzzle/merges","archive_url":"https://api.github.com/repos/robinandeer/puzzle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robinandeer/puzzle/downloads","issues_url":"https://api.github.com/repos/robinandeer/puzzle/issues{/number}","pulls_url":"https://api.github.com/repos/robinandeer/puzzle/pulls{/number}","milestones_url":"https://api.github.com/repos/robinandeer/puzzle/milestones{/number}","notifications_url":"https://api.github.com/repos/robinandeer/puzzle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robinandeer/puzzle/labels{/name}","releases_url":"https://api.github.com/repos/robinandeer/puzzle/releases{/id}","deployments_url":"https://api.github.com/repos/robinandeer/puzzle/deployments","created_at":"2015-10-01T18:58:36Z","updated_at":"2016-02-05T19:04:51Z","pushed_at":"2016-02-07T15:51:51Z","git_url":"git://github.com/robinandeer/puzzle.git","ssh_url":"git@github.com:robinandeer/puzzle.git","clone_url":"https://github.com/robinandeer/puzzle.git","svn_url":"https://github.com/robinandeer/puzzle","homepage":"","size":1350,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":29,"forks":6,"open_issues":29,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robinandeer/puzzle/pulls/117"},"html":{"href":"https://github.com/robinandeer/puzzle/pull/117"},"issue":{"href":"https://api.github.com/repos/robinandeer/puzzle/issues/117"},"comments":{"href":"https://api.github.com/repos/robinandeer/puzzle/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/robinandeer/puzzle/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/robinandeer/puzzle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robinandeer/puzzle/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/robinandeer/puzzle/statuses/79075d770740f3068f73b2cb0e16d192974fcf8f"}}}}