-
Notifications
You must be signed in to change notification settings - Fork 709
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
Clean -fw from sample names in MultiQC #375
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.
Looks good
@ewels as discussed on gitter this was for nfcore-rnaseq v 1.4.2 (multiqc v1.7). I have made some changes for implementation on our cluster but mainly to resource settings so should affect the multiqc part (https://github.com/kviljoen/RNAseq) |
Hi @kviljoen, You should not need to fork and edit the pipeline code to change configuration settings. The pipelines (and Nextflow) are designed so that you can overwrite just about everything in your own files. Then the codebase is kept "clean" and the pipeline is more reproducible, plus you can easily update without overwriting your changes. See https://nf-co.re/usage/configuration for some documentation (recently revamped) and https://nf-co.re/usage/configuration as the place to go to add your config profile (which will then be instantly available to all nf-core pipelines). Phil |
Fixes new lint tests to standardise all command line parameters to use snake_case instead of camelCase
I'm not sure why the GitHub actions lint test is failing here.. @ggabernet - any ideas? |
- name: Check PRs | ||
run: | | ||
[[ $(git remote get-url origin) == *nf-core/rnaseq ]] && [[ ${GITHUB_BASE_REF} = "master" ]] && { [[ ${GITHUB_HEAD_REF} = "dev" ]] || [[ ${GITHUB_BASE_REF} = "patch" ]]; } | ||
{ [[ $(git remote get-url origin) == *{{cookiecutter.name}} ]] && [[ ${GITHUB_HEAD_REF} = "dev" ]]; } || [[ ${GITHUB_HEAD_REF} == "patch" ]] |
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.
{ [[ $(git remote get-url origin) == *{{cookiecutter.name}} ]] && [[ ${GITHUB_HEAD_REF} = "dev" ]]; } || [[ ${GITHUB_HEAD_REF} == "patch" ]] | |
{ [[ $(git remote get-url origin) == *nf-core/rnaseq ]] && [[ ${GITHUB_HEAD_REF} = "dev" ]]; } || [[ ${GITHUB_HEAD_REF} == "patch" ]] |
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.
Hi @ewels I'm still getting sample rows being split by '-fw' in the multiqc report even after inclusion of '-fw' in the multiqc_config.yaml for stripping. |
Hi @kviljoen - sorry to hear that. This is definitely with the |
Yes @ewels I tried to use the dev version but got an unrelated error:
'Unknown variable 'ch_fasta_for_rsem_reference' where it looks like there was no channel created for ch_fasta_for_rsem_reference? I've therefore just added '-fw' to my own multiqc_config.yaml, not sure if I need any additional edits?
Thanks for the quick reply!
Katie.
|
Ok, we should make a new issue about the The change you mentioned should be all that is required. You can see that block of the MultiQC config in the pipeline here: rnaseq/assets/multiqc_config.yaml Lines 1 to 7 in 8845b21
It seems to work fine in my testing though 🤔 |
Thanks @ewels probably something on my side then. I'm currently using process.container = 'nfcore/rnaseq:1.4.2' not sure if that would change anything. Not sure if the ch_fasta_for_rsem_reference problem is on my side, perhaps you could check if working for you?
Regards,
Katie.
|
If you're using the development code, you should be using the development container - the The automated tests are passing fine so it must be something specific to the way that you're running the pipeline. Let's discuss on the other issue thread though. |
Hi Phil, yes, |
Hi @kviljoen, I can't see any MultiQC config edits when comparing your fork? Will move discussion of the log over to the other issue to try to keep these two separate 😅 Phil |
Hi Phil, The test I ran was on my Regards, |
Ok, the change looks fine. And you're not supplying a custom MultiQC config or anything? Is it possible to attach a MultiQC report where this is a problem? |
Hi @ewels I'm now running the nf-core/dev pipeline but am still having this issue, unfortunately. |
The new gzipping / rRNA code with
--removeRiboRNA
in the pipeline now appends-fw
and-rv
to the FastQ file names:rnaseq/main.nf
Lines 987 to 988 in 3b6df9b
These are not currently trimmed off by MultiQC and result in the sample rows being split:
This PR adds
-fw
to the MultiQC config, so that the sample names are cleaned and will merge into a single row again.PR checklist
dev
rather thanmaster
nextflow run . -profile test,docker
).nf-core lint .
).docs
is updatedCHANGELOG.md
is updatedREADME.md
is updated