Adjusted handling of MetaBAT2 output files#59
Merged
skrakau merged 1 commit intonf-core:devfrom Jul 1, 2020
Merged
Conversation
Collaborator
|
Yes, I think this looks good. I am not sure if anybody needs so many files in the "discarded" folder. The alternative would be to merge these. However, it also doesn't hurt to have an explanation why the contigs do not end up in the final MAGs, i.e. the docs need a definition what contigs end up in what file. |
44864e7 to
438d21e
Compare
Member
Author
|
unused FASTA files are now also in the final results located within a Still needs to be documented. |
438d21e to
5b1ebb8
Compare
d4straub
approved these changes
Jul 1, 2020
Collaborator
d4straub
left a comment
There was a problem hiding this comment.
Alright, but documentation is required at some point.
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.
I introduced a bug by updating Metabat2 to v2.15 in PR #56: this version of MetaBAT2 outputs additional files "*.lowDepth.fa" and "*.tooShort.fa", which might be empty and cause problems when passed forward to the process
quast_bins.To fix this, and since those files should anyway not be processed further, I moved all the unbinned FASTA files that are smaller than
--min_length_unbinned_contigs(i.e. *.tooShort.fa, *.lowDepth.fa, *.unbinned.pooled.fa, *.unbinned.remaining.fa) to a folderdiscarded. However, those files will still be published. Additionally I renamed the file "*.unbinned.fa.remaining" to "*.unbinned.remaining.fa" for the sake of consistency.@d4straub do you think that's OK in this way and the naming of the files ending up in the results folder should stay like this? If yes, some information about this could be added to the
output.mdPR checklist
nextflow run . -profile test,docker).nf-core lint .).docsis updatedCHANGELOG.mdis updatedREADME.mdis updatedLearn more about contributing: https://github.com/nf-core/mag/tree/master/.github/CONTRIBUTING.md