Update porechop/abi to patched version to not result in duplicated reads#854
Merged
Update porechop/abi to patched version to not result in duplicated reads#854
Conversation
|
dialvarezs
reviewed
Aug 25, 2025
Comment on lines
+121
to
+123
| if (!(val_skip_qc && !(params.host_fasta || params.host_genome))) { | ||
| if (!(params.skip_adapter_trimming && params.skip_longread_filtering && params.keep_lambda && !(params.host_fasta || params.host_genome))) { | ||
| NANOPLOT_FILTERED( |
Member
There was a problem hiding this comment.
[non-blocking] Looking at this a second time, I feel a bit more unconfortable with this nested negation. Can we try to simplify it? I know the logic is described in the comment, but the code should be easy to follow too.
Maybe we can define some auxiliary variables to make it easier to read:
def _has_host_data = params.host_fasta || params.host_genome
def _skip_all_processing = params.skip_adapter_trimming && params.skip_longread_filtering && params.keep_lambda
Member
Author
There was a problem hiding this comment.
I like the idea! Maybe youcan make an issue for a future release?
11 tasks
jfy133
commented
Sep 3, 2025
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.
nf-core/mag pull request
To close #840
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,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).