-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output bai when using ht mode #78
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, we prefer being explicit about output files when reasonable to make it clear which files may be expected. With that in mind, we should stick to separate publish entries for bam
and bai
files.
@@ -56,30 +56,23 @@ process { | |||
] | |||
} | |||
|
|||
withName: '.*FASTQTOBAM' { | |||
withName: 'FASTQTOBAM' { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the .*FASTQTOBAM
is so this can still be valid if fastquorum is used as a subworkflow/module in other contexts. We should leave the globs as is for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the
.*FASTQTOBAM
is so this can still be valid if fastquorum is used as a subworkflow/module in other contexts. We should leave the globs as is for now.
I spent several hours a few months ago trying to debug why my config with 'ALIGN_RAW_BAM' wasn't overriding the current modules.config. It'll always match the name FASTQTOBAM, whether in a subworkflow or not, but this will also match any process including the string "FASTQTOBAM".
You should only use the .*
if you want to match multiple processes.
Hmmm, I think that is needlessly complicated to be honest. |
How about this #79? Updated the process name specification to |
Closing in favour of #79 |
Fixing the issue noted in #74. The index is generated, but not currently published.
I also removed the
.*
at the start of the process selectors, because they have higher priority than without, which gives a subtle issue if people try to override without using that themselves.I also updated the modules.config to use * to match multiple files where relevant.