-
Notifications
You must be signed in to change notification settings - Fork 81
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
Adding Kraken2 metagenomics classifier #355
Conversation
README.md
Outdated
@@ -67,6 +67,7 @@ Additional functionality contained by the pipeline currently includes: | |||
#### Metagenomic Screening | |||
|
|||
* Taxonomic binner with alignment (`MALT`) | |||
* Taxonomic binner without alignment (`Kraken2`) | |||
* aDNA characteristic screening of taxonomically binned data (`MaltExtract`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* aDNA characteristic screening of taxonomically binned data (`MaltExtract`) | |
* aDNA characteristic screening of taxonomically binned data from MALT (`MaltExtract`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed
bin/kraken_parse.py
Outdated
''' | ||
INPUT: | ||
infile (str): path to kraken report file | ||
countlim (int): lower count threshold to report hit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
countlim (int): lower count threshold to report hit | |
countlim (int): lowest count threshold to report hit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
bin/merge_kraken_res.py
Outdated
'-o', | ||
dest="output", | ||
default=None, | ||
help="Output file. Default = sources.csv") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does 'sources' mean here? Or is this a leftover from CoproID? Maybe should be changed to same on line 58?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From kraken-nf actually ;)
Changed to use the name given by the CLI. (default="kraken_count_table.csv")
docs/usage.md
Outdated
respectively. Ensure your database matches the mode. Check the [MALT manual](http://ab.inf.uni-tuebingen.de/data/software/malt/download/manual.pdf) for more details. Default: 'BlastN' | ||
respectively. Ensure your database matches the mode. Check the [MALT manual](http://ab.inf.uni-tuebingen.de/data/software/malt/download/manual.pdf) for more details. Default: 'BlastN' | ||
|
||
Only when `--metagenomic_tool malt` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only when `--metagenomic_tool malt` | |
Only when `--metagenomic_tool malt` is also supplied |
While I thought this would've been implicit with the paramtere name, better to be explicit ;). The complete sentence can be applied to all below as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed every occurence to your suggestion
nextflow.config
Outdated
database = '' | ||
percent_identity = 85 | ||
malt_mode = 'BlastN' | ||
malt_alignment_mode = 'SemiGlobal' | ||
malt_top_percent = 1 | ||
malt_min_support_mode = 'percent' | ||
malt_min_support_percent = 0.01 | ||
malt_min_support_reads = 1 | ||
metagenomic_min_support_reads = 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate here with line 168? Any reason why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Adding Kraken2 metagenomics classifier
main.nf
bin
PR checklist
nextflow run . -profile test,docker
).nf-core lint .
).docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedLearn more about contributing: https://github.com/nf-core/eager/tree/master/.github/CONTRIBUTING.md