annotate tabular_to_fasta.xml @ 0:0b4e36026794 draft

Imported from capsule None
author devteam
date Mon, 19 May 2014 12:34:07 -0400
parents
children 0a7799698fe5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
1 <tool id="tab2fasta" name="Tabular-to-FASTA" version="1.1.0">
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
2 <description>converts tabular file to FASTA format</description>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
3 <command interpreter="python">tabular_to_fasta.py $input $title_col $seq_col $output </command>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
4 <inputs>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
5 <param name="input" type="data" format="tabular" label="Tab-delimited file"/>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
6 <param name="title_col" type="data_column" data_ref="input" multiple="True" numerical="False" label="Title column(s)" help="Multi-select list - hold the appropriate key while clicking to select multiple columns"/>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
7 <param name="seq_col" type="data_column" data_ref="input" numerical="False" label="Sequence column" />
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
8 </inputs>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
9 <outputs>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
10 <data name="output" format="fasta"/>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
11 </outputs>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
12 <tests>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
13 <test>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
14 <param name="input" value="solexa.tabular" />
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
15 <param name="title_col" value="1,2,3,4" />
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
16 <param name="seq_col" value="5" />
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
17 <output name="output" file="tabular_to_fasta_out1.fasta" />
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
18 </test>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
19 </tests>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
20 <help>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
21
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
22 **What it does**
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
23
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
24 Converts tab delimited data into FASTA formatted sequences.
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
25
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
26 -----------
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
27
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
28 **Example**
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
29
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
30 Suppose this is a sequence file produced by Illumina (Solexa) sequencer::
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
31
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
32 5 300 902 419 GACTCATGATTTCTTACCTATTAGTGGTTGAACATC
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
33 5 300 880 431 GTGATATGTATGTTGACGGCCATAAGGCTGCTTCTT
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
34
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
35 Selecting **c3** and **c4** as the **Title column(s)** and **c5** as the **Sequence column** will result in::
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
36
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
37 &gt;902_419
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
38 GACTCATGATTTCTTACCTATTAGTGGTTGAACATC
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
39 &gt;880_431
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
40 GTGATATGTATGTTGACGGCCATAAGGCTGCTTCTT
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
41
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
42 </help>
0b4e36026794 Imported from capsule None
devteam
parents:
diff changeset
43 </tool>