Skip to content
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

Find ConvertSequencingArtifactToOxoG files properly. Fix for indexcov issue. #1310

Merged
merged 5 commits into from
Mar 5, 2021

Conversation

roryk
Copy link
Contributor

@roryk roryk commented Oct 2, 2020

INPUT_BASE is the switch that is used, not INPUT for
this tool. (see
https://gatk.broadinstitute.org/hc/en-us/articles/360037058092-ConvertSequencingArtifactToOxoG-Picard-)

These files were getting missed without this tweak.

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md has been updated

INPUT_BASE is the switch that is used, not INPUT for
this tool. (see
https://gatk.broadinstitute.org/hc/en-us/articles/360037058092-ConvertSequencingArtifactToOxoG-Picard-)

These files were getting missed without this tweak.
Closes MultiQC#1265 and bcbio/bcbio-nextgen#3350.

Thanks to @fgviera and @WimSpree for pointing the issue out.
@roryk roryk changed the title Find ConvertSequencingArtifactToOxoG files. Find ConvertSequencingArtifactToOxoG files properly. Fix for indexcov issue. Oct 6, 2020
@roryk
Copy link
Contributor Author

roryk commented Oct 6, 2020

Sorry for not breaking these up into two branches, hope that is okay. Both fixes tested and fix their respective issues.

@roryk
Copy link
Contributor Author

roryk commented Feb 9, 2021

Heya, just a ping for this, sorry to be a pain-- there are two fixes here that are pretty simple and fix a crash plus fix an issue with some metrics not showing up. Is there anything I can do to help to get them merged in?

@ewels ewels linked an issue Mar 4, 2021 that may be closed by this pull request
context_col = None

# Pull sample name from input
fn_search = re.search(r"INPUT_BASE(?:=|\s+)(\[?[^\s]+\]?)", l, flags=re.IGNORECASE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have any example data in ewels/MultiQC_TestData which has ConvertSequencingArtifactToOxoG in it so I can't test this. But I think that your change is basically to allow either INPUT or INPUT_BASE in the regex, is that right? In which case I'm not sure that we need to duplicate this whole code block. I think that we can just add an optional non-capturing group to the regex to allow either.

@ewels
Copy link
Member

ewels commented Mar 4, 2021

Sorry for the delay in reviewing. I am snowed under with MultiQC at the moment and struggling to keep up with PRs (I have a plan to address this, just no time to implement it - a bit of a catch 22 situation!).

Anyway, as this was a small PR I'll try and sneak it in before this release. I don't have appropriate test data to really try out the new code (if you fancy making a PR to ewels/MultiQC_TestData to address this that would be fab). But I think that my edits to your PR should have the same effect and make the PR even smaller 😄

I'll merge after the tests pass so as not to keep you waiting, but please to check that you agree with my changes and let me know if you find any problems.

Phil

@ewels ewels merged commit 2e0051d into MultiQC:master Mar 5, 2021
@roryk
Copy link
Contributor Author

roryk commented Mar 5, 2021

Sorry for the delay in reviewing. I am snowed under with MultiQC at the moment and struggling to keep up with PRs (I have a plan to address this, just no time to implement it - a bit of a catch 22 situation!).

Anyway, as this was a small PR I'll try and sneak it in before this release. I don't have appropriate test data to really try out the new code (if you fancy making a PR to ewels/MultiQC_TestData to address this that would be fab). But I think that my edits to your PR should have the same effect and make the PR even smaller 😄

I'll merge after the tests pass so as not to keep you waiting, but please to check that you agree with my changes and let me know if you find any problems.

Phil

Hi Phil! No worries, I am sorry you are feeling overwhelmed with multiqc, I totally understand how that happens. It is a curse to be popular. Please let the community know if we can help out in any way, multiqc is really popular and useful and I am sure there are a bunch of people who will be willing to pitch in.

Yup, your changes look great. Thank you.

I'll p/r the test file tomorrow morning, let me track one down.

@ewels
Copy link
Member

ewels commented Mar 5, 2021

Thanks for checking!

My plan is basically to decentralise the modules into separate packages with their own releases and maintainers. So at some point I will be on the hunt for people willing to keep an eye on specific MultiQC modules for incoming PRs and bug reports. If that's something you think you might be able to help with then keep your eye out on twitter / this repo etc and something should appear one day.. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on PED file from goleft_indexcov
2 participants