annotate SMART/galaxy/getDifference.xml @ 12:5a054da77808

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