# HG changeset patch # User bebatut # Date 1453884909 18000 # Node ID acaf871de2ea5b92aeac19e634ab244e38e077f1 # Parent 10ac5c567b7355b57a02919c963bfe200d727176 planemo upload for repository https://github.com/ASaiM/galaxytools/tree/master/tools/prinseq/ commit ade7dfd3c1f1c5369e338013c5ca2ec7115cafe6-dirty diff -r 10ac5c567b73 -r acaf871de2ea README.md --- a/README.md Tue Nov 17 06:02:09 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,64 +0,0 @@ -Galaxy wrapper for PRINSEQ -=========================== - -PRINSEQ is a tool for easy and rapid quality control and data processing of -metagenomic and metatranscriptomic datasets. This tool allow to process the -sequences with filtering and trimming. For more information, check the -[user manual](http://prinseq.sourceforge.net/manual.html) - -# Installation - -## Automated installation - -On a Galaxy instance, the wrapper can be automatically installed using the -ToolShed. This will automatically install the dependencies, configure the Galaxy -instance for the tool and data, ... - -## Manual installation - -For manual installation, the files `prinseq.xml` must be put in the `tools/prinseq/` - folder and add the XML files to Galaxy's `tool_conf.xml` (in `config` folder) as -normal: - -``` -
- -
-``` - -PRINSEQ must be installed somewhere on the system path. It can be done using: - -``` -planemo dependency_script ~/repositories/galaxytools/tools/prinseq/ -bash dep_install.sh -source env.sh -``` - -To test the Galaxy integration, the functional tests can be runned: - -``` -./run_tests.sh -sid prinseq -``` - -# Bug Reports - -Any bug can be filed in an issue [here](https://github.com/ASaiM/galaxytools/issues). - -# Developers - -A release can be pushed to the test or main "Galaxy Tool Shed", using the following -Planemo commands (with required Tool Shed access detailed in `~/.planemo.yml`): - -``` -planemo shed_update -t testtoolshed --check_diff ~/repositories/galaxytools/tools/prinseq/ -``` - -or: - -``` -planemo shed_update -t toolshed --check_diff ~/repositories/galaxytools/tools/prinseq/ -``` - -# License (Apache 2) - -This wrapper are released under Apache 2 License. See the [LICENSE file](https://github.com/ASaiM/galaxytools/blob/master/LICENSE) for details \ No newline at end of file diff -r 10ac5c567b73 -r acaf871de2ea prinseq.xml --- a/prinseq.xml Tue Nov 17 06:02:09 2015 -0500 +++ b/prinseq.xml Wed Jan 27 03:55:09 2016 -0500 @@ -25,8 +25,24 @@ + #end if + + -graph_stats "$graph_stats" + -graph_data stats.gd + ; + + # perl \${PRINSEQ_DIR}/prinseq-graphs-noPCA.pl -i stats.gd -html_all -o stats_html + + +]]> - + + + + + + + + + + + + + + truevalue="true" falsevalue="false" label="Apply filter treatments?" + help=""/> + hreshold to conserve sequences" help="(-min_len)"/> + + threshold to conserve sequences" help="(-max_len)"/> + + + to conserve sequences" help="(-min_qual_score)"/> + + threshold to conserve sequences" help="(-max_qual_score)"/> + @@ -262,12 +324,14 @@ type="integer" min="0" max="40" value="15" label="Minimum mean score threshold to conserve sequences" - help=""/> + help="(-min_qual_mean)"/> + @@ -276,29 +340,35 @@ type="integer" min="0" max="40" value="40" label="Maximum mean score threshold - to conserve sequences" help=""/> + to conserve sequences" help="(-max_qual_mean)"/> + + + @@ -307,12 +377,14 @@ type="integer" min="0" max="100" value="10" label="Minimal GC percentage threshold to conserve - sequences" help=""/> + sequences" help="(-min_gc)"/> + @@ -321,27 +393,32 @@ type="integer" min="0" max="100" value="90" label="Maximal GC percentage threshold to conserve - sequences" help=""/> + sequences" help="(-max_gc)"/> + + + threshold to conserve sequences" help="(-ns_max_n)"/> + @@ -349,24 +426,28 @@ + to conserve sequences" help="(-ns_max_p)"/> + + default, this treatment is not made. (-noniupac)"/> + + sequences" help="(-lc_method)"> @@ -374,29 +455,35 @@ min="0" max="100" value="2" label="Threshold value used to filter sequences by sequence complexity" help="The dust method uses the threshold as maximum allowed score - and the entropy method as minimum allowed value."/> + and the entropy method as minimum allowed value.(-lc_threshold)"/> + + + truevalue="true" falsevalue="false" label="Apply trimming + treatments?" help=""/> + trimming" help="(-trim_to_len)"/> + @@ -407,7 +494,8 @@ @@ -415,12 +503,14 @@ + positions to trim on 5'-end" help="(-trim_left)"/> + @@ -429,22 +519,26 @@ type="integer" min="0" max="3000" value="100" label="Number of positions to trim on 3'-end" - help=""/> + help="(-trim_right)"/> + + @@ -452,12 +546,14 @@ + of positions to trim on 5'-end" help="(-trim_left_p)"/> + + of positions to trim on 3'-end" help="(-trim_right_p)"/> + + + @@ -495,12 +597,14 @@ type="integer" min="0" max="3000" value="100" label="Minimum length of poly-A/T to trim at the 5'-end" - help=""/> + help="(-trim_tail_left)"/> + @@ -508,19 +612,23 @@ type="integer" min="0" max="3000" value="100" label="Minimum length of poly-A/T to trim at the 5'-end" - help=""/> + help="(-trim_tail_right)"/> + + @@ -528,12 +636,14 @@ type="integer" min="0" max="3000" value="100" label="Minimum length of poly-N to trim at the 5'-end" - help=""/> + help="(-trim_ns_left)"/> + @@ -541,46 +651,54 @@ type="integer" min="0" max="3000" value="100" label="Minimum length of poly-N to trim at the 5'-end" - help=""/> + help="(-trim_ns_right)"/> + + + + trim positions" help="(-trim_qual_left)"/> + + trim positions" help="(-trim_qual_right)"/> + + to use" help="By default, min is used. (-trim_qual_type)"> @@ -589,7 +707,7 @@ + is used. (-trim_qual_rule)"> @@ -598,26 +716,81 @@ min="0" max="300" value="1" label="Size of the sliding window used to calculated quality score by type" help="To stop at the first base that fails the rule defined, use a - window size of 1 (default value)"/> + window size of 1 (default value). (-trim_qual_window)"/> + is 1. (-trim_qual_step)"/> + + + + + + + + + + + + + + + + + label="Good sequences of ${on_string} (PRINSEQ)" > + seq_type['seq_type_opt'] == "single" + + label="Rejected sequences of ${on_string} (PRINSEQ)" > + seq_type['seq_type_opt'] == "single" + + + + seq_type['seq_type_opt'] == "paired" + + + seq_type['seq_type_opt'] == "paired" + + + seq_type['seq_type_opt'] == "paired" + + + seq_type['seq_type_opt'] == "paired" + + + seq_type['seq_type_opt'] == "paired" + + + seq_type['seq_type_opt'] == "paired" + + + @@ -682,16 +855,20 @@ **Parameters** -The parameters are numerous in PRINSEQ +The parameters are numerous in PRINSEQ given the wanted treatments. + +Several filter treatments are proposed: - - Filtering parameters to eliminate sequences - - Filters based on sequence length - - Filters based on quality score - - Filters based on base content - - Trimming parameters to eliminate sequence parts - - Trim of ends - - Trim of tails - - Trim based quality score + - Filters based on sequence length + - Filters based on quality score + - Filters based on base content + +And several trimming treatments eliminate sequence parts: + - Trim of ends + - Trim of tails + - Trim based quality score + +All these treaments can be customed using the proposed parameters. ----- @@ -706,4 +883,4 @@ 10.1093/bioinformatics/btr026 - \ No newline at end of file + diff -r 10ac5c567b73 -r acaf871de2ea tool_dependencies.xml --- a/tool_dependencies.xml Tue Nov 17 06:02:09 2015 -0500 +++ b/tool_dependencies.xml Wed Jan 27 03:55:09 2016 -0500 @@ -3,11 +3,15 @@ - http://downloads.sourceforge.net/project/prinseq/standalone/prinseq-lite-0.20.4.tar.gz + http://downloads.sourceforge.net/project/prinseq/standalone/prinseq-lite-0.20.4.tar.gz prinseq-lite.pl $INSTALL_DIR + + prinseq-graphs-noPCA.pl + $INSTALL_DIR + $INSTALL_DIR/ $INSTALL_DIR/bin