annotate SMART/galaxy/coordinatesToSequence.xml @ 40:cd852f3e04ab

Uploaded
author m-zytnicki
date Thu, 30 May 2013 03:03:34 -0400
parents 2c0c0a89fad7
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="coordinatesToSequence" name="coordinates to sequence">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Coordinates to Sequences: Extract the sequences from a list of coordinates.</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>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
6 <command interpreter="python">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
7 ../Java/Python/coordinatesToSequence.py -i $formatType.inputFileName1
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
8 #if $formatType.FormatInputFileName1 == 'bed':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
9 -f bed
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
10 #elif $formatType.FormatInputFileName1 == 'gff':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
11 -f gff
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
12 #elif $formatType.FormatInputFileName1 == 'gff2':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
13 -f gff2
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
14 #elif $formatType.FormatInputFileName1 == 'gff3':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
15 -f gff3
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
16 #elif $formatType.FormatInputFileName1 == 'sam':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
17 -f sam
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
18 #elif $formatType.FormatInputFileName1 == 'gtf':
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
19 -f gtf
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
20 #end if
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
21
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
22 -s $sequence
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
23 -o $outputFileFasta
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
24
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
25 </command>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
26
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
27 <inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
28 <conditional name="formatType">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
29 <param name="FormatInputFileName1" type="select" label="Input File Format">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
30 <option value="bed">bed</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
31 <option value="gff">gff</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
32 <option value="gff2">gff2</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
33 <option value="gff3">gff3</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
34 <option value="sam">sam</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
35 <option value="gtf">gtf</option>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
36 </param>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
37 <when value="bed">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
38 <param name="inputFileName1" format="bed" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
39 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
40 <when value="gff">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
41 <param name="inputFileName1" format="gff" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
42 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
43 <when value="gff2">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
44 <param name="inputFileName1" format="gff2" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
45 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
46 <when value="gff3">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
47 <param name="inputFileName1" format="gff3" type="data" label="Input File"/>
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 <param name="inputFileName1" format="sam" type="data" label="Input File"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
51 </when>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
52 <when value="gtf">
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
53 <param name="inputFileName1" format="gtf" type="data" label="Input File"/>
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="sequence" type="data" label="Reference fasta File" format="fasta"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
58
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
59 </inputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
60
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
61 <outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
62 <data name="outputFileFasta" format="fasta" label="coordinates to sequences output"/>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
63 </outputs>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
64
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
65 <help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
66 You can use this tool, if you just want to convert your mapping data to genomic coordinates, without any filtering. It requires a genomic coordinates file together with its format, an output format (GFF3, BED, etc...), the genome, and prints you the corresponding file.
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
67 </help>
2c0c0a89fad7 Uploaded
m-zytnicki
parents:
diff changeset
68 </tool>