Mercurial > repos > rnateam > blockbuster
annotate blockbuster.xml @ 3:7c7ff7a3503f draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
author | rnateam |
---|---|
date | Sun, 17 Jan 2016 06:56:03 -0500 |
parents | 0f3d3f9f120f |
children |
rev | line source |
---|---|
3
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
1 <tool id="blockbuster" name="blockbuster" version="0.1.2"> |
0 | 2 <description>detects blocks of overlapping reads using a gaussian-distribution approach</description> |
3 <requirements> | |
2
0f3d3f9f120f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 7a097197b6a5eda0ee430b36dd8e91bd3ce1db7b
rnateam
parents:
1
diff
changeset
|
4 <requirement type="package" version="0.0.1.1">blockbuster</requirement> |
0 | 5 </requirements> |
6 <command> | |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
7 <![CDATA[ |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
8 blockbuster.x |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
9 -distance $distance |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
10 -minClusterHeight $minClusterHeight |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
11 -minBlockHeight $minBlockHeight |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
12 -scale $scale |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
13 -merge $merge |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
14 -tagFilter $tagFilter |
3
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
15 #if str($print).endswith( 'blocks' ) |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
16 -print 1 |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
17 #else |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
18 -print 2 |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
19 #end if |
0 | 20 $input |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
21 > data.blockbuster; |
3
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
22 #if str($print) == 'bed_blocks' |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
23 awk '{if ($1 ~ /^>/) print $2"\t"$3"\t"$4"\t"$1"\t"$6"\t"$5"\t"$3"\t"$4; else print $2"\t"$3"\t"$4"\tblock_"$1"\t"$6"\t"$5"\t"$3"\t"$4}' data.blockbuster > $output |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
24 #else if str($print) == 'bed_reads' |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
25 awk '{if ($1 ~ /^>/) print $2"\t"$3"\t"$4"\t"$1"\t"$6"\t"$5"\t"$3"\t"$4; else print $1"\t"$2"\t"$3"\t"$3"\t"$4"\t"$5"\t"$6"\t"$2"\t"$3}' data.blockbuster > $output |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
26 #else |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
27 mv data.blockbuster $output |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
28 #end if |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
29 ]]> |
0 | 30 </command> |
31 <inputs> | |
32 <param name="input" type="data" format="bed" label="BED file containing read expressions"/> | |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
33 <param name="distance" type="integer" value="40" label="minimum distance between two clusters"/> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
34 <param name="minClusterHeight" type="float" value="50" label="minimum height (readno) of a cluster"/> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
35 <param name="minBlockHeight" type="float" value="1" label="minimum height (readno) of a block"/> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
36 <param name="scale" type="float" value="0.5" label="scale stddev for a single read"/> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
37 <param name="merge" type="integer" value="0" label="merge reads with almost similar means"/> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
38 <param name="tagFilter" type="integer" value="0" label="skip tags with expression smaller than this value"/> |
0 | 39 <param name="print" type="select" label="Type of output" > |
3
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
40 <option value="bbf_blocks">blocks (blockbuster format)</option> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
41 <option value="bbf_reads" selected="True">reads (blockbuster format)</option> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
42 <option value="bed_blocks">blocks (bed format)</option> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
43 <option value="bed_reads" >reads (bed format)</option> |
0 | 44 </param> |
45 </inputs> | |
46 | |
47 <outputs> | |
3
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
48 <data format="bed" name="output" label="blockbuster on ${on_string}"> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
49 <change_format> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
50 <when input="print" value="bbf_blocks" format="tabular" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
51 <when input="print" value="bbf_reads" format="tabular" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
52 </change_format> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
53 </data> |
0 | 54 </outputs> |
3
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
55 <tests> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
56 <test> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
57 <param name="input" value="blockbuster_test_input.bed" ftype="bed" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
58 <param name="print" value="bed_blocks" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
59 <output name="output" file="blockbuster_test_result1.bed" ftype="bed" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
60 </test> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
61 <test> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
62 <param name="input" value="blockbuster_test_input.bed" ftype="bed" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
63 <param name="print" value="bbf_blocks" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
64 <output name="output" file="blockbuster_test_result2.blockbuster" ftype="tabular" /> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
65 </test> |
7c7ff7a3503f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit e11f6de08dca72259d2286c442c5464b1f2236d6
rnateam
parents:
2
diff
changeset
|
66 </tests> |
0 | 67 <help> |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
68 <![CDATA[ |
0 | 69 |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
70 **What it does** |
0 | 71 |
72 Blockbuster_ detects blocks of overlapping reads using a gaussian-distribution approach. | |
73 | |
74 | |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
75 Once short read sequences are mapped to a reference genome, one will face the problem of dividing consecutive reads into blocks to detect specific expression patterns. Due to biological variability and sequencing inaccuracies, the read arrangement does not always show exact block boundaries. The blockbuster tool automatically assigns reads to blocks and gives a unique chance to actually see the different origins where the short reads come from. |
0 | 76 |
77 .. _Blockbuster: http://hoffmann.bioinf.uni-leipzig.de/LIFE/blockbuster.html | |
78 | |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
79 **Input** |
0 | 80 |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
81 Input file can be a BED file or an Segemehl output file. |
0 | 82 |
83 | |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
84 ]]> |
0 | 85 </help> |
1
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
86 <citations> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
87 <citation type="doi">10.1093/bioinformatics/btp419</citation> |
293c1420bcd7
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blockbuster commit 8cf209284928f45cbbb57dc8b0ec6361b5d519b8-dirty
rnateam
parents:
0
diff
changeset
|
88 </citations> |
0 | 89 </tool> |