annotate tabular_to_fasta.xml @ 0:db61adc12770 draft

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