{"action":"created","issue":{"url":"https://api.github.com/repos/ewels/MultiQC/issues/151","repository_url":"https://api.github.com/repos/ewels/MultiQC","labels_url":"https://api.github.com/repos/ewels/MultiQC/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/ewels/MultiQC/issues/151/comments","events_url":"https://api.github.com/repos/ewels/MultiQC/issues/151/events","html_url":"https://github.com/ewels/MultiQC/issues/151","id":137832671,"number":151,"title":"search patterns match file ending","user":{"login":"dakl","id":17823,"avatar_url":"https://avatars.githubusercontent.com/u/17823?v=3","gravatar_id":"","url":"https://api.github.com/users/dakl","html_url":"https://github.com/dakl","followers_url":"https://api.github.com/users/dakl/followers","following_url":"https://api.github.com/users/dakl/following{/other_user}","gists_url":"https://api.github.com/users/dakl/gists{/gist_id}","starred_url":"https://api.github.com/users/dakl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakl/subscriptions","organizations_url":"https://api.github.com/users/dakl/orgs","repos_url":"https://api.github.com/users/dakl/repos","events_url":"https://api.github.com/users/dakl/events{/privacy}","received_events_url":"https://api.github.com/users/dakl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ewels/MultiQC/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-02T10:19:14Z","updated_at":"2016-03-02T10:47:28Z","closed_at":"2016-03-02T10:45:49Z","body":"In the fastqc step in my upstream pipeline, `_fastqc.zip` files are generated, but also `_fastqc.zip.done`. \r\n\r\nWhen I run MultiQC, both the `zip` and the `zip.done` files are matched by the file name pattern in `search_patterns.yaml` and therefore reported in the resulting `multiqc_sources.txt` file. \r\n\r\nThe `.done` files are empty, so they don't affect the actual report, and therefore (i think) should not be written to `multiqc_sources.txt`. \r\n\r\nI tried altering `search_patterns.yaml` to `_fastqc.zip$` (note trailing `$`) but that just caused no files to match. \r\n\r\nsnippet from `multiqc_sources.txt`:\r\n\r\n```\r\nFastQC  all_sections    n_1     /Users/dankle/vms/fairbanks/p2/qc/fastqc/n_1_fastqc.zip\r\nFastQC  all_sections    n_2     /Users/dankle/vms/fairbanks/p2/qc/fastqc/n_2_fastqc.zip\r\nFastQC  all_sections    .t_2_fastqc.zip.done    /Users/dankle/vms/fairbanks/p2/qc/fastqc/.t_2_fastqc.zip.done\r\nFastQC  all_sections    .n_2_fastqc.zip.done    /Users/dankle/vms/fairbanks/p2/qc/fastqc/.n_2_fastqc.zip.done\r\n```"},"comment":{"url":"https://api.github.com/repos/ewels/MultiQC/issues/comments/191183355","html_url":"https://github.com/ewels/MultiQC/issues/151#issuecomment-191183355","issue_url":"https://api.github.com/repos/ewels/MultiQC/issues/151","id":191183355,"user":{"login":"ewels","id":465550,"avatar_url":"https://avatars.githubusercontent.com/u/465550?v=3","gravatar_id":"","url":"https://api.github.com/users/ewels","html_url":"https://github.com/ewels","followers_url":"https://api.github.com/users/ewels/followers","following_url":"https://api.github.com/users/ewels/following{/other_user}","gists_url":"https://api.github.com/users/ewels/gists{/gist_id}","starred_url":"https://api.github.com/users/ewels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewels/subscriptions","organizations_url":"https://api.github.com/users/ewels/orgs","repos_url":"https://api.github.com/users/ewels/repos","events_url":"https://api.github.com/users/ewels/events{/privacy}","received_events_url":"https://api.github.com/users/ewels/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T10:47:28Z","updated_at":"2016-03-02T10:47:28Z","body":"Hi @dakl - this should fix it.\r\n\r\nThe FastQC module is a bit of a mess really, needs some proper refactoring to clean it up..."}}