{"action":"created","comment":{"url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/comments/229068206","pull_request_review_id":169479680,"id":229068206,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTA2ODIwNg==","diff_hunk":"@@ -0,0 +1,50 @@\n+args <- (commandArgs(trailingOnly = TRUE))\n+for (i in 1:length(args)) {\n+    eval(parse(text = args[[i]]))\n+}\n+\n+\n+suppressPackageStartupMessages(library(dplyr))\n+suppressPackageStartupMessages(library(tximport))\n+suppressPackageStartupMessages(library(tximeta))\n+suppressPackageStartupMessages(library(SummarizedExperiment))\n+suppressPackageStartupMessages(library(edgeR))\n+suppressPackageStartupMessages(library(ggplot2))\n+\n+print(salmondir)\n+print(json)\n+print(metafile)\n+print(outrds)\n+\n+## Load json linkedTxome\n+loadLinkedTxome(json)\n+\n+## Read metadata\n+metadata <- read.delim(metafile, header = TRUE, as.is = TRUE, sep = \"\\t\")\n+\n+## List Salmon directories\n+salmonfiles <- paste0(salmondir,\"/\",metadata$names, \"/quant.sf\")\n+names(salmonfiles) <- metadata$names\n+(salmonfiles <- salmonfiles[file.exists(salmonfiles)])","path":"scripts/run_tximeta.R","position":28,"original_position":28,"commit_id":"76a795b17d771145730cae0da104142c8735e699","original_commit_id":"76a795b17d771145730cae0da104142c8735e699","user":{"login":"csoneson","id":5628952,"node_id":"MDQ6VXNlcjU2Mjg5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5628952?v=4","gravatar_id":"","url":"https://api.github.com/users/csoneson","html_url":"https://github.com/csoneson","followers_url":"https://api.github.com/users/csoneson/followers","following_url":"https://api.github.com/users/csoneson/following{/other_user}","gists_url":"https://api.github.com/users/csoneson/gists{/gist_id}","starred_url":"https://api.github.com/users/csoneson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csoneson/subscriptions","organizations_url":"https://api.github.com/users/csoneson/orgs","repos_url":"https://api.github.com/users/csoneson/repos","events_url":"https://api.github.com/users/csoneson/events{/privacy}","received_events_url":"https://api.github.com/users/csoneson/received_events","type":"User","site_admin":false},"body":"While it shouldn't happen, this _could_ mean that `salmonfiles` is not the same length as `metadata` anymore, which will cause problems for `cbind`. Can we leave this line out? `tximeta` will fail anyway if not all files exist. ","created_at":"2018-10-29T19:32:56Z","updated_at":"2018-10-29T19:32:56Z","html_url":"https://github.com/csoneson/rnaseqworkflow/pull/32#discussion_r229068206","pull_request_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/comments/229068206"},"html":{"href":"https://github.com/csoneson/rnaseqworkflow/pull/32#discussion_r229068206"},"pull_request":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32","id":226610112,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2NjEwMTEy","html_url":"https://github.com/csoneson/rnaseqworkflow/pull/32","diff_url":"https://github.com/csoneson/rnaseqworkflow/pull/32.diff","patch_url":"https://github.com/csoneson/rnaseqworkflow/pull/32.patch","issue_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/32","number":32,"state":"open","locked":false,"title":"Sce update","user":{"login":"fionarhuang","id":22393299,"node_id":"MDQ6VXNlcjIyMzkzMjk5","avatar_url":"https://avatars1.githubusercontent.com/u/22393299?v=4","gravatar_id":"","url":"https://api.github.com/users/fionarhuang","html_url":"https://github.com/fionarhuang","followers_url":"https://api.github.com/users/fionarhuang/followers","following_url":"https://api.github.com/users/fionarhuang/following{/other_user}","gists_url":"https://api.github.com/users/fionarhuang/gists{/gist_id}","starred_url":"https://api.github.com/users/fionarhuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fionarhuang/subscriptions","organizations_url":"https://api.github.com/users/fionarhuang/orgs","repos_url":"https://api.github.com/users/fionarhuang/repos","events_url":"https://api.github.com/users/fionarhuang/events{/privacy}","received_events_url":"https://api.github.com/users/fionarhuang/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-29T15:41:47Z","updated_at":"2018-10-29T19:32:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32/commits","review_comments_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32/comments","review_comment_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/32/comments","statuses_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/statuses/76a795b17d771145730cae0da104142c8735e699","head":{"label":"csoneson:SCE_update","ref":"SCE_update","sha":"76a795b17d771145730cae0da104142c8735e699","user":{"login":"csoneson","id":5628952,"node_id":"MDQ6VXNlcjU2Mjg5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5628952?v=4","gravatar_id":"","url":"https://api.github.com/users/csoneson","html_url":"https://github.com/csoneson","followers_url":"https://api.github.com/users/csoneson/followers","following_url":"https://api.github.com/users/csoneson/following{/other_user}","gists_url":"https://api.github.com/users/csoneson/gists{/gist_id}","starred_url":"https://api.github.com/users/csoneson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csoneson/subscriptions","organizations_url":"https://api.github.com/users/csoneson/orgs","repos_url":"https://api.github.com/users/csoneson/repos","events_url":"https://api.github.com/users/csoneson/events{/privacy}","received_events_url":"https://api.github.com/users/csoneson/received_events","type":"User","site_admin":false},"repo":{"id":103643021,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM2NDMwMjE=","name":"rnaseqworkflow","full_name":"csoneson/rnaseqworkflow","private":false,"owner":{"login":"csoneson","id":5628952,"node_id":"MDQ6VXNlcjU2Mjg5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5628952?v=4","gravatar_id":"","url":"https://api.github.com/users/csoneson","html_url":"https://github.com/csoneson","followers_url":"https://api.github.com/users/csoneson/followers","following_url":"https://api.github.com/users/csoneson/following{/other_user}","gists_url":"https://api.github.com/users/csoneson/gists{/gist_id}","starred_url":"https://api.github.com/users/csoneson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csoneson/subscriptions","organizations_url":"https://api.github.com/users/csoneson/orgs","repos_url":"https://api.github.com/users/csoneson/repos","events_url":"https://api.github.com/users/csoneson/events{/privacy}","received_events_url":"https://api.github.com/users/csoneson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/csoneson/rnaseqworkflow","description":"Light-weight Snakemake workflow for preprocessing and statistical analysis of RNA-seq data","fork":false,"url":"https://api.github.com/repos/csoneson/rnaseqworkflow","forks_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/forks","keys_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/teams","hooks_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/hooks","issue_events_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/events{/number}","events_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/events","assignees_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/assignees{/user}","branches_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/branches{/branch}","tags_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/tags","blobs_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/statuses/{sha}","languages_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/languages","stargazers_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/stargazers","contributors_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/contributors","subscribers_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/subscribers","subscription_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/subscription","commits_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/contents/{+path}","compare_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/merges","archive_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/downloads","issues_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues{/number}","pulls_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls{/number}","milestones_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/milestones{/number}","notifications_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/labels{/name}","releases_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/releases{/id}","deployments_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/deployments","created_at":"2017-09-15T10:02:41Z","updated_at":"2018-10-29T13:55:00Z","pushed_at":"2018-10-29T15:41:48Z","git_url":"git://github.com/csoneson/rnaseqworkflow.git","ssh_url":"git@github.com:csoneson/rnaseqworkflow.git","clone_url":"https://github.com/csoneson/rnaseqworkflow.git","svn_url":"https://github.com/csoneson/rnaseqworkflow","homepage":"","size":140,"stargazers_count":11,"watchers_count":11,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":11,"watchers":11,"default_branch":"master"}},"base":{"label":"csoneson:master","ref":"master","sha":"35076e85ee6e5ee4517baceca7824436bdb65006","user":{"login":"csoneson","id":5628952,"node_id":"MDQ6VXNlcjU2Mjg5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5628952?v=4","gravatar_id":"","url":"https://api.github.com/users/csoneson","html_url":"https://github.com/csoneson","followers_url":"https://api.github.com/users/csoneson/followers","following_url":"https://api.github.com/users/csoneson/following{/other_user}","gists_url":"https://api.github.com/users/csoneson/gists{/gist_id}","starred_url":"https://api.github.com/users/csoneson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csoneson/subscriptions","organizations_url":"https://api.github.com/users/csoneson/orgs","repos_url":"https://api.github.com/users/csoneson/repos","events_url":"https://api.github.com/users/csoneson/events{/privacy}","received_events_url":"https://api.github.com/users/csoneson/received_events","type":"User","site_admin":false},"repo":{"id":103643021,"node_id":"MDEwOlJlcG9zaXRvcnkxMDM2NDMwMjE=","name":"rnaseqworkflow","full_name":"csoneson/rnaseqworkflow","private":false,"owner":{"login":"csoneson","id":5628952,"node_id":"MDQ6VXNlcjU2Mjg5NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5628952?v=4","gravatar_id":"","url":"https://api.github.com/users/csoneson","html_url":"https://github.com/csoneson","followers_url":"https://api.github.com/users/csoneson/followers","following_url":"https://api.github.com/users/csoneson/following{/other_user}","gists_url":"https://api.github.com/users/csoneson/gists{/gist_id}","starred_url":"https://api.github.com/users/csoneson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csoneson/subscriptions","organizations_url":"https://api.github.com/users/csoneson/orgs","repos_url":"https://api.github.com/users/csoneson/repos","events_url":"https://api.github.com/users/csoneson/events{/privacy}","received_events_url":"https://api.github.com/users/csoneson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/csoneson/rnaseqworkflow","description":"Light-weight Snakemake workflow for preprocessing and statistical analysis of RNA-seq data","fork":false,"url":"https://api.github.com/repos/csoneson/rnaseqworkflow","forks_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/forks","keys_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/teams","hooks_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/hooks","issue_events_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/events{/number}","events_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/events","assignees_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/assignees{/user}","branches_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/branches{/branch}","tags_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/tags","blobs_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/statuses/{sha}","languages_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/languages","stargazers_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/stargazers","contributors_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/contributors","subscribers_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/subscribers","subscription_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/subscription","commits_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/contents/{+path}","compare_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/merges","archive_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/downloads","issues_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues{/number}","pulls_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls{/number}","milestones_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/milestones{/number}","notifications_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/labels{/name}","releases_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/releases{/id}","deployments_url":"https://api.github.com/repos/csoneson/rnaseqworkflow/deployments","created_at":"2017-09-15T10:02:41Z","updated_at":"2018-10-29T13:55:00Z","pushed_at":"2018-10-29T15:41:48Z","git_url":"git://github.com/csoneson/rnaseqworkflow.git","ssh_url":"git@github.com:csoneson/rnaseqworkflow.git","clone_url":"https://github.com/csoneson/rnaseqworkflow.git","svn_url":"https://github.com/csoneson/rnaseqworkflow","homepage":"","size":140,"stargazers_count":11,"watchers_count":11,"language":"R","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":11,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32"},"html":{"href":"https://github.com/csoneson/rnaseqworkflow/pull/32"},"issue":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/32"},"comments":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/csoneson/rnaseqworkflow/statuses/76a795b17d771145730cae0da104142c8735e699"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"csoneson"}}