annotate mothur/tools/mothur/trim.seqs.xml @ 31:a3eed59297ea

Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester make.contigs.xml.patch:# make.contigs.xml.patch make.contigs.xml.patch:# make.contigs.xml.patch:# 1. Fix cosmetic typo in <description> (forard -> forward) make.contigs.xml.patch:# 2. Address error due to having 'mismatch' as the name for both an input and an output parameter: make.contigs.xml.patch:# rename output parameter to 'cmismatch' make.contigs.xml.patch:# 3. Remove 'threshold' parameter: make.contigs in mothur doesn't support a 'threshold' parameter metagenomics.py.patch:# metagenomics.py.patch metagenomics.py.patch:# metagenomics.py.patch:# 1. Groups class: names were being taken from the wrong field (affected shhh.flows tool) metagenomics.py.patch:# 2. Axes class: make 'sniff' method more sensitive to try and restrict arbitrary tabular metagenomics.py.patch:# data uploads being sniffed as this type mothur_wrapper.py.patch:# mothur_wrapper.py.patch mothur_wrapper.py.patch:# mothur_wrapper.py.patch:# 1. Update 'cmd_dict' settings for shhh.flows and shhh.seqs (otherwise these functions will mothur_wrapper.py.patch:# fail on execution) mothur_wrapper.py.patch:# 2. Fix add_option calls defining '--match' and '--mismatch' command line options (otherwise mothur_wrapper.py.patch:# syntax error causes immediate failure) screen.seqs.xml.patch:# screen.seqs.xml.patch screen.seqs.xml.patch:# screen.seqs.xml.patch:# Replace pattern for align.report output file in definiting of 'results' parameter in screen.seqs.xml.patch:# <command> section (otherwise output_alignreport data item is empty). shhh.flows.xml.patch:# shhh.flows.xml.patch shhh.flows.xml.patch:# shhh.flows.xml.patch:# Replace 'format_source' with 'format' for output parameters (otherwise formats are not shhh.flows.xml.patch:# correctly assigned to output datasets) shhh.seqs.xml.patch:# shhh.seqs.xml.patch shhh.seqs.xml.patch:# shhh.seqs.xml.patch:# 1. Fix patterns in --result (in <command> section) for shhh_seqs.fasta and shhh_seqs.names shhh.seqs.xml.patch:# output files (otherwise files are not collected and associated data items are empty) shhh.seqs.xml.patch:# 2. Replace 'format_source' with 'format' for output parameters (otherwise formats are not shhh.seqs.xml.patch:# correctly assigned to output datasets) trim.flows.xml.patch:# trim.flows.xml.patch trim.flows.xml.patch:# trim.flows.xml.patch:# Remove erroneous space from --result definition in <command> section (otherwise causes tool trim.flows.xml.patch:# failure) trim.seqs.xml.patch:# trim.seqs.xml.patch trim.seqs.xml.patch:# trim.seqs.xml.patch:# 1. Remove reference to undefined 'oligo.allvalues' varible in <command> section (otherwise trim.seqs.xml.patch:# causes failure on execution) trim.seqs.xml.patch:# 2. Fix format for input parameter 'names' (format should be 'names' not 'name') trim.seqs.xml.patch:# 3. Add output parameter 'scrap_names' (to ensure consistent collection of all outputs) trim.seqs.xml.patch:# 4. Update --result definition in <command> section to collect both trim.names and scrap.names
author Jim Johnson <jj@umn.edu>
date Tue, 30 Jul 2013 09:26:31 -0500
parents 49058b1f8d3f
children 95d75b35e4d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
1 <tool id="mothur_trim_seqs" name="Trim.seqs" version="1.24.0" force_history_refresh="True">
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
2 <description>Trim sequences - primers, barcodes, quality</description>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
3 <command interpreter="python">
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
4 mothur_wrapper.py
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
5 --cmd='trim.seqs'
31
a3eed59297ea Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester
Jim Johnson <jj@umn.edu>
parents: 27
diff changeset
6 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.trim\.fasta$:'$trim_fasta,'^\S+\.trim\.names$:'$trim_names,'^\S+\.trim\.qual$:'$trim_qual,'^\S+\.scrap\.fasta$:'$scrap_fasta,'^\S+\.scrap\.names$:'$scrap_names,'^\S+\.scrap\.qual$:'$scrap_qual,'^\S+\.groups$:'$groups_file
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
7 --outputdir='$logfile.extra_files_path'
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
8 #if int($minlength.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
9 --minlength=$minlength
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
10 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
11 #if int($maxlength.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
12 --maxlength=$maxlength
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
13 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
14 #if int($maxambig.__str__) >= 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
15 --maxambig=$maxambig
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
16 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
17 #if int($maxhomop.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
18 --maxhomop=$maxhomop
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
19 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
20 #if int($keepfirst.__str__) > 0:
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
21 --keepfirst=$keepfirst
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
22 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
23 #if int($removelast.__str__) > 0:
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
24 --removelast=$removelast
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
25 #end if
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
26 #if $oligo.add == "yes":
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
27 --oligos=$oligo.oligos
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
28 #if $oligo.bdiffs.__str__ != '' and int($oligo.bdiffs.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
29 --bdiffs=$oligo.bdiffs
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
30 #end if
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
31 #if $oligo.pdiffs.__str__ != '' and int($oligo.pdiffs.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
32 --pdiffs=$oligo.pdiffs
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
33 #end if
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
34 #if $oligo.tdiffs.__str__ != '' and int($oligo.tdiffs.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
35 --tdiffs=$oligo.tdiffs
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
36 #end if
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
37 #if $oligo.ldiffs.__str__ != '' and int($oligo.ldiffs.__str__) > 0:
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
38 --ldiffs=$oligo.ldiffs
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
39 #end if
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
40 #if $oligo.sdiffs.__str__ != '' and int($oligo.sdiffs.__str__) > 0:
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
41 --sdiffs=$oligo.sdiffs
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
42 #end if
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
43 $oligo.keepforward
31
a3eed59297ea Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester
Jim Johnson <jj@umn.edu>
parents: 27
diff changeset
44 ##$oligo.allvalues
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
45 #if $oligo.allfiles == True:
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
46 --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
4
5265aa9067e0 set output formats to match input formats
jjohnson
parents: 2
diff changeset
47 --new_datasets='^\S+?\.(\S+\.fasta)$:${fasta.ext}','^\S+?\.(\S+\.groups)$:groups'
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
48 #end if
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
49 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
50 #if $qual.add == "yes":
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
51 --qfile=$qual.qfile
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
52 #if int($qual.qaverage.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
53 --qaverage=$qual.qaverage
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
54 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
55 #if int($qual.qthreshold.__str__) > 0:
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
56 --qthreshold=$qual.qthreshold
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
57 #end if
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
58 #if int($qual.qwindowaverage.__str__) > 0:
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
59 --qwindowaverage=$qual.qwindowaverage
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
60 #end if
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
61 #if int($qual.qwindowsize.__str__) > 0:
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
62 --qwindowsize=$qual.qwindowsize
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
63 #end if
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
64 #if int($qual.rollaverage.__str__) > 0:
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
65 --rollaverage=$qual.rollaverage
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
66 #end if
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
67 #if int($qual.qstepsize.__str__) > 0:
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
68 --qstepsize=$qual.qstepsize
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
69 #end if
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
70 $qual.qtrim
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
71 #end if
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
72 $flip
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
73 --fasta=$fasta
7
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
74 #if $names.__str__ != "None" and len($names.__str__) > 0:
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
75 --name=$names
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
76 #end if
13
4f797d3eee3a Change default processor counts to 8, mothur_wrapper.py can overide processors allocated with ENVIRONMENT variable MOTHUR_MAX_PROCESSORS
Jim Johnson <jj@umn.edu>
parents: 8
diff changeset
77 --processors=8
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
78 </command>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
79 <inputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
80 <param name="fasta" type="data" format="fasta" label="fasta - Sequences"/>
31
a3eed59297ea Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester
Jim Johnson <jj@umn.edu>
parents: 27
diff changeset
81 <param name="names" type="data" format="names" optional="true" label="name - Sequence representative name list"/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
82 <param name="minlength" type="integer" value="0" label="minlength - Minimum Sequence Length (default 0, ignored if &#060; 1 )"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
83 <param name="maxlength" type="integer" value="0" label="maxlength - Maximum Sequence Length (default 0, ignored if &#060; 1)"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
84 <param name="maxambig" type="integer" value="-1" label="maxambig - Maximum ambiguous bases (default -1, ignored if &#060; 0)"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
85 <param name="maxhomop" type="integer" value="0" label="maxhomop - Maximum homopolymers (default 0, ignored if &#060; 1)"/>
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
86 <param name="keepfirst" type="integer" value="0" label="keepfirst - ignored if &#060; 0)"
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
87 help="trims the sequence to the first keepfirst number of bases after the barcode or primers are removed, before the sequence is checked to see if it meets the other requirements"/>
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
88 <param name="removelast" type="integer" value="0" label="removelast - ignored if &#060; 0)"
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
89 help="removes the last removelast number of bases after the barcode or primers are removed, before the sequence is checked to see if it meets the other requirements."/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
90 <conditional name="oligo">
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
91 <param name="add" type="select" label="Trim with an oligos file?" help="">
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
92 <option value="no">no</option>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
93 <option value="yes">yes</option>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
94 </param>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
95 <when value="no"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
96 <when value="yes">
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
97 <param name="oligos" type="data" format="oligos" label="oligos - barcodes and primers"/>
24
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
98 <param name="bdiffs" type="integer" value="0" label="bdiffs - number of differences to allow in the barcode (default 0)">
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
99 <validator type="in_range" message="Number of differences can't be negative" min="0"/>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
100 </param>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
101 <param name="pdiffs" type="integer" value="0" label="pdiffs - number of differences to allow in the primer (default 0)">
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
102 <validator type="in_range" message="Number of differences can't be negative" min="0"/>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
103 </param>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
104 <param name="tdiffs" type="integer" value="0" label="tdiffs - total number of differences to allow in primer and barcode (default 0)">
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
105 <validator type="in_range" message="Number of differences can't be negative" min="0"/>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
106 </param>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
107 <param name="ldiffs" type="integer" value="0" optional="true" label="ldiffs - total number of differences to allow in linker sequence (default 0)">
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
108 <validator type="in_range" message="Number of differences can't be negative" min="0"/>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
109 </param>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
110 <param name="sdiffs" type="integer" value="0" optional="true" label="sdiffs - total number of differences to allow in spacer sequence (default 0)">
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
111 <validator type="in_range" message="Number of differences can't be negative" min="0"/>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
112 </param>
09740be2bc9c Mothur - updates for Mothur version 1.24
Jim Johnson <jj@umn.edu>
parents: 13
diff changeset
113 <param name="keepforward" type="boolean" truevalue="--keepforward=true" falsevalue="" checked="false" label="keepforward - keep the primer"/>
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
114 <param name="allfiles" type="boolean" truevalue="--allfiles=true" falsevalue="" checked="false" label="allfiles - separate into file per barcode"/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
115 </when>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
116 </conditional>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
117 <conditional name="qual">
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
118 <param name="add" type="select" label="Trim based on a quality file?" help="">
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
119 <option value="no">no</option>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
120 <option value="yes">yes</option>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
121 </param>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
122 <when value="no"/>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
123 <when value="yes">
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
124 <param name="qfile" type="data" format="qual454" label="qfile - 454 quality file"/>
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
125 <param name="qaverage" type="integer" value="0" label="qaverage - remove sequences that have an average base quality below this value (ignored if &#060; 1)"/>
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
126 <param name="qthreshold" type="integer" value="0" label="qthreshold - remove sequences that have any base quality below this value (ignored if &#060; 1)"/>
5
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
127 <param name="qwindowaverage" type="integer" value="0" label="qwindowaverage - remove sequences that have an average base quality below this value over a window (ignored if &#060; 1)"/>
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
128 <param name="qwindowsize" type="integer" value="50" label="qwindowsize - number of bases in a window. Default=50."/>
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
129 <param name="rollaverage" type="integer" value="0" label="rollaverage - remove sequences that have an average base quality below this value in a rolling window (ignored if &#060; 1)"/>
e2e2071d2c62 Add missing qual params to trim.seqs
jj@dbw-galaxy-dev.msi.umn.edu
parents: 4
diff changeset
130 <param name="qstepsize" type="integer" value="1" label="qstepsize - number of bases to move the window over. Default=1."/>
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
131 <param name="qtrim" type="boolean" truevalue="--qtrim=true" falsevalue="" checked="false" label="qtrim - trim sequences below qthreshold and put in trim output, else put in scrap "/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
132 </when>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
133 </conditional>
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
134 <param name="flip" type="boolean" truevalue="--flip=true" falsevalue="" checked="false" label="flip - reverse complement the trimmed sequences"/>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
135 </inputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
136 <outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
137 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
138 <data format_source="fasta" name="trim_fasta" label="${tool.name} on ${on_string}: trim.fasta"/>
7
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
139 <data format_source="names" name="trim_names" label="${tool.name} on ${on_string}: trim.names">
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
140 <filter>names != None</filter>
7bfe1f843858 Support Mothur v1.20
Jim Johnson <jj@umn.edu>
parents: 5
diff changeset
141 </data>
4
5265aa9067e0 set output formats to match input formats
jjohnson
parents: 2
diff changeset
142 <data format_source="qfile" name="trim_qual" label="${tool.name} on ${on_string}: trim.qual">
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
143 <filter>(qual['add'] == 'yes' and len(qual['qfile'].__str__) > 0)</filter>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
144 </data>
4
5265aa9067e0 set output formats to match input formats
jjohnson
parents: 2
diff changeset
145 <data format_source="fasta" name="scrap_fasta" label="${tool.name} on ${on_string}: scrap.fasta"/>
31
a3eed59297ea Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester
Jim Johnson <jj@umn.edu>
parents: 27
diff changeset
146 <data format_source="names" name="scrap_names" label="${tool.name} on ${on_string}: scrap.names">
a3eed59297ea Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester
Jim Johnson <jj@umn.edu>
parents: 27
diff changeset
147 <filter>names != None</filter>
a3eed59297ea Patches courtesy of Peter Briggs, Bioinformatics Core Facility University of Manchester
Jim Johnson <jj@umn.edu>
parents: 27
diff changeset
148 </data>
4
5265aa9067e0 set output formats to match input formats
jjohnson
parents: 2
diff changeset
149 <data format_source="qfile" name="scrap_qual" label="${tool.name} on ${on_string}: scrap.qual">
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
150 <filter>(qual['add'] == 'yes' and len(qual['qfile'].__str__) > 0)</filter>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
151 </data>
2
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
152 <data format="groups" name="groups_file" label="${tool.name} on ${on_string}: groups">
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
153 <filter>(oligo['add'] == 'yes' and len(oligo['oligos']) > 0)</filter>
e990ac8a0f58 Migrated tool version 1.19.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 1
diff changeset
154 </data>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
155 </outputs>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
156 <requirements>
27
49058b1f8d3f Update to mothur version 1.27 and add tool_dependencies.xml to automatically install mothur
Jim Johnson <jj@umn.edu>
parents: 24
diff changeset
157 <requirement type="package" version="1.27">mothur</requirement>
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
158 </requirements>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
159 <tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
160 </tests>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
161 <help>
1
fcc0778f6987 Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
jjohnson
parents: 0
diff changeset
162 **mothur overview**
0
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
163
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
164 Mothur_, initiated by Dr. Patrick Schloss and his software development team
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
165 in the Department of Microbiology and Immunology at The University of Michigan,
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
166 provides bioinformatics for the microbial ecology community.
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
167
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
168 .. _Mothur: http://www.mothur.org/wiki/Main_Page
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
169
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
170 **Command Documenation**
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
171
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
172 The trim.seqs_ command provides the preprocessing features needed to screen and sort pyrosequences. The command will enable you to trim off primer sequences and barcodes, use the barcode information to generate a group file and split a fasta file into sub-files, screen sequences based on the qual file that comes from 454 sequencers, cull sequences based on sequence length and the presence of ambiguous bases and get the reverse complement of your sequences. While this analysis is clearly geared towards pyrosequencing collections, it can also be used with traditional Sanger sequences.
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
173
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
174 .. _trim.seqs: http://www.mothur.org/wiki/Trim.seqs
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
175
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
176
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
177 </help>
3202a38e44d9 Migrated tool version 1.15.1 from old tool shed archive to new tool shed repository
jjohnson
parents:
diff changeset
178 </tool>