0
|
1 <tool id="bed_to_bigwig" name="bed_to_bigwig">
|
|
2 <description>make bigwig from BED or BAM</description>
|
|
3 <command interpreter="sh"> bed_to_bigwig.sh $input $outfile
|
|
4 #if $inputa_format.bedorbam == "bed":
|
|
5 bed
|
|
6 #else:
|
|
7 bam
|
|
8 #end if
|
|
9 $sorted $genome none $split >$log 2> $log </command>
|
|
10 <inputs>
|
|
11 <conditional name="inputa_format">
|
|
12 <param name="bedorbam" type="select" label="Select input format" >
|
|
13 <option value="bed" selected="true">BED</option>
|
|
14 <option value="bam"> BAM</option>
|
|
15 </param>
|
|
16 <when value="bed">
|
|
17 <param name="input" type="data" format="bed" label="Input file"/>
|
|
18 </when>
|
|
19 <when value="bam">
|
|
20 <param name="input" type="data" format="bam" label="Input file"/>
|
|
21 </when>
|
|
22 </conditional>
|
2
|
23 <param name="genome" type="select" label="Select chromsome size file" >
|
|
24 <options from_file="chrsize.loc">
|
|
25 <column name="name" index="0"/>
|
|
26 <column name="value" index="1"/>
|
|
27 </options>
|
|
28 </param>
|
|
29
|
0
|
30 <param name="sorted" label="Check if the input is sorted" type="boolean" truevalue="sorted" falsevalue="none" checked="False"/>
|
|
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"/>
|
|
32 </inputs>
|
|
33 <outputs>
|
|
34 <data format="txt" name="log" label="makebigwig LOG" />
|
|
35 <data format="bigwig" name="outfile" />
|
|
36
|
|
37 </outputs>
|
|
38 </tool>
|