annotate noisy.xml @ 1:3b7dde5c3ec4 draft

Uploaded
author dcorreia
date Wed, 23 Mar 2016 06:49:51 -0400
parents ab2cf9c6c4f1
children 52238a3c4773
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
1 <tool id="noisy" name="Noisy" version="1.5.12.1">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
2 <description>Cleaning aligned sequences</description>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
3 <requirements>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
4 <requirement type="package" version="1.5.12">noisy</requirement>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
5 </requirements>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
6 <command><![CDATA[
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
7 noisy $input
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
8
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
9 #if $sequence.seqtype == 'cfg' :
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
10 ## Automatic sequence detection
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
11 ## read an info file to choose which option set
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
12 #set $info = open( str($input_info) ).read()
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
13 #if 'dna' in $info:
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
14 --seqtype D
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
15 #else if 'protein' in $info :
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
16 --seqtype P
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
17 #end if
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
18
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
19 #else :
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
20 --seqtype $sequence.seqtype
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
21 #end if
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
22
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
23 --cutoff $cutoff
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
24 --distance $distance
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
25 #if $usematrix.matrix == "true":
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
26 --matrix $usematrix.matrixfile
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
27 #end if
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
28 #if $missingchar.setmissingchar == "true":
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
29 --missing $missingchar.chars
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
30 #end if
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
31 --ordering
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
32 #if $orderingmethode.ordering == "rand":
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
33 RAND[,$orderingmethode.randpermut]
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
34 #else if $orderingmethode.ordering == "list":
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
35 $orderingmethode.randpermutlist
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
36 #else:
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
37 $orderingmethode.ordering
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
38 #end if
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
39
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
40 $constant
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
41 $gap
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
42
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
43 --shuffles $shuffles
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
44 --smooth $smooth
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
45 --silent
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
46
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
47 ]]>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
48 </command>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
49 <inputs>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
50 <param name="input" type="data" format="fasta" label="Source file" help="Fasta format" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
51 <conditional name="sequence">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
52 <param name="seqtype" type="select" label="Sequence Coding">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
53 <option value="D">DNA</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
54 <option value="P">Protein</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
55 <option value="R">RNA</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
56 <option value="cfg">Config file</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
57 </param>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
58 <when value="D"></when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
59 <when value="P"></when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
60 <when value="R"></when>
1
3b7dde5c3ec4 Uploaded
dcorreia
parents: 0
diff changeset
61 <when value="cfg">
0
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
62 <param name="input_info" type="data" format="txt" label="info" help="Precompute file containning sequence description (dna or protein)" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
63 </when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
64 </conditional>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
65 <param name="cutoff" type="float" value="0.8" min="0" max="1" label="cut-off [ 0-1 ]" help="Columns with a score below FLOAT are removed from the output alignment." />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
66 <param name="distance" type="select" label="Distance methode used by NeighbotNet">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
67 <option value="HAMMING">HAMMING</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
68 <option value="GTR">GTR</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
69 </param>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
70 <conditional name="usematrix">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
71 <param name="matrix" type="boolean" truevalue="true" falsevalue="" checked="False" label="Use matrix file" help="default is calculate distances with nnet"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
72 <when value=""/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
73 <when value="true">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
74 <param name="matrixfile" format="text" type="data" label="matrix file"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
75 </when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
76 </conditional>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
77 <conditional name="missingchar">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
78 <param name="setmissingchar" type="boolean" truevalue="true" falsevalue="" checked="False" label="Set list of missing chars" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
79 <when value=""/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
80 <when value="true">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
81 <param name="chars" type="text" label="Missing chars list"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
82 </when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
83 </conditional>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
84 <conditional name="orderingmethode">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
85 <param name="ordering" type="select" display="radio" label="Choose ordering method">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
86 <option value="nnet">NeighborNet</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
87 <option value="qnet">QNet</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
88 <option value="rand">Sample INT random permutation</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
89 <option value="list">List of index MSA ordering</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
90 <option value="all">All permutations</option>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
91 </param>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
92 <when value="nnet"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
93 <when value="qnet"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
94 <option value="all"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
95 <when value="rand">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
96 <param name="randpermut" type="integer" value="1000" label="random permutation"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
97 </when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
98 <when value="list">
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
99 <param name="randpermutlist" type="text" label="Comma-seperated string of INT"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
100 </when>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
101 </conditional>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
102 <param name="constant" type="boolean" truevalue="" falsevalue="--noconstant" checked="True" label="Constant columns in output alignment" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
103 <param name="gap" type="boolean" truevalue="" falsevalue="--nogap" checked="True" label="Count gap symbol as character state"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
104 <param name="smooth" type="integer" value="1" min="0" max="1000" label="Running average over INT columns" help="Calculate a running average over the reliability score of INT columns and use this smoothed values to remove unreliable columns from the MAS.s" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
105 <param name="shuffles" type="integer" value="0" min="0" max="1000" label="Perform INT random shuffles per column of the MSA"/>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
106 </inputs>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
107 <outputs>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
108 <data name="output1" format="fasta" label="Noisy Cleaned sequencies" from_work_dir="*_out.fas" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
109 <data name="output2" format="eps" label="Noisy Cleaned sequencies image" from_work_dir="*_typ.eps" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
110 <data name="output3" format="txt" label="Noisy Cleaned sequencies information" from_work_dir="*_sta.gr" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
111 </outputs>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
112 <tests>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
113 <test>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
114 <param name="input" value="aln.fasta" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
115 <output name="output1" file="aln_out.fas" />
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
116 </test>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
117 </tests>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
118
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
119 <help>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
120 <![CDATA[
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
121 Usage::
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
122
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
123 noisy [OPTIONS] MultiFastaAlignment
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
124
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
125 Options::
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
126
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
127 --cutoff FLOAT Set cutoff value to FLOAT. Columns with a score below FLOAT are removed from the output alignment.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
128 (default is >0.80<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
129 --distance STRING Distance methode used by NeighbotNet.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
130 (default is >HAMMING< [HAMMING|GTR])
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
131 -h, --help Print usage message for noisy.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
132 --matrix FILE Use distance matrix for NeighbotNet from FILE.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
133 (default is >calculate distances with nnet<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
134 --missing STRING Set list of missing characters to STRING.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
135 (default is >N<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
136 --nogap Don't count gap symbol as character state.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
137 (default is >0<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
138 --noconstant Ignore constant columns in output alignment.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
139 (default is >0<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
140 --ordering STRING
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
141 Choose ordering method.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
142 (default is >nnet<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
143 nnet NeighborNet
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
144 qnet QNet algorithm is O(n^4) both in time and memory, be careful when you use this option.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
145 rand[,INT] sample INT random permutation. With rand a random sample of all possible orderings of the TAXA can be specified for which the reliability score is calculated
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
146 (default is >1000<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
147 INT,INT,... provide ordering explicitly as comma-seperated list of TAXA indices in the range (e.g 3,0,4,1,2 as ordering for the 5 TAXA in the input MSA).
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
148 all all permutations, If all is used than for all possible permutations of the TAXA the reliability score is calculated (Note that for more than 8 TAXA this can become rather time consuming!).
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
149
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
150 --shuffles INT Perform INT random shuffles per column.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
151 (default is >0<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
152 -s, --silent Turn off status bar
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
153 (default is >0<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
154 --smooth INT Running avarage over INT columns.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
155 (default is >1<)
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
156 --seqtype CHAR Set sequence type of input alignment to CHAR
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
157 (default is >D<) [D=DNA, P=Protein, R=RNA]
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
158 -v, --verbose Verbose mode. Causes noisy to print debugging
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
159 messages about its progress.
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
160 ]]>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
161 </help>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
162 <citations>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
163 <citation type="doi">10.1186/1748-7188-3-7</citation>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
164 <citation type="doi">10.1093/molbev/msl180</citation>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
165 <citation type="doi">10.1093/molbev/msh018s</citation>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
166 </citations>
ab2cf9c6c4f1 Imported from capsule None
dcorreia
parents:
diff changeset
167 </tool>