annotate GenerateDegenerateFasta.xml @ 0:163892325845 draft default tip

Initial commit.
author galaxyp
date Fri, 10 May 2013 17:15:08 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
163892325845 Initial commit.
galaxyp
parents:
diff changeset
1 <!--
163892325845 Initial commit.
galaxyp
parents:
diff changeset
2 # =====================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
3 # $Id: GenerateDegenerateFasta.xml 90 2011-01-19 13:20:31Z pieter.neerincx@gmail.com $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
4 # $URL: https://trac.nbic.nl/svn/galaxytools/trunk/tools/general/FastaTools/GenerateDegenerateFasta.xml $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
5 # $LastChangedDate: 2011-01-19 07:20:31 -0600 (Wed, 19 Jan 2011) $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
6 # $LastChangedRevision: 90 $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
7 # $LastChangedBy: pieter.neerincx@gmail.com $
163892325845 Initial commit.
galaxyp
parents:
diff changeset
8 # =====================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
9 -->
163892325845 Initial commit.
galaxyp
parents:
diff changeset
10 <tool id="GenerateDegenerateFasta1" name="GenerateDegenerateFasta" version="2.1">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
11 <description>Creates a FASTA file with all possible sequences for degenerate sequences.</description>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
12 <command interpreter="perl">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
13 #if $sequence_features.acid_type=="aa" #GenerateDegenerateFasta.pl -i $input -p $pcol -s $scol -t aa -o $output -x $sequence_features.xexpansion -l WARN
163892325845 Initial commit.
galaxyp
parents:
diff changeset
14 #elif $sequence_features.acid_type=="dna" #GenerateDegenerateFasta.pl -i $input -p $pcol -s $scol -t dna -o $output -l WARN
163892325845 Initial commit.
galaxyp
parents:
diff changeset
15 #elif $sequence_features.acid_type=="rna" #GenerateDegenerateFasta.pl -i $input -p $pcol -s $scol -t rna -o $output -l WARN
163892325845 Initial commit.
galaxyp
parents:
diff changeset
16 #end if
163892325845 Initial commit.
galaxyp
parents:
diff changeset
17 </command>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
18 <inputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
19 <param format="tabular" name="input" type="data" label="Degenerate sequences"
163892325845 Initial commit.
galaxyp
parents:
diff changeset
20 help="(in tab delimited format)"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
21 <param name="pcol" type="data_column" value="1" data_ref="input" label="Prefix column"
163892325845 Initial commit.
galaxyp
parents:
diff changeset
22 help="Prefixes will be used as the first part of unique identifiers for the generated sequences."/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
23 <param name="scol" type="data_column" value="2" data_ref="input" label="Sequence column"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
24 <conditional name='sequence_features'>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
25 <param name="acid_type" type="select" accept_default="true" mmultiple="false" label="The degenerate sequences represent">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
26 <label>The degenerate sequences represent</label>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
27 <option value="aa">Proteins</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
28 <option value="dna">DNA</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
29 <option value="rna">RNA</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
30 </param>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
31 <when value="aa">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
32 <param name="xexpansion" type="select" accept_default="true" mmultiple="false" label="The degenerate amino acid X represents">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
33 <label>The degenerate amino acid X represents</label>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
34 <option value="20">The 20 most common amino acids</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
35 <option value="22">All 22 amino acids</option>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
36 </param>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
37 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
38 <when value="dna">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
39 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
40 <when value="rna">
163892325845 Initial commit.
galaxyp
parents:
diff changeset
41 </when>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
42 </conditional>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
43 </inputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
44 <outputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
45 <data format="fasta" name="output" label="FASTA sequences for ${input.name}"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
46 </outputs>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
47 <!--
163892325845 Initial commit.
galaxyp
parents:
diff changeset
48 <tests>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
49 <test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
50 <param name="input" value="GenerateDegenerateFasta_example_input.txt"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
51 <output name="output" file="GenerateDegenerateFasta_example_output.fasta" ftype="fasta"/>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
52 </test>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
53 </tests>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
54 -->
163892325845 Initial commit.
galaxyp
parents:
diff changeset
55 <help>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
56
163892325845 Initial commit.
galaxyp
parents:
diff changeset
57 .. class:: infomark
163892325845 Initial commit.
galaxyp
parents:
diff changeset
58
163892325845 Initial commit.
galaxyp
parents:
diff changeset
59 **What it does**
163892325845 Initial commit.
galaxyp
parents:
diff changeset
60
163892325845 Initial commit.
galaxyp
parents:
diff changeset
61 This tool creates a multi-sequence FASTA file with all possible sequences based on degenerate input sequences.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
62 The input must be a tab delimited file containing at least 2 columns.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
63 One with the degenerate sequences and the other with a prefix that will be used to give each of generated sequences a unique identifier.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
64 In addition to the prefix, the generated identifiers will contain an underscore followed by an incremented number.
163892325845 Initial commit.
galaxyp
parents:
diff changeset
65
163892325845 Initial commit.
galaxyp
parents:
diff changeset
66 ===================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
67 *Degenerate (wild card) amino acids*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
68 ===================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
69
163892325845 Initial commit.
galaxyp
parents:
diff changeset
70 ===================== =========================================== ====================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
71 Amino Acid Expands to Comment
163892325845 Initial commit.
galaxyp
parents:
diff changeset
72 ===================== =========================================== ====================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
73 B D,N
163892325845 Initial commit.
galaxyp
parents:
diff changeset
74 J I,L
163892325845 Initial commit.
galaxyp
parents:
diff changeset
75 X A,C,D,E,F,G,H,I,K,L,M,N,P,Q,R,S,T,V,W,Y The 20 most common amino acids (default) or
163892325845 Initial commit.
galaxyp
parents:
diff changeset
76 X A,C,D,E,F,G,H,I,K,L,M,N,O,P,Q,R,S,T,U,V,W,Y All 22 amino acids including the rare Selenocysteine and Pyrrolysine
163892325845 Initial commit.
galaxyp
parents:
diff changeset
77 Z E,Q
163892325845 Initial commit.
galaxyp
parents:
diff changeset
78 ===================== =========================================== ====================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
79
163892325845 Initial commit.
galaxyp
parents:
diff changeset
80 ===================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
81 *Degenerate (wild card) deoxyribonucleic acids*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
82 ===================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
83
163892325845 Initial commit.
galaxyp
parents:
diff changeset
84 ===================== ================================ ===============================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
85 Deoxyribonucleic Acid Expands to Comment
163892325845 Initial commit.
galaxyp
parents:
diff changeset
86 ===================== ================================ ===============================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
87 B C,G,T Not A; B follows A alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
88 D A,G,T Not C; D follows C alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
89 H A,C,T Not G; H follows G alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
90 K G,T Keto
163892325845 Initial commit.
galaxyp
parents:
diff changeset
91 M A,C aMino
163892325845 Initial commit.
galaxyp
parents:
diff changeset
92 N A,C,G,T aNy
163892325845 Initial commit.
galaxyp
parents:
diff changeset
93 R A,G puRine
163892325845 Initial commit.
galaxyp
parents:
diff changeset
94 S C,G Strong interaction (3 H-bonds)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
95 V A,C,G Not T (and not U); V follows U alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
96 W A,T Weak interaction (2 H-bonds)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
97 Y C,T pYrimidine
163892325845 Initial commit.
galaxyp
parents:
diff changeset
98 ===================== ================================ ===============================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
99
163892325845 Initial commit.
galaxyp
parents:
diff changeset
100 ===================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
101 *Degenerate (wild card) ribonucleic acids*
163892325845 Initial commit.
galaxyp
parents:
diff changeset
102 ===================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
103
163892325845 Initial commit.
galaxyp
parents:
diff changeset
104 ===================== ================================ ===============================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
105 Ribonucleic Acid Expands to Comment
163892325845 Initial commit.
galaxyp
parents:
diff changeset
106 ===================== ================================ ===============================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
107 B C,G,U Not A; B follows A alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
108 D A,G,U Not C; D follows C alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
109 H A,C,U Not G; H follows G alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
110 K G,U Keto
163892325845 Initial commit.
galaxyp
parents:
diff changeset
111 M A,C aMino
163892325845 Initial commit.
galaxyp
parents:
diff changeset
112 N A,C,G,U aNy
163892325845 Initial commit.
galaxyp
parents:
diff changeset
113 R A,G puRine
163892325845 Initial commit.
galaxyp
parents:
diff changeset
114 S C,G Strong interaction (3 H-bonds)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
115 V A,C,G Not U; V follows U alphabetically
163892325845 Initial commit.
galaxyp
parents:
diff changeset
116 W A,U Weak interaction (2 H-bonds)
163892325845 Initial commit.
galaxyp
parents:
diff changeset
117 Y C,U pYrimidine
163892325845 Initial commit.
galaxyp
parents:
diff changeset
118 ===================== ================================ ===============================================================================
163892325845 Initial commit.
galaxyp
parents:
diff changeset
119
163892325845 Initial commit.
galaxyp
parents:
diff changeset
120 -----
163892325845 Initial commit.
galaxyp
parents:
diff changeset
121
163892325845 Initial commit.
galaxyp
parents:
diff changeset
122 **Example**
163892325845 Initial commit.
galaxyp
parents:
diff changeset
123
163892325845 Initial commit.
galaxyp
parents:
diff changeset
124 If the degenerate input contains these two peptides::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
125
163892325845 Initial commit.
galaxyp
parents:
diff changeset
126 Seq1 AXY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
127 Seq2 SJT
163892325845 Initial commit.
galaxyp
parents:
diff changeset
128
163892325845 Initial commit.
galaxyp
parents:
diff changeset
129 The generated FASTA sequences will be this::
163892325845 Initial commit.
galaxyp
parents:
diff changeset
130
163892325845 Initial commit.
galaxyp
parents:
diff changeset
131 >Seq1_1
163892325845 Initial commit.
galaxyp
parents:
diff changeset
132 AAY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
133 >Seq1_2
163892325845 Initial commit.
galaxyp
parents:
diff changeset
134 ACY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
135 >Seq1_3
163892325845 Initial commit.
galaxyp
parents:
diff changeset
136 ADY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
137 >Seq1_4
163892325845 Initial commit.
galaxyp
parents:
diff changeset
138 AEY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
139 >Seq1_5
163892325845 Initial commit.
galaxyp
parents:
diff changeset
140 AFY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
141 >Seq1_6
163892325845 Initial commit.
galaxyp
parents:
diff changeset
142 AGY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
143 >Seq1_7
163892325845 Initial commit.
galaxyp
parents:
diff changeset
144 AHY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
145 >Seq1_8
163892325845 Initial commit.
galaxyp
parents:
diff changeset
146 AIY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
147 >Seq1_9
163892325845 Initial commit.
galaxyp
parents:
diff changeset
148 AKY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
149 >Seq1_10
163892325845 Initial commit.
galaxyp
parents:
diff changeset
150 ALY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
151 >Seq1_11
163892325845 Initial commit.
galaxyp
parents:
diff changeset
152 AMY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
153 >Seq1_12
163892325845 Initial commit.
galaxyp
parents:
diff changeset
154 ANY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
155 >Seq1_13
163892325845 Initial commit.
galaxyp
parents:
diff changeset
156 APY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
157 >Seq1_14
163892325845 Initial commit.
galaxyp
parents:
diff changeset
158 AQY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
159 >Seq1_15
163892325845 Initial commit.
galaxyp
parents:
diff changeset
160 ARY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
161 >Seq1_16
163892325845 Initial commit.
galaxyp
parents:
diff changeset
162 ASY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
163 >Seq1_17
163892325845 Initial commit.
galaxyp
parents:
diff changeset
164 ATY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
165 >Seq1_18
163892325845 Initial commit.
galaxyp
parents:
diff changeset
166 AVY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
167 >Seq1_19
163892325845 Initial commit.
galaxyp
parents:
diff changeset
168 AWY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
169 >Seq1_20
163892325845 Initial commit.
galaxyp
parents:
diff changeset
170 AYY
163892325845 Initial commit.
galaxyp
parents:
diff changeset
171 >Seq2_1
163892325845 Initial commit.
galaxyp
parents:
diff changeset
172 SIT
163892325845 Initial commit.
galaxyp
parents:
diff changeset
173 >Seq2_2
163892325845 Initial commit.
galaxyp
parents:
diff changeset
174 SLT
163892325845 Initial commit.
galaxyp
parents:
diff changeset
175
163892325845 Initial commit.
galaxyp
parents:
diff changeset
176 </help>
163892325845 Initial commit.
galaxyp
parents:
diff changeset
177 </tool>