{"action":"opened","number":38,"pull_request":{"url":"https://api.github.com/repos/genome/dgi-db/pulls/38","id":43419996,"html_url":"https://github.com/genome/dgi-db/pull/38","diff_url":"https://github.com/genome/dgi-db/pull/38.diff","patch_url":"https://github.com/genome/dgi-db/pull/38.patch","issue_url":"https://api.github.com/repos/genome/dgi-db/issues/38","number":38,"state":"open","locked":false,"title":"Initial DoCM Importer","user":{"login":"acoffman","id":13370,"avatar_url":"https://avatars.githubusercontent.com/u/13370?v=3","gravatar_id":"","url":"https://api.github.com/users/acoffman","html_url":"https://github.com/acoffman","followers_url":"https://api.github.com/users/acoffman/followers","following_url":"https://api.github.com/users/acoffman/following{/other_user}","gists_url":"https://api.github.com/users/acoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/acoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acoffman/subscriptions","organizations_url":"https://api.github.com/users/acoffman/orgs","repos_url":"https://api.github.com/users/acoffman/repos","events_url":"https://api.github.com/users/acoffman/events{/privacy}","received_events_url":"https://api.github.com/users/acoffman/received_events","type":"User","site_admin":false},"body":"This is DoCM importer that @bainscou and I worked on. It is working successfully and imports the following items:\r\n\r\n````\r\n30 gene_claims.\r\n30 gene_claim_aliases.\r\n35 drug_claims.\r\n88 interaction_claims.\r\n176 interaction_claim_attributes.\r\n````\r\n\r\nAll Genes have an Entrez ID and are thus grouped correctly by the gene grouper. Before merging we did have two questions:\r\n\r\n * There is a column in the DoCM TSV called `effect` which contains values like \r\n```\r\ndecreased sensitivity\r\neffect\r\nno response\r\neduced sensitivity\r\nresistance\r\nresponse\r\nsensitivity\r\n````\r\n\r\nand it is unclear to me if that should be imported as the `interaction_type` or the `known_action_type` of the interaction. \r\n\r\n * Where should DoCM lie in the sort order of sources?\r\n\r\nWith those two questions answered, we should be good to go!","created_at":"2015-08-26T16:04:19Z","updated_at":"2015-08-26T16:04:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/genome/dgi-db/pulls/38/commits","review_comments_url":"https://api.github.com/repos/genome/dgi-db/pulls/38/comments","review_comment_url":"https://api.github.com/repos/genome/dgi-db/pulls/comments{/number}","comments_url":"https://api.github.com/repos/genome/dgi-db/issues/38/comments","statuses_url":"https://api.github.com/repos/genome/dgi-db/statuses/b1a5df2d21ac71393084d6264aca4191cd2a1ea4","head":{"label":"genome:docm_importer","ref":"docm_importer","sha":"b1a5df2d21ac71393084d6264aca4191cd2a1ea4","user":{"login":"genome","id":318108,"avatar_url":"https://avatars.githubusercontent.com/u/318108?v=3","gravatar_id":"","url":"https://api.github.com/users/genome","html_url":"https://github.com/genome","followers_url":"https://api.github.com/users/genome/followers","following_url":"https://api.github.com/users/genome/following{/other_user}","gists_url":"https://api.github.com/users/genome/gists{/gist_id}","starred_url":"https://api.github.com/users/genome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genome/subscriptions","organizations_url":"https://api.github.com/users/genome/orgs","repos_url":"https://api.github.com/users/genome/repos","events_url":"https://api.github.com/users/genome/events{/privacy}","received_events_url":"https://api.github.com/users/genome/received_events","type":"Organization","site_admin":false},"repo":{"id":4630567,"name":"dgi-db","full_name":"genome/dgi-db","owner":{"login":"genome","id":318108,"avatar_url":"https://avatars.githubusercontent.com/u/318108?v=3","gravatar_id":"","url":"https://api.github.com/users/genome","html_url":"https://github.com/genome","followers_url":"https://api.github.com/users/genome/followers","following_url":"https://api.github.com/users/genome/following{/other_user}","gists_url":"https://api.github.com/users/genome/gists{/gist_id}","starred_url":"https://api.github.com/users/genome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genome/subscriptions","organizations_url":"https://api.github.com/users/genome/orgs","repos_url":"https://api.github.com/users/genome/repos","events_url":"https://api.github.com/users/genome/events{/privacy}","received_events_url":"https://api.github.com/users/genome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/genome/dgi-db","description":"Rails frontend to The Genome Institute's drug gene interaction database.","fork":false,"url":"https://api.github.com/repos/genome/dgi-db","forks_url":"https://api.github.com/repos/genome/dgi-db/forks","keys_url":"https://api.github.com/repos/genome/dgi-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genome/dgi-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genome/dgi-db/teams","hooks_url":"https://api.github.com/repos/genome/dgi-db/hooks","issue_events_url":"https://api.github.com/repos/genome/dgi-db/issues/events{/number}","events_url":"https://api.github.com/repos/genome/dgi-db/events","assignees_url":"https://api.github.com/repos/genome/dgi-db/assignees{/user}","branches_url":"https://api.github.com/repos/genome/dgi-db/branches{/branch}","tags_url":"https://api.github.com/repos/genome/dgi-db/tags","blobs_url":"https://api.github.com/repos/genome/dgi-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genome/dgi-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genome/dgi-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/genome/dgi-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genome/dgi-db/statuses/{sha}","languages_url":"https://api.github.com/repos/genome/dgi-db/languages","stargazers_url":"https://api.github.com/repos/genome/dgi-db/stargazers","contributors_url":"https://api.github.com/repos/genome/dgi-db/contributors","subscribers_url":"https://api.github.com/repos/genome/dgi-db/subscribers","subscription_url":"https://api.github.com/repos/genome/dgi-db/subscription","commits_url":"https://api.github.com/repos/genome/dgi-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/genome/dgi-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/genome/dgi-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/genome/dgi-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/genome/dgi-db/contents/{+path}","compare_url":"https://api.github.com/repos/genome/dgi-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genome/dgi-db/merges","archive_url":"https://api.github.com/repos/genome/dgi-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genome/dgi-db/downloads","issues_url":"https://api.github.com/repos/genome/dgi-db/issues{/number}","pulls_url":"https://api.github.com/repos/genome/dgi-db/pulls{/number}","milestones_url":"https://api.github.com/repos/genome/dgi-db/milestones{/number}","notifications_url":"https://api.github.com/repos/genome/dgi-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genome/dgi-db/labels{/name}","releases_url":"https://api.github.com/repos/genome/dgi-db/releases{/id}","created_at":"2012-06-11T21:56:22Z","updated_at":"2015-06-13T12:07:12Z","pushed_at":"2015-08-26T15:59:07Z","git_url":"git://github.com/genome/dgi-db.git","ssh_url":"git@github.com:genome/dgi-db.git","clone_url":"https://github.com/genome/dgi-db.git","svn_url":"https://github.com/genome/dgi-db","homepage":"http://dgidb.genome.wustl.edu/","size":394623,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":14,"forks":6,"open_issues":14,"watchers":14,"default_branch":"master"}},"base":{"label":"genome:master","ref":"master","sha":"0b2891914b8bd594255316e284fac8f9173c3b40","user":{"login":"genome","id":318108,"avatar_url":"https://avatars.githubusercontent.com/u/318108?v=3","gravatar_id":"","url":"https://api.github.com/users/genome","html_url":"https://github.com/genome","followers_url":"https://api.github.com/users/genome/followers","following_url":"https://api.github.com/users/genome/following{/other_user}","gists_url":"https://api.github.com/users/genome/gists{/gist_id}","starred_url":"https://api.github.com/users/genome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genome/subscriptions","organizations_url":"https://api.github.com/users/genome/orgs","repos_url":"https://api.github.com/users/genome/repos","events_url":"https://api.github.com/users/genome/events{/privacy}","received_events_url":"https://api.github.com/users/genome/received_events","type":"Organization","site_admin":false},"repo":{"id":4630567,"name":"dgi-db","full_name":"genome/dgi-db","owner":{"login":"genome","id":318108,"avatar_url":"https://avatars.githubusercontent.com/u/318108?v=3","gravatar_id":"","url":"https://api.github.com/users/genome","html_url":"https://github.com/genome","followers_url":"https://api.github.com/users/genome/followers","following_url":"https://api.github.com/users/genome/following{/other_user}","gists_url":"https://api.github.com/users/genome/gists{/gist_id}","starred_url":"https://api.github.com/users/genome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genome/subscriptions","organizations_url":"https://api.github.com/users/genome/orgs","repos_url":"https://api.github.com/users/genome/repos","events_url":"https://api.github.com/users/genome/events{/privacy}","received_events_url":"https://api.github.com/users/genome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/genome/dgi-db","description":"Rails frontend to The Genome Institute's drug gene interaction database.","fork":false,"url":"https://api.github.com/repos/genome/dgi-db","forks_url":"https://api.github.com/repos/genome/dgi-db/forks","keys_url":"https://api.github.com/repos/genome/dgi-db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genome/dgi-db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genome/dgi-db/teams","hooks_url":"https://api.github.com/repos/genome/dgi-db/hooks","issue_events_url":"https://api.github.com/repos/genome/dgi-db/issues/events{/number}","events_url":"https://api.github.com/repos/genome/dgi-db/events","assignees_url":"https://api.github.com/repos/genome/dgi-db/assignees{/user}","branches_url":"https://api.github.com/repos/genome/dgi-db/branches{/branch}","tags_url":"https://api.github.com/repos/genome/dgi-db/tags","blobs_url":"https://api.github.com/repos/genome/dgi-db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genome/dgi-db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genome/dgi-db/git/refs{/sha}","trees_url":"https://api.github.com/repos/genome/dgi-db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genome/dgi-db/statuses/{sha}","languages_url":"https://api.github.com/repos/genome/dgi-db/languages","stargazers_url":"https://api.github.com/repos/genome/dgi-db/stargazers","contributors_url":"https://api.github.com/repos/genome/dgi-db/contributors","subscribers_url":"https://api.github.com/repos/genome/dgi-db/subscribers","subscription_url":"https://api.github.com/repos/genome/dgi-db/subscription","commits_url":"https://api.github.com/repos/genome/dgi-db/commits{/sha}","git_commits_url":"https://api.github.com/repos/genome/dgi-db/git/commits{/sha}","comments_url":"https://api.github.com/repos/genome/dgi-db/comments{/number}","issue_comment_url":"https://api.github.com/repos/genome/dgi-db/issues/comments{/number}","contents_url":"https://api.github.com/repos/genome/dgi-db/contents/{+path}","compare_url":"https://api.github.com/repos/genome/dgi-db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genome/dgi-db/merges","archive_url":"https://api.github.com/repos/genome/dgi-db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genome/dgi-db/downloads","issues_url":"https://api.github.com/repos/genome/dgi-db/issues{/number}","pulls_url":"https://api.github.com/repos/genome/dgi-db/pulls{/number}","milestones_url":"https://api.github.com/repos/genome/dgi-db/milestones{/number}","notifications_url":"https://api.github.com/repos/genome/dgi-db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genome/dgi-db/labels{/name}","releases_url":"https://api.github.com/repos/genome/dgi-db/releases{/id}","created_at":"2012-06-11T21:56:22Z","updated_at":"2015-06-13T12:07:12Z","pushed_at":"2015-08-26T15:59:07Z","git_url":"git://github.com/genome/dgi-db.git","ssh_url":"git@github.com:genome/dgi-db.git","clone_url":"https://github.com/genome/dgi-db.git","svn_url":"https://github.com/genome/dgi-db","homepage":"http://dgidb.genome.wustl.edu/","size":394623,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":14,"forks":6,"open_issues":14,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/genome/dgi-db/pulls/38"},"html":{"href":"https://github.com/genome/dgi-db/pull/38"},"issue":{"href":"https://api.github.com/repos/genome/dgi-db/issues/38"},"comments":{"href":"https://api.github.com/repos/genome/dgi-db/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/genome/dgi-db/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/genome/dgi-db/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/genome/dgi-db/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/genome/dgi-db/statuses/b1a5df2d21ac71393084d6264aca4191cd2a1ea4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":125,"deletions":0,"changed_files":3}}