comparison pyCrac_galaxy/makeFasta.xml @ 0:ae088f9b2f2e draft default tip

Uploaded
author swebb
date Thu, 06 Jun 2013 09:39:32 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:ae088f9b2f2e
1 <tool id="makeFasta" name="Extract IDs" force_history_refresh="True">
2 <description>from Read Aligner output</description>
3 <command interpreter="perl">
4 #if $format.formatChoice == "fasta" #makeFasta.pl --input $input --genes "$genes.g" --outFormat $format.formatChoice --out $out --id $out.id --output_path $__new_file_path__
5 #else #makeFasta.pl --input $input --genes "$genes.g" --outFormat $format.formatChoice --limit $format.limit --out $out --id $out.id --output_path $__new_file_path__
6 #end if#
7
8 </command>
9 <inputs>
10 <param name="input" type="data" format="fasta" label="Read Aligner output file" help="Fasta file"/>
11 <conditional name="genes">
12 <param name="choice" type="select" label="Choose IDs by">
13 <option value="index">ID Index File</option>
14 <option value="number" selected="true">Text Box</option>
15 </param>
16 <when value="index">
17 <param name="indices" type="data" format="tabular" label="ID Index"/>
18 <param name="g" type="select" multiple="true" accept_default="true" label="ID" >
19 <options from_dataset="indices">
20 <column name="name" index="0"/>
21 <column name="value" index="0"/>
22 </options>
23 </param>
24 </when>
25 <when value="number">
26 <param name="g" type="text" format="txt" size="200" value="" label="IDs" help="Enter identifiers separated by a comma">
27 <validator type="empty_field" />
28 </param>
29 </when>
30 </conditional>
31 <conditional name="format">
32 <param name="formatChoice" type="select" label="Choose output format">
33 <option value="fasta" selected="true">Fasta</option>
34 <option value="align">Tabular Alignment</option>
35 <option value="both">Both</option>
36 </param>
37 <when value="align">
38 <param name="limit" type="integer" format="integer" value="90" size="4" label="Set the column width of alignment" help="Enter a value > 50">
39 <validator type="in_range" min="50" message="Please enter a value greater than 50"/>
40 </param>
41 </when>
42 <when value="both">
43 <param name="limit" type="integer" format="integer" value="90" size="4" label="Set the column width of alignment" help="Enter a value > 50">
44 <validator type="in_range" min="50" message="Please enter a value greater than 50"/>
45 </param>
46 </when>
47 <when value="fasta">
48 </when>
49 </conditional>
50 </inputs>
51 <outputs>
52 <data name="out" format="txt" label="Extract IDs"/>
53 </outputs>
54 <help>
55 .. class:: infomark
56
57 **What it does**
58
59 Splits the fasta pyReadAligner output in to individual files per selected ID.
60
61 To select IDs by text box
62
63 - Enter identifiers separated by a comma e.g RDN37-1,RPL7A,SNR17A.
64
65 To select IDs by ID index file
66
67 - Provide a file of data type indexfile (use pencil icon to edit data type)
68 - The index file should contain all possible IDs in the first column
69 - Select multiple IDs by holding Shift or Ctrl keys
70
71 Output formats
72
73 - Fasta - Output reads and reference sequence in fasta format
74 - Alignment tab - Format output to show read sequences aligned to reference sequence
75 - Both - Output both of the formats above
76
77 </help>
78 </tool>
79