annotate mytools/makebigwig.xml @ 0:39217fa39ff2

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