annotate SMART/galaxy/getDifference.xml @ 36:44d5973c188c

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 15:02:29 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
36
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
1 <tool id="getDifference" name="get difference">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
2 <description>Gets all the regions of the genome, except the one given in an annotation file. Alternatively, it may also give all the elements from the first set which does not ovelap with the second set (at the nucleotide level).</description>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
3 <command interpreter="python">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
4 ../Java/Python/getDifference.py -i $formatType.inputFileName1
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
5 #if $formatType.FormatInputFileName1 == 'bed':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
6 -f bed
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
7 #elif $formatType.FormatInputFileName1 == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
8 -f gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
9 #elif $formatType.FormatInputFileName1 == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
10 -f gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
11 #elif $formatType.FormatInputFileName1 == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
12 -f gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
13 #elif $formatType.FormatInputFileName1 == 'sam':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
14 -f sam
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
15 #elif $formatType.FormatInputFileName1 == 'gtf':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
16 -f gtf
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
17 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
18
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
19 -j $formatType2.inputFileName2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
20 #if $formatType2.FormatInputFileName2 == 'bed':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
21 -g bed
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
22 #elif $formatType2.FormatInputFileName2 == 'gff':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
23 -g gff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
24 #elif $formatType2.FormatInputFileName2 == 'gff2':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
25 -g gff2
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
26 #elif $formatType2.FormatInputFileName2 == 'gff3':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
27 -g gff3
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
28 #elif $formatType2.FormatInputFileName2 == 'sam':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
29 -g sam
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
30 #elif $formatType2.FormatInputFileName2 == 'gtf':
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
31 -g gtf
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
32 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
33
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
34 $split
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
35
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
36 #if $OptionSequence.option == "Yes":
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
37 -s $OptionSequence.sequence
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
38 #end if
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
39
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
40 -o $outputFileGff
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
41
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
42
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
43 </command>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
44
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
45 <inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
46 <conditional name="formatType">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
47 <param name="FormatInputFileName1" type="select" label="Input File Format 1">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
48 <option value="bed">bed</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
49 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
50 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
51 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
52 <option value="sam">sam</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
53 <option value="gtf">gtf</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
54 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
55 <when value="bed">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
56 <param name="inputFileName1" format="bed" type="data" label="Input File "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
57 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
58 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
59 <param name="inputFileName1" format="gff" type="data" label="Input File "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
60 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
61 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
62 <param name="inputFileName1" format="gff2" type="data" label="Input File "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
63 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
64 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
65 <param name="inputFileName1" format="gff3" type="data" label="Input File "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
66 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
67 <when value="sam">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
68 <param name="inputFileName1" format="sam" type="data" label="Input File "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
69 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
70 <when value="gtf">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
71 <param name="inputFileName1" format="gtf" type="data" label="Input File "/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
72 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
73 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
74
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
75 <conditional name="formatType2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
76 <param name="FormatInputFileName2" type="select" label="Input File Format 2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
77 <option value="bed">bed</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
78 <option value="gff">gff</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
79 <option value="gff2">gff2</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
80 <option value="gff3">gff3</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
81 <option value="sam">sam</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
82 <option value="gtf">gtf</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
83 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
84 <when value="bed">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
85 <param name="inputFileName2" format="bed" type="data" label="reference file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
86 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
87 <when value="gff">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
88 <param name="inputFileName2" format="gff" type="data" label="reference file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
89 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
90 <when value="gff2">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
91 <param name="inputFileName2" format="gff2" type="data" label="reference file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
92 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
93 <when value="gff3">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
94 <param name="inputFileName2" format="gff3" type="data" label="reference file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
95 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
96 <when value="sam">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
97 <param name="inputFileName2" format="sam" type="data" label="reference file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
98 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
99 <when value="gtf">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
100 <param name="inputFileName2" format="gtf" type="data" label="reference file"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
101 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
102 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
103
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
104 <param name="split" type="boolean" truevalue="-p" falsevalue="" checked="false" label="When comparing to a set of genomic coordinates, do not join into exons."/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
105
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
106 <conditional name="OptionSequence">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
107 <param name="option" type="select" label="Compare with a reference fasta file.">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
108 <option value="Yes">Yes</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
109 <option value="No" selected="true">No</option>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
110 </param>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
111 <when value="Yes">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
112 <param name="sequence" type="data" label="Fasta File" format="fasta"/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
113 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
114 <when value="No">
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
115 </when>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
116 </conditional>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
117
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
118 </inputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
119
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
120
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
121 <outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
122 <data name="outputFileGff" format="gff3" label="[getDifference]output File."/>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
123 </outputs>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
124
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
125 <help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
126 This tools has two different (but similar) uses. When given two sets of transcripts, it trims the elements of the set so that they do not overlap with the second set.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
127
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
128 When only one set of transcripts is given, together with a reference genome, it produces a list of transcripts which complements the first set.
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
129 </help>
44d5973c188c Uploaded
m-zytnicki
parents:
diff changeset
130 </tool>