-
Notifications
You must be signed in to change notification settings - Fork 489
New tool addition: KneadData #7498
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
base: main
Are you sure you want to change the base?
Changes from 4 commits
972c7fd
9d626bc
93dd153
d765919
ec2560d
7d70bd7
adc65c1
1daf4cc
1cd225f
9b1a59e
7383189
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,15 @@ | ||||||
| name: kneaddata | ||||||
| owner: iuc | ||||||
| type: unrestricted | ||||||
| description: Quality control and contaminant removal for metagenomic data | ||||||
| long_description: > | ||||||
| KneadData is a tool designed to perform quality control on | ||||||
| metagenomic and metatranscriptomic sequencing data, especially | ||||||
| data from microbiome experiments. It performs adapter trimming, | ||||||
| quality filtering, and removal of host contamination using | ||||||
| Bowtie2/TRIMMOMATIC/TRF. | ||||||
|
||||||
| Bowtie2/TRIMMOMATIC/TRF. | |
| Bowtie2, TRIMMOMATIC and TRF. |
Outdated
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.
| remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/master/tools/kneaddata | |
| remote_repository_url: https://github.com/galaxyproject/tools-iuc/tree/main/tools/kneaddata |
Outdated
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.
| - Statistics | |
| - Sequence Analysis |
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,272 @@ | ||||||||||
| <tool id="kneaddata" name="KneadData" version="0.12.1+galaxy0" python_template_version="3.5" profile="21.05"> | ||||||||||
|
||||||||||
| <tool id="kneaddata" name="KneadData" version="0.12.1+galaxy0" python_template_version="3.5" profile="21.05"> | |
| <tool id="kneaddata" name="KneadData" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
Please introduce the above tokens in the macros.xml file
Outdated
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.
This can go in macros.xml. Wondering if these dependencies are already part of Kneaddata or does one explicitly need them?
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.
| kneaddata | |
| mkdir -p results/ | |
| kneaddata |
Outdated
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.
| -o "output_dir" | |
| -o results/ |
Outdated
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.
I would be in favor of removing this parameter
Outdated
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.
| --threads "$number_threads" | |
| --processes "$number_processes" |
Outdated
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.
| #if $trimmomatic.max_memory | |
| --max-memory "$trimmomatic.max_memory" | |
| #end if |
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.
Outdated
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.
perhaps adding a help tag could be beneficial?
Outdated
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.
| <option value="s">Single read</option> | |
| <option value="p">Paired reads</option> | |
| <option value="single">Single read</option> | |
| <option value="paired">Paired reads</option> |
Outdated
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.
| <param name="single_read" type="data" format="fastq" label="Single Read"/> | |
| <param name="single_read" type="data" format="fastqsanger" label="Single Read"/> |
Does it also support fastq.gz?
Outdated
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.
| <when value="p"> | |
| <when value="paired"> |
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.
fastq and fastqsanger datatypes are different. Please prefer fastqsanger datatype
Outdated
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.
| <param name="output_prefix" type="text" label="Custom prefix for all output files" help="Leave empty to keep the input file name."/> |
Outdated
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.
| <param name="number_threads" type="integer" value="1" label="Number of threads"/> | |
| <param name="number_processes" type="integer" value="1" label="Number of processes"/> |
This is not required
Outdated
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.
| <param name="max_memory" type="text" value="500m" label="Maximum memory for Trimmomatic"/> |
Outdated
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.
Better names for option values?
Outdated
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.
Better value names?
Outdated
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.
| <when value="skip"> | |
| </when> | |
| <when value="skip"/> |
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.
Change from_work_dir to results/...
Outdated
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.
| <param name="number_threads" value="1"/> | |
| <param name="number_processes" value="1"/> |
Outdated
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.
| <param name="single_read" value="28C.single.fastq"/> | |
| <param name="single_read" value="test_single.fastq"/> |
Outdated
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.
| <output name="paired_forward" file="paired_forward.fastq"/> | |
| <output name="paired_forward" file="test_paired_1.fastq"/> |
Outdated
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.
| <output name="paired_backward" file="paired_backward.fastq"/> | |
| <output name="paired_backward" file="test_paired_2.fastq"/> |
Outdated
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.
A better help could be what is KneadData tool, what does it do, what inputs it requires, what outputs it gives out etc. Perhaps explanation of a few important parameters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @test1 | ||
| ACGTACGT | ||
| + | ||
| IIIIIIII | ||
|
Comment on lines
+1
to
+4
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can use test data for KneadData from BMTagger |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @test1 | ||
| TGCTAGCT | ||
| + | ||
| IIIIIIII |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| @test1 | ||
| ACGTACGT | ||
| + | ||
| IIIIIIII | ||
| @test2 | ||
| TGCTAGCT | ||
| + | ||
| IIIIIIII |
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.