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

Update published contigs #25

Merged
merged 4 commits into from
Dec 6, 2024
Merged

Conversation

Ge94
Copy link
Member

@Ge94 Ge94 commented Dec 3, 2024

Small PR to be put in production to solve a small bug. Previously, contigs filtered by human were published. We want those filtered by host too.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • README.md is updated (including new tool citations and authors/contributors).

Ge94 added 2 commits December 3, 2024 11:08
Previously, contigs undergoing only one filter were published
@Ge94 Ge94 marked this pull request as ready for review December 3, 2024 15:27
@Ge94 Ge94 requested a review from mberacochea December 3, 2024 15:27
Copy link
Member

@mberacochea mberacochea left a comment

Choose a reason for hiding this comment

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

LGTM... left one comment about the output naming.

)

emit:
filtered_contigs = filtered_contigs
filtered_contigs = cleaned_contigs
Copy link
Member

Choose a reason for hiding this comment

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

We should also rename the output to avoid having to remember this name mapping outside the module

Copy link
Member Author

Choose a reason for hiding this comment

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

To which output are you referring to, the one from this subwf or the one for published contigs? @mberacochea

Copy link
Member

Choose a reason for hiding this comment

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

This one, in the emit:

filtered_contigs = cleaned_contigs

should be

cleaned_contigs = cleaned_contigs

@Ge94 Ge94 merged commit 329958f into main Dec 6, 2024
1 check passed
@Ge94 Ge94 deleted the bugfix/published-contigs-failed-assemblies branch December 6, 2024 16:54
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.

2 participants