{"action":"created","comment":{"url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/comments/192890699","pull_request_review_id":125754936,"id":192890699,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Mjg5MDY5OQ==","diff_hunk":"@@ -17,9 +17,95 @@\n import subprocess\n import tempfile\n import os\n+import pyhgvs\n+import pyhgvs.utils as pyhgvs_utils\n+from pygr.seqdb import SequenceFileDB\n from Bio.Seq import Seq\n from calcMaxEntScanMeanStd import fetch_gene_coordinates, runMaxEntScan\n \n+'''\n+GENERAL NOTES ON REFSEQ NUMBERING AND SPLICING\n+\n+MINUS VS PLUS STRAND NUMBERING\n+Genes are transcribed from 5' to 3'\n+For plus strand genes (e.g. BRCA2) this correlates to reading from left to right\n+    so genomic position increases from left to right\n+This means that for plus strand genes the exon start position is ALWAYS less than\n+    the exon end position and that native splice acceptors have a lower genomic position\n+    than native splice donors in the same exon\n+For minus strand genes (e.g. BRCA1) this correlates to reading from right to left\n+    so genomic position increases from right to left AND decreases from left to right\n+This means that for minus strand genes the exon start position is ALWAYS greater than\n+    the exon end position and that native splice acceptors have a higher genomic position\n+    than native splice donors in the same exon\n+\n+REFSEQ NUMBERING\n+RefSeq numbering starts to the right of the first base","path":"pipeline/splicing/calcVarPriors.py","position":27,"original_position":27,"commit_id":"8f267d7b2005972fbde8d2fe96a9e4e0d7e3e048","original_commit_id":"8f267d7b2005972fbde8d2fe96a9e4e0d7e3e048","user":{"login":"zfisch","id":4503616,"node_id":"MDQ6VXNlcjQ1MDM2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/4503616?v=4","gravatar_id":"","url":"https://api.github.com/users/zfisch","html_url":"https://github.com/zfisch","followers_url":"https://api.github.com/users/zfisch/followers","following_url":"https://api.github.com/users/zfisch/following{/other_user}","gists_url":"https://api.github.com/users/zfisch/gists{/gist_id}","starred_url":"https://api.github.com/users/zfisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zfisch/subscriptions","organizations_url":"https://api.github.com/users/zfisch/orgs","repos_url":"https://api.github.com/users/zfisch/repos","events_url":"https://api.github.com/users/zfisch/events{/privacy}","received_events_url":"https://api.github.com/users/zfisch/received_events","type":"User","site_admin":false},"body":"does refseq numbering start to the right of the first base for brca1 and to the left of the first base for brca2? more specifically, in between the first two bases regardless of which direction they're being read?","created_at":"2018-06-04T21:47:43Z","updated_at":"2018-06-04T21:47:43Z","html_url":"https://github.com/BRCAChallenge/brca-exchange/pull/785#discussion_r192890699","pull_request_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/comments/192890699"},"html":{"href":"https://github.com/BRCAChallenge/brca-exchange/pull/785#discussion_r192890699"},"pull_request":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785"}}},"pull_request":{"url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785","id":186793691,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2NzkzNjkx","html_url":"https://github.com/BRCAChallenge/brca-exchange/pull/785","diff_url":"https://github.com/BRCAChallenge/brca-exchange/pull/785.diff","patch_url":"https://github.com/BRCAChallenge/brca-exchange/pull/785.patch","issue_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues/785","number":785,"state":"open","locked":false,"title":"Get output for all single nucleotide substitution variants","user":{"login":"ccdlott","id":28713075,"node_id":"MDQ6VXNlcjI4NzEzMDc1","avatar_url":"https://avatars3.githubusercontent.com/u/28713075?v=4","gravatar_id":"","url":"https://api.github.com/users/ccdlott","html_url":"https://github.com/ccdlott","followers_url":"https://api.github.com/users/ccdlott/followers","following_url":"https://api.github.com/users/ccdlott/following{/other_user}","gists_url":"https://api.github.com/users/ccdlott/gists{/gist_id}","starred_url":"https://api.github.com/users/ccdlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccdlott/subscriptions","organizations_url":"https://api.github.com/users/ccdlott/orgs","repos_url":"https://api.github.com/users/ccdlott/repos","events_url":"https://api.github.com/users/ccdlott/events{/privacy}","received_events_url":"https://api.github.com/users/ccdlott/received_events","type":"User","site_admin":false},"body":"Includes all updates made to splicing functions","created_at":"2018-05-09T01:06:26Z","updated_at":"2018-06-04T21:47:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2b49b44bed871229d1c98a30aa28f712aeaf55b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":381903814,"node_id":"MDU6TGFiZWwzODE5MDM4MTQ=","url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785/commits","review_comments_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785/comments","review_comment_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues/785/comments","statuses_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/statuses/8f267d7b2005972fbde8d2fe96a9e4e0d7e3e048","head":{"label":"ccdlott:splicingUpdates","ref":"splicingUpdates","sha":"8f267d7b2005972fbde8d2fe96a9e4e0d7e3e048","user":{"login":"ccdlott","id":28713075,"node_id":"MDQ6VXNlcjI4NzEzMDc1","avatar_url":"https://avatars3.githubusercontent.com/u/28713075?v=4","gravatar_id":"","url":"https://api.github.com/users/ccdlott","html_url":"https://github.com/ccdlott","followers_url":"https://api.github.com/users/ccdlott/followers","following_url":"https://api.github.com/users/ccdlott/following{/other_user}","gists_url":"https://api.github.com/users/ccdlott/gists{/gist_id}","starred_url":"https://api.github.com/users/ccdlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccdlott/subscriptions","organizations_url":"https://api.github.com/users/ccdlott/orgs","repos_url":"https://api.github.com/users/ccdlott/repos","events_url":"https://api.github.com/users/ccdlott/events{/privacy}","received_events_url":"https://api.github.com/users/ccdlott/received_events","type":"User","site_admin":false},"repo":{"id":101673816,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE2NzM4MTY=","name":"brca-exchange","full_name":"ccdlott/brca-exchange","owner":{"login":"ccdlott","id":28713075,"node_id":"MDQ6VXNlcjI4NzEzMDc1","avatar_url":"https://avatars3.githubusercontent.com/u/28713075?v=4","gravatar_id":"","url":"https://api.github.com/users/ccdlott","html_url":"https://github.com/ccdlott","followers_url":"https://api.github.com/users/ccdlott/followers","following_url":"https://api.github.com/users/ccdlott/following{/other_user}","gists_url":"https://api.github.com/users/ccdlott/gists{/gist_id}","starred_url":"https://api.github.com/users/ccdlott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccdlott/subscriptions","organizations_url":"https://api.github.com/users/ccdlott/orgs","repos_url":"https://api.github.com/users/ccdlott/repos","events_url":"https://api.github.com/users/ccdlott/events{/privacy}","received_events_url":"https://api.github.com/users/ccdlott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ccdlott/brca-exchange","description":"Overall management and deployment of the BRCA Exchange web portal and pipeline scripts","fork":true,"url":"https://api.github.com/repos/ccdlott/brca-exchange","forks_url":"https://api.github.com/repos/ccdlott/brca-exchange/forks","keys_url":"https://api.github.com/repos/ccdlott/brca-exchange/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ccdlott/brca-exchange/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ccdlott/brca-exchange/teams","hooks_url":"https://api.github.com/repos/ccdlott/brca-exchange/hooks","issue_events_url":"https://api.github.com/repos/ccdlott/brca-exchange/issues/events{/number}","events_url":"https://api.github.com/repos/ccdlott/brca-exchange/events","assignees_url":"https://api.github.com/repos/ccdlott/brca-exchange/assignees{/user}","branches_url":"https://api.github.com/repos/ccdlott/brca-exchange/branches{/branch}","tags_url":"https://api.github.com/repos/ccdlott/brca-exchange/tags","blobs_url":"https://api.github.com/repos/ccdlott/brca-exchange/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ccdlott/brca-exchange/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ccdlott/brca-exchange/git/refs{/sha}","trees_url":"https://api.github.com/repos/ccdlott/brca-exchange/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ccdlott/brca-exchange/statuses/{sha}","languages_url":"https://api.github.com/repos/ccdlott/brca-exchange/languages","stargazers_url":"https://api.github.com/repos/ccdlott/brca-exchange/stargazers","contributors_url":"https://api.github.com/repos/ccdlott/brca-exchange/contributors","subscribers_url":"https://api.github.com/repos/ccdlott/brca-exchange/subscribers","subscription_url":"https://api.github.com/repos/ccdlott/brca-exchange/subscription","commits_url":"https://api.github.com/repos/ccdlott/brca-exchange/commits{/sha}","git_commits_url":"https://api.github.com/repos/ccdlott/brca-exchange/git/commits{/sha}","comments_url":"https://api.github.com/repos/ccdlott/brca-exchange/comments{/number}","issue_comment_url":"https://api.github.com/repos/ccdlott/brca-exchange/issues/comments{/number}","contents_url":"https://api.github.com/repos/ccdlott/brca-exchange/contents/{+path}","compare_url":"https://api.github.com/repos/ccdlott/brca-exchange/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ccdlott/brca-exchange/merges","archive_url":"https://api.github.com/repos/ccdlott/brca-exchange/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ccdlott/brca-exchange/downloads","issues_url":"https://api.github.com/repos/ccdlott/brca-exchange/issues{/number}","pulls_url":"https://api.github.com/repos/ccdlott/brca-exchange/pulls{/number}","milestones_url":"https://api.github.com/repos/ccdlott/brca-exchange/milestones{/number}","notifications_url":"https://api.github.com/repos/ccdlott/brca-exchange/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ccdlott/brca-exchange/labels{/name}","releases_url":"https://api.github.com/repos/ccdlott/brca-exchange/releases{/id}","deployments_url":"https://api.github.com/repos/ccdlott/brca-exchange/deployments","created_at":"2017-08-28T18:22:31Z","updated_at":"2018-05-15T19:23:21Z","pushed_at":"2018-06-01T00:12:24Z","git_url":"git://github.com/ccdlott/brca-exchange.git","ssh_url":"git@github.com:ccdlott/brca-exchange.git","clone_url":"https://github.com/ccdlott/brca-exchange.git","svn_url":"https://github.com/ccdlott/brca-exchange","homepage":"http://brcaexchange.org","size":147386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BRCAChallenge:master","ref":"master","sha":"408f6508f06c1507b66678f22f4dd791aeb8d2b2","user":{"login":"BRCAChallenge","id":26631600,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NjMxNjAw","avatar_url":"https://avatars2.githubusercontent.com/u/26631600?v=4","gravatar_id":"","url":"https://api.github.com/users/BRCAChallenge","html_url":"https://github.com/BRCAChallenge","followers_url":"https://api.github.com/users/BRCAChallenge/followers","following_url":"https://api.github.com/users/BRCAChallenge/following{/other_user}","gists_url":"https://api.github.com/users/BRCAChallenge/gists{/gist_id}","starred_url":"https://api.github.com/users/BRCAChallenge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BRCAChallenge/subscriptions","organizations_url":"https://api.github.com/users/BRCAChallenge/orgs","repos_url":"https://api.github.com/users/BRCAChallenge/repos","events_url":"https://api.github.com/users/BRCAChallenge/events{/privacy}","received_events_url":"https://api.github.com/users/BRCAChallenge/received_events","type":"Organization","site_admin":false},"repo":{"id":57995916,"node_id":"MDEwOlJlcG9zaXRvcnk1Nzk5NTkxNg==","name":"brca-exchange","full_name":"BRCAChallenge/brca-exchange","owner":{"login":"BRCAChallenge","id":26631600,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI2NjMxNjAw","avatar_url":"https://avatars2.githubusercontent.com/u/26631600?v=4","gravatar_id":"","url":"https://api.github.com/users/BRCAChallenge","html_url":"https://github.com/BRCAChallenge","followers_url":"https://api.github.com/users/BRCAChallenge/followers","following_url":"https://api.github.com/users/BRCAChallenge/following{/other_user}","gists_url":"https://api.github.com/users/BRCAChallenge/gists{/gist_id}","starred_url":"https://api.github.com/users/BRCAChallenge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BRCAChallenge/subscriptions","organizations_url":"https://api.github.com/users/BRCAChallenge/orgs","repos_url":"https://api.github.com/users/BRCAChallenge/repos","events_url":"https://api.github.com/users/BRCAChallenge/events{/privacy}","received_events_url":"https://api.github.com/users/BRCAChallenge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BRCAChallenge/brca-exchange","description":"Overall management and deployment of the BRCA Exchange web portal and pipeline scripts","fork":false,"url":"https://api.github.com/repos/BRCAChallenge/brca-exchange","forks_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/forks","keys_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/teams","hooks_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/hooks","issue_events_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues/events{/number}","events_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/events","assignees_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/assignees{/user}","branches_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/branches{/branch}","tags_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/tags","blobs_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/git/refs{/sha}","trees_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/statuses/{sha}","languages_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/languages","stargazers_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/stargazers","contributors_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/contributors","subscribers_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/subscribers","subscription_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/subscription","commits_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/commits{/sha}","git_commits_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/git/commits{/sha}","comments_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/comments{/number}","issue_comment_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues/comments{/number}","contents_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/contents/{+path}","compare_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/merges","archive_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/downloads","issues_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues{/number}","pulls_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls{/number}","milestones_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/milestones{/number}","notifications_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/labels{/name}","releases_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/releases{/id}","deployments_url":"https://api.github.com/repos/BRCAChallenge/brca-exchange/deployments","created_at":"2016-05-03T19:26:44Z","updated_at":"2018-05-29T18:37:15Z","pushed_at":"2018-06-02T00:58:00Z","git_url":"git://github.com/BRCAChallenge/brca-exchange.git","ssh_url":"git@github.com:BRCAChallenge/brca-exchange.git","clone_url":"https://github.com/BRCAChallenge/brca-exchange.git","svn_url":"https://github.com/BRCAChallenge/brca-exchange","homepage":"http://brcaexchange.org","size":151102,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":70,"license":null,"forks":23,"open_issues":70,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785"},"html":{"href":"https://github.com/BRCAChallenge/brca-exchange/pull/785"},"issue":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues/785"},"comments":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/issues/785/comments"},"review_comments":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785/comments"},"review_comment":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/pulls/785/commits"},"statuses":{"href":"https://api.github.com/repos/BRCAChallenge/brca-exchange/statuses/8f267d7b2005972fbde8d2fe96a9e4e0d7e3e048"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zfisch"}}