annotate bed_to_bigwig.xml @ 2:c5bf1ec88e4e

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