annotate tools/mytools/makebigwig.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="makebigwig" name="make bigwig">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>from BED or BAM</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="sh"> makebigwig.sh $input $outfile
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 #if $inputa_format.bedorbam == "bed":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 bed
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 #else:
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 bam
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 $sorted $genome none $split >$log 2> $log </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <conditional name="inputa_format">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <param name="bedorbam" type="select" label="Select input format" >
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <option value="bed" selected="true">BED</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <option value="bam"> BAM</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <when value="bed">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <param name="input" type="data" format="bed" label="Input file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <when value="bam">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <param name="input" type="data" format="bam" label="Input file"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 <param name="genome" type="select" label="Select genome">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm9.genome" selected="true">mm9</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/mouse.mm8.genome">mm8</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg18.genome">hg18</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <option value="/Users/xuebing/galaxy-dist/tool-data/genome/chrsize/human.hg19.genome">hg19</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <param name="sorted" label="Check if the input is sorted" type="boolean" truevalue="sorted" falsevalue="none" checked="False"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <param name="split" label="Split junctions" help="Treat 'split' BAM or BED12 entries as distinct BED intervals." type="boolean" truevalue="-split" falsevalue="" checked="False"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <data format="txt" name="log" label="makebigwig LOG" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <data format="bigwig" name="outfile" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 </tool>