payload: {"action":"created","issue":{"url":"https://api.github.com/repos/nf-core/tools/issues/461","repository_url":"https://api.github.com/repos/nf-core/tools","labels_url":"https://api.github.com/repos/nf-core/tools/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/nf-core/tools/issues/461/comments","events_url":"https://api.github.com/repos/nf-core/tools/issues/461/events","html_url":"https://github.com/nf-core/tools/issues/461","id":528121904,"node_id":"MDU6SXNzdWU1MjgxMjE5MDQ=","number":461,"title":"Include gene annotation versions in multiqc report","user":{"login":"ChristopherBarrington","id":7288036,"node_id":"MDQ6VXNlcjcyODgwMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/7288036?v=4","gravatar_id":"","url":"https://api.github.com/users/ChristopherBarrington","html_url":"https://github.com/ChristopherBarrington","followers_url":"https://api.github.com/users/ChristopherBarrington/followers","following_url":"https://api.github.com/users/ChristopherBarrington/following{/other_user}","gists_url":"https://api.github.com/users/ChristopherBarrington/gists{/gist_id}","starred_url":"https://api.github.com/users/ChristopherBarrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChristopherBarrington/subscriptions","organizations_url":"https://api.github.com/users/ChristopherBarrington/orgs","repos_url":"https://api.github.com/users/ChristopherBarrington/repos","events_url":"https://api.github.com/users/ChristopherBarrington/events{/privacy}","received_events_url":"https://api.github.com/users/ChristopherBarrington/received_events","type":"User","site_admin":false},"labels":[{"id":1018282356,"node_id":"MDU6TGFiZWwxMDE4MjgyMzU2","url":"https://api.github.com/repos/nf-core/tools/labels/documentation","name":"documentation","color":"006b75","default":true,"description":""},{"id":835977905,"node_id":"MDU6TGFiZWw4MzU5Nzc5MDU=","url":"https://api.github.com/repos/nf-core/tools/labels/good%20first%20issue","name":"good first issue","color":"9df9f5","default":true,"description":"Good for newcomers"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2019-11-25T09:25:22Z","updated_at":"2019-12-19T09:28:21Z","closed_at":"2019-12-18T11:59:48Z","author_association":"NONE","body":"After using the atacseq pipeline, I checked the multiqc report and find relevant information recorded such as reference genome. The paths to bed/gtf files are included but a useful piece of information to include would be the annotation version used. The pipeline uses iGenomes so I checked the README in the Annotation subdirectory and found the included files were release-81 (2015). \r\n\r\nFor downstream analysis, this information would be nice to include in the multiqc report if possible.\r\n\r\nThanks,\r\n\r\nChris"},"comment":{"url":"https://api.github.com/repos/nf-core/tools/issues/comments/567409057","html_url":"https://github.com/nf-core/tools/issues/461#issuecomment-567409057","issue_url":"https://api.github.com/repos/nf-core/tools/issues/461","id":567409057,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NzQwOTA1Nw==","user":{"login":"drpatelh","id":23529759,"node_id":"MDQ6VXNlcjIzNTI5NzU5","avatar_url":"https://avatars3.githubusercontent.com/u/23529759?v=4","gravatar_id":"","url":"https://api.github.com/users/drpatelh","html_url":"https://github.com/drpatelh","followers_url":"https://api.github.com/users/drpatelh/followers","following_url":"https://api.github.com/users/drpatelh/following{/other_user}","gists_url":"https://api.github.com/users/drpatelh/gists{/gist_id}","starred_url":"https://api.github.com/users/drpatelh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpatelh/subscriptions","organizations_url":"https://api.github.com/users/drpatelh/orgs","repos_url":"https://api.github.com/users/drpatelh/repos","events_url":"https://api.github.com/users/drpatelh/events{/privacy}","received_events_url":"https://api.github.com/users/drpatelh/received_events","type":"User","site_admin":false},"created_at":"2019-12-19T09:28:21Z","updated_at":"2019-12-19T09:28:21Z","author_association":"MEMBER","body":"Maybe this would work:\r\n\r\n```\r\ntry {\r\n   ch_readme = Channel.fromPath(params.readme, checkIfExists: true)\r\n} catch (all) {\r\n   ch_readme = Channel.empty() \r\n}\r\n```\r\n\r\nand then in the process:\r\n\r\n```\r\ninput:\r\nfile readme from ch_readme.collect().ifEmpty([])\r\n```\r\n\r\nFeel a bit hacky though..."}}
other: {"actor":{"display_login":"drpatelh"}}