annotate makebigwig.xml @ 22:869c7664e584

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