{"action":"created","comment":{"url":"https://api.github.com/repos/genome/genome/pulls/comments/67406737","id":67406737,"diff_hunk":"@@ -0,0 +1,140 @@\n+package Genome::Model::Tools::Sx::Trim::ByPosition;\n+\n+use strict;\n+use warnings;\n+\n+use Genome;\n+\n+use Genome::Model::Tools::Sx::Split::ByNs;\n+use Params::Validate (qw/ :types validate_pos /);\n+use Regexp::Common;\n+use Try::Tiny;\n+\n+class Genome::Model::Tools::Sx::Trim::ByPosition {\n+    is => 'Genome::Model::Tools::Sx::Base',\n+    has => {\n+        positions_path => {\n+            is => 'File',\n+            doc => 'Path to he file of positions to trim.',\n+        },    \n+    },\n+    has_transient_optional => {\n+        trim_positions => { is => 'HASH', },\n+    },\n+};\n+\n+sub help_brief { \"Trim sequences by positions\" }\n+sub help_detail { help_brief() }","path":"lib/perl/Genome/Model/Tools/Sx/Trim/ByPosition.pm","position":27,"original_position":27,"commit_id":"c099efb1831b285a07b181ec3613696214ba1b98","original_commit_id":"c099efb1831b285a07b181ec3613696214ba1b98","user":{"login":"ebelter","id":139389,"avatar_url":"https://avatars.githubusercontent.com/u/139389?v=3","gravatar_id":"","url":"https://api.github.com/users/ebelter","html_url":"https://github.com/ebelter","followers_url":"https://api.github.com/users/ebelter/followers","following_url":"https://api.github.com/users/ebelter/following{/other_user}","gists_url":"https://api.github.com/users/ebelter/gists{/gist_id}","starred_url":"https://api.github.com/users/ebelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebelter/subscriptions","organizations_url":"https://api.github.com/users/ebelter/orgs","repos_url":"https://api.github.com/users/ebelter/repos","events_url":"https://api.github.com/users/ebelter/events{/privacy}","received_events_url":"https://api.github.com/users/ebelter/received_events","type":"User","site_admin":false},"body":"Ah - no. This is a lift over a Kyung script. I deplore the format, but it's consistency was insisted upon. I will add docs.","created_at":"2016-06-16T19:13:39Z","updated_at":"2016-06-16T19:13:39Z","html_url":"https://github.com/genome/genome/pull/1461#discussion_r67406737","pull_request_url":"https://api.github.com/repos/genome/genome/pulls/1461","_links":{"self":{"href":"https://api.github.com/repos/genome/genome/pulls/comments/67406737"},"html":{"href":"https://github.com/genome/genome/pull/1461#discussion_r67406737"},"pull_request":{"href":"https://api.github.com/repos/genome/genome/pulls/1461"}}},"pull_request":{"url":"https://api.github.com/repos/genome/genome/pulls/1461","id":73997945,"html_url":"https://github.com/genome/genome/pull/1461","diff_url":"https://github.com/genome/genome/pull/1461.diff","patch_url":"https://github.com/genome/genome/pull/1461.patch","issue_url":"https://api.github.com/repos/genome/genome/issues/1461","number":1461,"state":"open","locked":false,"title":"SX: Trim By Position","user":{"login":"ebelter","id":139389,"avatar_url":"https://avatars.githubusercontent.com/u/139389?v=3","gravatar_id":"","url":"https://api.github.com/users/ebelter","html_url":"https://github.com/ebelter","followers_url":"https://api.github.com/users/ebelter/followers","following_url":"https://api.github.com/users/ebelter/following{/other_user}","gists_url":"https://api.github.com/users/ebelter/gists{/gist_id}","starred_url":"https://api.github.com/users/ebelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebelter/subscriptions","organizations_url":"https://api.github.com/users/ebelter/orgs","repos_url":"https://api.github.com/users/ebelter/repos","events_url":"https://api.github.com/users/ebelter/events{/privacy}","received_events_url":"https://api.github.com/users/ebelter/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-06-15T22:55:30Z","updated_at":"2016-06-16T19:13:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e667b3e43839d6e3c932f083de2f251c4f2d1e27","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/genome/genome/pulls/1461/commits","review_comments_url":"https://api.github.com/repos/genome/genome/pulls/1461/comments","review_comment_url":"https://api.github.com/repos/genome/genome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/genome/genome/issues/1461/comments","statuses_url":"https://api.github.com/repos/genome/genome/statuses/c099efb1831b285a07b181ec3613696214ba1b98","head":{"label":"ebelter:sx-trim-by-pos","ref":"sx-trim-by-pos","sha":"c099efb1831b285a07b181ec3613696214ba1b98","user":{"login":"ebelter","id":139389,"avatar_url":"https://avatars.githubusercontent.com/u/139389?v=3","gravatar_id":"","url":"https://api.github.com/users/ebelter","html_url":"https://github.com/ebelter","followers_url":"https://api.github.com/users/ebelter/followers","following_url":"https://api.github.com/users/ebelter/following{/other_user}","gists_url":"https://api.github.com/users/ebelter/gists{/gist_id}","starred_url":"https://api.github.com/users/ebelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebelter/subscriptions","organizations_url":"https://api.github.com/users/ebelter/orgs","repos_url":"https://api.github.com/users/ebelter/repos","events_url":"https://api.github.com/users/ebelter/events{/privacy}","received_events_url":"https://api.github.com/users/ebelter/received_events","type":"User","site_admin":false},"repo":{"id":23893499,"name":"genome","full_name":"ebelter/genome","owner":{"login":"ebelter","id":139389,"avatar_url":"https://avatars.githubusercontent.com/u/139389?v=3","gravatar_id":"","url":"https://api.github.com/users/ebelter","html_url":"https://github.com/ebelter","followers_url":"https://api.github.com/users/ebelter/followers","following_url":"https://api.github.com/users/ebelter/following{/other_user}","gists_url":"https://api.github.com/users/ebelter/gists{/gist_id}","starred_url":"https://api.github.com/users/ebelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebelter/subscriptions","organizations_url":"https://api.github.com/users/ebelter/orgs","repos_url":"https://api.github.com/users/ebelter/repos","events_url":"https://api.github.com/users/ebelter/events{/privacy}","received_events_url":"https://api.github.com/users/ebelter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ebelter/genome","description":"","fork":true,"url":"https://api.github.com/repos/ebelter/genome","forks_url":"https://api.github.com/repos/ebelter/genome/forks","keys_url":"https://api.github.com/repos/ebelter/genome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ebelter/genome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ebelter/genome/teams","hooks_url":"https://api.github.com/repos/ebelter/genome/hooks","issue_events_url":"https://api.github.com/repos/ebelter/genome/issues/events{/number}","events_url":"https://api.github.com/repos/ebelter/genome/events","assignees_url":"https://api.github.com/repos/ebelter/genome/assignees{/user}","branches_url":"https://api.github.com/repos/ebelter/genome/branches{/branch}","tags_url":"https://api.github.com/repos/ebelter/genome/tags","blobs_url":"https://api.github.com/repos/ebelter/genome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ebelter/genome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ebelter/genome/git/refs{/sha}","trees_url":"https://api.github.com/repos/ebelter/genome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ebelter/genome/statuses/{sha}","languages_url":"https://api.github.com/repos/ebelter/genome/languages","stargazers_url":"https://api.github.com/repos/ebelter/genome/stargazers","contributors_url":"https://api.github.com/repos/ebelter/genome/contributors","subscribers_url":"https://api.github.com/repos/ebelter/genome/subscribers","subscription_url":"https://api.github.com/repos/ebelter/genome/subscription","commits_url":"https://api.github.com/repos/ebelter/genome/commits{/sha}","git_commits_url":"https://api.github.com/repos/ebelter/genome/git/commits{/sha}","comments_url":"https://api.github.com/repos/ebelter/genome/comments{/number}","issue_comment_url":"https://api.github.com/repos/ebelter/genome/issues/comments{/number}","contents_url":"https://api.github.com/repos/ebelter/genome/contents/{+path}","compare_url":"https://api.github.com/repos/ebelter/genome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ebelter/genome/merges","archive_url":"https://api.github.com/repos/ebelter/genome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ebelter/genome/downloads","issues_url":"https://api.github.com/repos/ebelter/genome/issues{/number}","pulls_url":"https://api.github.com/repos/ebelter/genome/pulls{/number}","milestones_url":"https://api.github.com/repos/ebelter/genome/milestones{/number}","notifications_url":"https://api.github.com/repos/ebelter/genome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ebelter/genome/labels{/name}","releases_url":"https://api.github.com/repos/ebelter/genome/releases{/id}","deployments_url":"https://api.github.com/repos/ebelter/genome/deployments","created_at":"2014-09-10T21:45:19Z","updated_at":"2014-09-16T22:58:16Z","pushed_at":"2016-06-15T22:55:12Z","git_url":"git://github.com/ebelter/genome.git","ssh_url":"git@github.com:ebelter/genome.git","clone_url":"https://github.com/ebelter/genome.git","svn_url":"https://github.com/ebelter/genome","homepage":"","size":210570,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"genome:master","ref":"master","sha":"7ba960a7815f026d8ad052bdb0ccb00d5192ee2f","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":23442737,"name":"genome","full_name":"genome/genome","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/genome","description":"Core modules used by the GMS","fork":false,"url":"https://api.github.com/repos/genome/genome","forks_url":"https://api.github.com/repos/genome/genome/forks","keys_url":"https://api.github.com/repos/genome/genome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genome/genome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genome/genome/teams","hooks_url":"https://api.github.com/repos/genome/genome/hooks","issue_events_url":"https://api.github.com/repos/genome/genome/issues/events{/number}","events_url":"https://api.github.com/repos/genome/genome/events","assignees_url":"https://api.github.com/repos/genome/genome/assignees{/user}","branches_url":"https://api.github.com/repos/genome/genome/branches{/branch}","tags_url":"https://api.github.com/repos/genome/genome/tags","blobs_url":"https://api.github.com/repos/genome/genome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genome/genome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genome/genome/git/refs{/sha}","trees_url":"https://api.github.com/repos/genome/genome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genome/genome/statuses/{sha}","languages_url":"https://api.github.com/repos/genome/genome/languages","stargazers_url":"https://api.github.com/repos/genome/genome/stargazers","contributors_url":"https://api.github.com/repos/genome/genome/contributors","subscribers_url":"https://api.github.com/repos/genome/genome/subscribers","subscription_url":"https://api.github.com/repos/genome/genome/subscription","commits_url":"https://api.github.com/repos/genome/genome/commits{/sha}","git_commits_url":"https://api.github.com/repos/genome/genome/git/commits{/sha}","comments_url":"https://api.github.com/repos/genome/genome/comments{/number}","issue_comment_url":"https://api.github.com/repos/genome/genome/issues/comments{/number}","contents_url":"https://api.github.com/repos/genome/genome/contents/{+path}","compare_url":"https://api.github.com/repos/genome/genome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genome/genome/merges","archive_url":"https://api.github.com/repos/genome/genome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genome/genome/downloads","issues_url":"https://api.github.com/repos/genome/genome/issues{/number}","pulls_url":"https://api.github.com/repos/genome/genome/pulls{/number}","milestones_url":"https://api.github.com/repos/genome/genome/milestones{/number}","notifications_url":"https://api.github.com/repos/genome/genome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genome/genome/labels{/name}","releases_url":"https://api.github.com/repos/genome/genome/releases{/id}","deployments_url":"https://api.github.com/repos/genome/genome/deployments","created_at":"2014-08-28T20:59:19Z","updated_at":"2016-05-11T15:27:55Z","pushed_at":"2016-06-16T15:51:29Z","git_url":"git://github.com/genome/genome.git","ssh_url":"git@github.com:genome/genome.git","clone_url":"https://github.com/genome/genome.git","svn_url":"https://github.com/genome/genome","homepage":"","size":224283,"stargazers_count":14,"watchers_count":14,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":18,"forks":46,"open_issues":18,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/genome/genome/pulls/1461"},"html":{"href":"https://github.com/genome/genome/pull/1461"},"issue":{"href":"https://api.github.com/repos/genome/genome/issues/1461"},"comments":{"href":"https://api.github.com/repos/genome/genome/issues/1461/comments"},"review_comments":{"href":"https://api.github.com/repos/genome/genome/pulls/1461/comments"},"review_comment":{"href":"https://api.github.com/repos/genome/genome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/genome/genome/pulls/1461/commits"},"statuses":{"href":"https://api.github.com/repos/genome/genome/statuses/c099efb1831b285a07b181ec3613696214ba1b98"}}}}
{"actor":{"display_login":"ebelter"}}