annotate SMART/galaxy/ConvertTranscriptFile.xml @ 60:90f4b29d884f

Uploaded
author m-zytnicki
date Fri, 21 Feb 2014 08:32:36 -0500
parents 97aa2e42bfdf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="ConvertTranscriptFile" name="convert transcript file">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Convert a file from a format to another.</description>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
3 <requirements>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
4 <requirement type="set_environment">PYTHONPATH</requirement>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
5 </requirements>
56
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
6 <command interpreter="python"> ../Java/Python/convertTranscriptFile.py -i $inputFormatType.inputFileName -f $inputFormatType.FormatInputFileName -g $outputFormatType.outFormat -n $name $strand -o $outputFile </command>
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 <conditional name="inputFormatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 <param name="FormatInputFileName" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 <option value="gff3">GFF3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 <option value="bed">BED</option>
56
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
12 <option value="sam">SAM</option>
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 <option value="bam">BAM</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 <option value="gtf">GTF</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 <param name="inputFileName" format="gff3" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 <param name="inputFileName" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21 </when>
56
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
22 <when value="sam">
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
23 <param name="inputFileName" format="sam" type="data" label="Input File"/>
97aa2e42bfdf Uploaded
m-zytnicki
parents: 38
diff changeset
24 </when>
38
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 <when value="bam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26 <param name="inputFileName" format="bam" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 <param name="inputFileName" format="gtf" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 <conditional name="outputFormatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 <param name="outFormat" type="select" label="Please choose the format that you want to convert to (corresponding to your input file format).">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36 <option value="gff3">GFF3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 <option value="bed">BED</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <option value="wig">WIG</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 <option value="sam">SAM</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 <option value="csv">CSV</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 <option value="gtf">GTF</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 <when value="wig">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
48 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
49 <when value="sam">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
50 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 <when value="csv">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
54 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
55 </conditional>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
56
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
57 <param name="name" type="text" value="SMART" label="name for the transcripts"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 <param name="strand" type="boolean" truevalue="-t" falsevalue="" checked="false" label="consider the 2 strands as different (only useful for writing WIG files)"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64 <data name="outputFile" format="gff3" label="$inputFormatType.FormatInputFileName to $outputFormatType.outFormat">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 <change_format>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 <when input="outputFormatType.outFormat" value="bed" format="bed" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 <when input="outputFormatType.outFormat" value="gff" format="gff" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 <when input="outputFormatType.outFormat" value="wig" format="wig" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
69 <when input="outputFormatType.outFormat" value="sam" format="sam" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
70 <when input="outputFormatType.outFormat" value="csv" format="csv" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
71 <when input="outputFormatType.outFormat" value="gtf" format="gtf" />
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
72 </change_format>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
73 </data>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
74 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
75
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
76 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
77 Simple conversion tool.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
78 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
79 </tool>