Change FILTER_DIFFTABLE to python because AWK does not correctly filter reliably#264
Merged
WackerO merged 8 commits intonf-core:devfrom Apr 24, 2024
Merged
Conversation
10 tasks
|
pinin4fjords
requested changes
Apr 23, 2024
pinin4fjords
approved these changes
Apr 24, 2024
Member
pinin4fjords
left a comment
There was a problem hiding this comment.
Just a typo (and maybe make the actual PR name match what's in the changelog), otherwise good.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR changes the FILTER_DIFFTABLE module to python with pandas; I noticed while working on #257 that the previous module sometimes filters out all the genes, not just the non-DE ones. I was not able to find where the issue is with AWK after a lot of trying out, so the module now uses python.
The module now also applies log2 to the threshold parameter so that the DE gene results are the same as in the report tables; I checked this and the tables now agree with each other (see attached zip).
filtered_results.zip
PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).