{"action":"created","comment":{"url":"https://api.github.com/repos/biowdl/tasks/pulls/comments/186709221","pull_request_review_id":118339556,"id":186709221,"diff_hunk":"@@ -0,0 +1,42 @@\n+task flash {\n+    String? preCommand\n+    File inputR1\n+    File inputR2\n+    String outdirPath\n+    String? outPrefix = \"flash\"\n+    String? logPath = outdirPath + \"/\" + outPrefix + \".log\"\n+    Int? minOverlap\n+    Int? maxOverlap\n+    Boolean? compress = true\n+    Int? threads = 1\n+    Int? memory = 4\n+\n+    command {\n+        set -e -o pipefail\n+        mkdir -p ${outdirPath}\n+        ${preCommand}\n+        flash \\\n+        ${\"--threads=\" + threads} \\\n+        ${\"--output-directory=\" + outdirPath} \\\n+        ${\"--output-prefix=\" + outPrefix} \\\n+        ${true=\"--compress \" false=\"\" defined(compress)} \\\n+        ${\"--min-overlap=\" + minOverlap} \\\n+        ${\"--max-overlap=\" + maxOverlap} \\\n+        ${inputR1} ${inputR2} 2>&1 | tee ${logPath}\n+    }\n+\n+    output {\n+        File extendedFrags = outdirPath + \"/\" + outPrefix + \".extendedFrags.fastq.gz\"\n+        File notCombined1 = outdirPath + \"/\" + outPrefix + \".notCombined_1.fastq.gz\"\n+        File notCombined2 = outdirPath + \"/\" + outPrefix + \".notCombined_2.fastq.gz\"\n+        File hist = outdirPath + \"/\" + outPrefix + \".hist\"\n+        File histogram = outdirPath + \"/\" + outPrefix + \".histogram\"\n+        String log = select_first([logPath])\n+    }\n+\n+    runtime {\n+        cpu: select_first([threads])\n+        memory: select_first([memory])","path":"flash.wdl","position":39,"original_position":39,"commit_id":"66f50ed9865f46bb999c82787b5f581ab7c7181b","original_commit_id":"66f50ed9865f46bb999c82787b5f581ab7c7181b","user":{"login":"ffinfo","id":2419555,"avatar_url":"https://avatars0.githubusercontent.com/u/2419555?v=4","gravatar_id":"","url":"https://api.github.com/users/ffinfo","html_url":"https://github.com/ffinfo","followers_url":"https://api.github.com/users/ffinfo/followers","following_url":"https://api.github.com/users/ffinfo/following{/other_user}","gists_url":"https://api.github.com/users/ffinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/ffinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffinfo/subscriptions","organizations_url":"https://api.github.com/users/ffinfo/orgs","repos_url":"https://api.github.com/users/ffinfo/repos","events_url":"https://api.github.com/users/ffinfo/events{/privacy}","received_events_url":"https://api.github.com/users/ffinfo/received_events","type":"User","site_admin":false},"body":"same is true for cpu","created_at":"2018-05-08T12:27:17Z","updated_at":"2018-05-08T12:29:26Z","html_url":"https://github.com/biowdl/tasks/pull/12#discussion_r186709221","pull_request_url":"https://api.github.com/repos/biowdl/tasks/pulls/12","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/biowdl/tasks/pulls/comments/186709221"},"html":{"href":"https://github.com/biowdl/tasks/pull/12#discussion_r186709221"},"pull_request":{"href":"https://api.github.com/repos/biowdl/tasks/pulls/12"}},"in_reply_to_id":186709154},"pull_request":{"url":"https://api.github.com/repos/biowdl/tasks/pulls/12","id":186616221,"html_url":"https://github.com/biowdl/tasks/pull/12","diff_url":"https://github.com/biowdl/tasks/pull/12.diff","patch_url":"https://github.com/biowdl/tasks/pull/12.patch","issue_url":"https://api.github.com/repos/biowdl/tasks/issues/12","number":12,"state":"open","locked":false,"title":"Adding flash task for combining overlapping reads","user":{"login":"papanikos","id":12234813,"avatar_url":"https://avatars2.githubusercontent.com/u/12234813?v=4","gravatar_id":"","url":"https://api.github.com/users/papanikos","html_url":"https://github.com/papanikos","followers_url":"https://api.github.com/users/papanikos/followers","following_url":"https://api.github.com/users/papanikos/following{/other_user}","gists_url":"https://api.github.com/users/papanikos/gists{/gist_id}","starred_url":"https://api.github.com/users/papanikos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papanikos/subscriptions","organizations_url":"https://api.github.com/users/papanikos/orgs","repos_url":"https://api.github.com/users/papanikos/repos","events_url":"https://api.github.com/users/papanikos/events{/privacy}","received_events_url":"https://api.github.com/users/papanikos/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-08T12:20:04Z","updated_at":"2018-05-08T12:29:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"000c72265b22b99807f99d251781189c2a36e0a6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/biowdl/tasks/pulls/12/commits","review_comments_url":"https://api.github.com/repos/biowdl/tasks/pulls/12/comments","review_comment_url":"https://api.github.com/repos/biowdl/tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biowdl/tasks/issues/12/comments","statuses_url":"https://api.github.com/repos/biowdl/tasks/statuses/66f50ed9865f46bb999c82787b5f581ab7c7181b","head":{"label":"biowdl:flash","ref":"flash","sha":"66f50ed9865f46bb999c82787b5f581ab7c7181b","user":{"login":"biowdl","id":37308353,"avatar_url":"https://avatars3.githubusercontent.com/u/37308353?v=4","gravatar_id":"","url":"https://api.github.com/users/biowdl","html_url":"https://github.com/biowdl","followers_url":"https://api.github.com/users/biowdl/followers","following_url":"https://api.github.com/users/biowdl/following{/other_user}","gists_url":"https://api.github.com/users/biowdl/gists{/gist_id}","starred_url":"https://api.github.com/users/biowdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biowdl/subscriptions","organizations_url":"https://api.github.com/users/biowdl/orgs","repos_url":"https://api.github.com/users/biowdl/repos","events_url":"https://api.github.com/users/biowdl/events{/privacy}","received_events_url":"https://api.github.com/users/biowdl/received_events","type":"Organization","site_admin":false},"repo":{"id":124933956,"name":"tasks","full_name":"biowdl/tasks","owner":{"login":"biowdl","id":37308353,"avatar_url":"https://avatars3.githubusercontent.com/u/37308353?v=4","gravatar_id":"","url":"https://api.github.com/users/biowdl","html_url":"https://github.com/biowdl","followers_url":"https://api.github.com/users/biowdl/followers","following_url":"https://api.github.com/users/biowdl/following{/other_user}","gists_url":"https://api.github.com/users/biowdl/gists{/gist_id}","starred_url":"https://api.github.com/users/biowdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biowdl/subscriptions","organizations_url":"https://api.github.com/users/biowdl/orgs","repos_url":"https://api.github.com/users/biowdl/repos","events_url":"https://api.github.com/users/biowdl/events{/privacy}","received_events_url":"https://api.github.com/users/biowdl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biowdl/tasks","description":null,"fork":false,"url":"https://api.github.com/repos/biowdl/tasks","forks_url":"https://api.github.com/repos/biowdl/tasks/forks","keys_url":"https://api.github.com/repos/biowdl/tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biowdl/tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biowdl/tasks/teams","hooks_url":"https://api.github.com/repos/biowdl/tasks/hooks","issue_events_url":"https://api.github.com/repos/biowdl/tasks/issues/events{/number}","events_url":"https://api.github.com/repos/biowdl/tasks/events","assignees_url":"https://api.github.com/repos/biowdl/tasks/assignees{/user}","branches_url":"https://api.github.com/repos/biowdl/tasks/branches{/branch}","tags_url":"https://api.github.com/repos/biowdl/tasks/tags","blobs_url":"https://api.github.com/repos/biowdl/tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biowdl/tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biowdl/tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/biowdl/tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biowdl/tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/biowdl/tasks/languages","stargazers_url":"https://api.github.com/repos/biowdl/tasks/stargazers","contributors_url":"https://api.github.com/repos/biowdl/tasks/contributors","subscribers_url":"https://api.github.com/repos/biowdl/tasks/subscribers","subscription_url":"https://api.github.com/repos/biowdl/tasks/subscription","commits_url":"https://api.github.com/repos/biowdl/tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/biowdl/tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/biowdl/tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/biowdl/tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/biowdl/tasks/contents/{+path}","compare_url":"https://api.github.com/repos/biowdl/tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biowdl/tasks/merges","archive_url":"https://api.github.com/repos/biowdl/tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biowdl/tasks/downloads","issues_url":"https://api.github.com/repos/biowdl/tasks/issues{/number}","pulls_url":"https://api.github.com/repos/biowdl/tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/biowdl/tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/biowdl/tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biowdl/tasks/labels{/name}","releases_url":"https://api.github.com/repos/biowdl/tasks/releases{/id}","deployments_url":"https://api.github.com/repos/biowdl/tasks/deployments","created_at":"2018-03-12T18:33:02Z","updated_at":"2018-05-07T11:29:34Z","pushed_at":"2018-05-08T12:20:05Z","git_url":"git://github.com/biowdl/tasks.git","ssh_url":"git@github.com:biowdl/tasks.git","clone_url":"https://github.com/biowdl/tasks.git","svn_url":"https://github.com/biowdl/tasks","homepage":null,"size":91,"stargazers_count":1,"watchers_count":1,"language":"wdl","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"biowdl:master","ref":"master","sha":"2aff5d1dedab6905e271031652b70842ff880a9c","user":{"login":"biowdl","id":37308353,"avatar_url":"https://avatars3.githubusercontent.com/u/37308353?v=4","gravatar_id":"","url":"https://api.github.com/users/biowdl","html_url":"https://github.com/biowdl","followers_url":"https://api.github.com/users/biowdl/followers","following_url":"https://api.github.com/users/biowdl/following{/other_user}","gists_url":"https://api.github.com/users/biowdl/gists{/gist_id}","starred_url":"https://api.github.com/users/biowdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biowdl/subscriptions","organizations_url":"https://api.github.com/users/biowdl/orgs","repos_url":"https://api.github.com/users/biowdl/repos","events_url":"https://api.github.com/users/biowdl/events{/privacy}","received_events_url":"https://api.github.com/users/biowdl/received_events","type":"Organization","site_admin":false},"repo":{"id":124933956,"name":"tasks","full_name":"biowdl/tasks","owner":{"login":"biowdl","id":37308353,"avatar_url":"https://avatars3.githubusercontent.com/u/37308353?v=4","gravatar_id":"","url":"https://api.github.com/users/biowdl","html_url":"https://github.com/biowdl","followers_url":"https://api.github.com/users/biowdl/followers","following_url":"https://api.github.com/users/biowdl/following{/other_user}","gists_url":"https://api.github.com/users/biowdl/gists{/gist_id}","starred_url":"https://api.github.com/users/biowdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biowdl/subscriptions","organizations_url":"https://api.github.com/users/biowdl/orgs","repos_url":"https://api.github.com/users/biowdl/repos","events_url":"https://api.github.com/users/biowdl/events{/privacy}","received_events_url":"https://api.github.com/users/biowdl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biowdl/tasks","description":null,"fork":false,"url":"https://api.github.com/repos/biowdl/tasks","forks_url":"https://api.github.com/repos/biowdl/tasks/forks","keys_url":"https://api.github.com/repos/biowdl/tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biowdl/tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biowdl/tasks/teams","hooks_url":"https://api.github.com/repos/biowdl/tasks/hooks","issue_events_url":"https://api.github.com/repos/biowdl/tasks/issues/events{/number}","events_url":"https://api.github.com/repos/biowdl/tasks/events","assignees_url":"https://api.github.com/repos/biowdl/tasks/assignees{/user}","branches_url":"https://api.github.com/repos/biowdl/tasks/branches{/branch}","tags_url":"https://api.github.com/repos/biowdl/tasks/tags","blobs_url":"https://api.github.com/repos/biowdl/tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biowdl/tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biowdl/tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/biowdl/tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biowdl/tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/biowdl/tasks/languages","stargazers_url":"https://api.github.com/repos/biowdl/tasks/stargazers","contributors_url":"https://api.github.com/repos/biowdl/tasks/contributors","subscribers_url":"https://api.github.com/repos/biowdl/tasks/subscribers","subscription_url":"https://api.github.com/repos/biowdl/tasks/subscription","commits_url":"https://api.github.com/repos/biowdl/tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/biowdl/tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/biowdl/tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/biowdl/tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/biowdl/tasks/contents/{+path}","compare_url":"https://api.github.com/repos/biowdl/tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biowdl/tasks/merges","archive_url":"https://api.github.com/repos/biowdl/tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biowdl/tasks/downloads","issues_url":"https://api.github.com/repos/biowdl/tasks/issues{/number}","pulls_url":"https://api.github.com/repos/biowdl/tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/biowdl/tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/biowdl/tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biowdl/tasks/labels{/name}","releases_url":"https://api.github.com/repos/biowdl/tasks/releases{/id}","deployments_url":"https://api.github.com/repos/biowdl/tasks/deployments","created_at":"2018-03-12T18:33:02Z","updated_at":"2018-05-07T11:29:34Z","pushed_at":"2018-05-08T12:20:05Z","git_url":"git://github.com/biowdl/tasks.git","ssh_url":"git@github.com:biowdl/tasks.git","clone_url":"https://github.com/biowdl/tasks.git","svn_url":"https://github.com/biowdl/tasks","homepage":null,"size":91,"stargazers_count":1,"watchers_count":1,"language":"wdl","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biowdl/tasks/pulls/12"},"html":{"href":"https://github.com/biowdl/tasks/pull/12"},"issue":{"href":"https://api.github.com/repos/biowdl/tasks/issues/12"},"comments":{"href":"https://api.github.com/repos/biowdl/tasks/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/biowdl/tasks/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/biowdl/tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biowdl/tasks/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/biowdl/tasks/statuses/66f50ed9865f46bb999c82787b5f581ab7c7181b"}},"author_association":"NONE"}}
{"actor":{"display_login":"ffinfo"}}