annotate blockclust.xml @ 13:dbb6ee3179bc draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 6957c96f98dea265503f4e126d4aaa6f8c2e1d2e
author bgruening
date Sat, 04 Nov 2023 10:07:58 +0000
parents aab6cf87b40a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
dbb6ee3179bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 6957c96f98dea265503f4e126d4aaa6f8c2e1d2e
bgruening
parents: 12
diff changeset
1 <tool id="blockclust" name="BlockClust" version="1.1.1">
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
2 <description>efficient clustering and classification of non-coding RNAs from short read RNA-seq profiles</description>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
3 <requirements>
13
dbb6ee3179bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 6957c96f98dea265503f4e126d4aaa6f8c2e1d2e
bgruening
parents: 12
diff changeset
4 <requirement type="package" version="1.1.1">blockclust</requirement>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
5 </requirements>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
6 <version_command>blockclust.py -v</version_command>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
8 export BLOCKCLUST_DATA_PATH=\$(dirname \$(which blockclust.py))/../share/blockclust_data &&
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
9
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
10 #if str($tool_mode.operation) == "pre":
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
11 ln -s '$tool_mode.reads_bam' reads.bam &&
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
12 ln -f -s '${$tool_mode.reads_bam.metadata.bam_index}' reads.bam.bai &&
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
13 blockclust.py
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
14 -m PRE -bam reads.bam
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
15 -tbed '$tags_bed'
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
16 #elif str($tool_mode.operation) == "analysis":
1
a92d8689aa30 Uploaded
rnateam
parents: 0
diff changeset
17 #set $outputdir = $clusters.files_path
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
18 blockclust.py
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
19 -o ./
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
20 -m ANALYSIS
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
21 -f "\$BLOCKCLUST_DATA_PATH/blockclust.config"
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
22 -t $tool_mode.input_bbo
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
23 -a "\$BLOCKCLUST_DATA_PATH/$tool_mode.reference/${tool_mode.reference}.accept.bed"
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
24 -r "\$BLOCKCLUST_DATA_PATH/$tool_mode.reference/${tool_mode.reference}.reject.bed"
8
c1cc480c53da Uploaded
rnateam
parents: 6
diff changeset
25 #if $tool_mode.nochr:
c1cc480c53da Uploaded
rnateam
parents: 6
diff changeset
26 -nochr
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
27 #end if
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
28 #if str($tool_mode.pred.enable_pred) == "yes":
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
29 -c
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
30 -cm $tool_mode.pred.pred_mode
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
31 -md "\$BLOCKCLUST_DATA_PATH/models"
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
32 #end if
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
33 #elif str($tool_mode.operation) == "post":
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
34 blockclust.py
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
35 -m POST
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
36 -cbed '$tool_mode.clusters_bed'
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
37 -cs '$tool_mode.cmsearch_out'
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
38 -tab '$tool_mode.sim_tab_in'
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
39 -rfam "\$BLOCKCLUST_DATA_PATH/rfam_map.txt"
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
40 -o ./
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
41 #end if
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
42 ]]>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
43 </command>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
44 <inputs>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
45 <conditional name="tool_mode">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
46 <param name="operation" type="select" label="Select mode of operation">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
47 <option value="pre">Pre-processing </option>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
48 <option value="analysis">Clustering and classification</option>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
49 <option value="post">Post-processing</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
50 </param>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
51 <when value="pre">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
52 <param name="reads_bam" type="data" format="bam" label="BAM file containing alignments" />
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
53 </when>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
54 <when value="analysis">
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
55 <param name="input_bbo" type="data" format="tabular" label="Input blockgroups file" />
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
56 <param name="reference" type="select" label="Select reference genome">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
57 <option value="hg19">Human (hg19)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
58 <option value="mm10">Mouse (mm10)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
59 <option value="dm3">Fly (dm3)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
60 <option value="rheMac3">Monkey (rheMac3)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
61 <option value="panTro4">Chimp (panTro4)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
62 <option value="xenTro3">Frog (xenTro3)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
63 <option value="celWS235">C. elegans (celWS235)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
64 <option value="tair10">Arabidopsis thaliana (tair10)</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
65 </param>
8
c1cc480c53da Uploaded
rnateam
parents: 6
diff changeset
66 <param name="nochr" type="boolean" label="My input files have no 'chr' for chromosome names" checked="False"/>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
67 <conditional name="pred">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
68 <param name="enable_pred" type="select" label="Would you like to perform classification?">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
69 <option value="no">No</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
70 <option value="yes">Yes</option>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
71 </param>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
72 <when value="yes">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
73 <param name="pred_mode" type="select" label="Mode of classification">
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
74 <option value="MODEL">Model based</option>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
75 <option value="NEAREST">Nearest neighbour</option>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
76 </param>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
77 </when>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
78 </conditional>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
79 </when>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
80 <when value="post">
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
81 <param name="cmsearch_out" type="data" format="tabular" label="Output of cmsearch tool" />
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
82 <param name="clusters_bed" type="data" format="bed" label="BED file containing clusters (output of BlockClust)" />
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
83 <param name="sim_tab_in" type="data" format="tabular" label="Pairwise similarities file" />
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
84 </when>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
85 </conditional>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
86 </inputs>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
87
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
88 <outputs>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
89 <data format="bed" name="tags_bed" label="BlockClust: BAM to BED on ${on_string}">
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
90 <filter>tool_mode["operation"]=="pre"</filter>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
91 </data>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
92 <data format="pdf" name="hclust_plot" from_work_dir="hclust_tree.pdf" label="BlockClust: Hierarchical clustering plot on ${on_string}" >
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
93 <filter>tool_mode["operation"]=="analysis"</filter>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
94 </data>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
95 <data format="bed" name="clusters" from_work_dir="mcl_clusters/all_clusters.bed" label="BlockClust: BED of predicted clusters on ${on_string}">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
96 <filter>tool_mode["operation"]=="analysis"</filter>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
97 </data>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
98 <data format="bed" name="model_based_pred_bed" from_work_dir="model_based_predictions.txt" label="BlockClust: Model based predictions BED on ${on_string}">
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
99 <filter>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
100 ((
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
101 tool_mode["operation"] == 'analysis' and
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
102 tool_mode["pred"]["enable_pred"] == "yes" and
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
103 tool_mode["pred"]["pred_mode"] == "MODEL"
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
104 ))
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
105 </filter>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
106 </data>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
107 <data format="bed" name="nearest_neighbour_pred_bed" from_work_dir="nearest_neighbour_predictions.txt" label="BlockClust: Nearest neighbor predictions BED on ${on_string}">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
108 <filter>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
109 ((
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
110 tool_mode["operation"] == 'analysis' and
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
111 tool_mode["pred"]["enable_pred"] == "yes" and
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
112 tool_mode["pred"]["pred_mode"] == "NEAREST"
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
113 ))
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
114 </filter>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
115 </data>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
116 <data format="tabular" name="sim_tab_out" from_work_dir="discretized.gspan.tab" label="BlockClust: Pairwise similarities on ${on_string}">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
117 <filter>tool_mode["operation"]=="analysis"</filter>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
118 </data>
1
a92d8689aa30 Uploaded
rnateam
parents: 0
diff changeset
119 <data format="pdf" name="cluster_dist" from_work_dir="cluster_distribution.pdf" label="BlockClust: Cluster distribution on ${on_string}" >
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
120 <filter>tool_mode["operation"]=="post"</filter>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
121 </data>
1
a92d8689aa30 Uploaded
rnateam
parents: 0
diff changeset
122 <data format="pdf" name="cluster_hclust" from_work_dir="hclust_tree_clusters.pdf" label="BlockClust: Hierarchical clustering plot of cluster centroids on ${on_string}" >
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
123 <filter>tool_mode["operation"]=="post"</filter>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
124 </data>
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
125 </outputs>
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
126 <tests>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
127 <!-- Test: PRE mode -->
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
128
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
129 <test expect_num_outputs="1">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
130 <param name="operation" value="pre"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
131 <param name="reads_bam" value="test.bam"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
132 <output name="tags_bed">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
133 <assert_contents>
13
dbb6ee3179bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 6957c96f98dea265503f4e126d4aaa6f8c2e1d2e
bgruening
parents: 12
diff changeset
134 <has_text_matching expression="chr6\t26555497\t26555527\ttag_10\|1\|19\t0.052632\t\+" />
dbb6ee3179bc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 6957c96f98dea265503f4e126d4aaa6f8c2e1d2e
bgruening
parents: 12
diff changeset
135 <has_text_matching expression="chr11\t122017275\t122017297\ttag_30\|1\|3\t0.333333\t-" />
12
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
136 </assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
137 </output>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
138 </test>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
139
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
140 <!-- Test: Clustering only -->
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
141 <test expect_num_outputs="3">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
142 <param name="operation" value="analysis"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
143 <param name="input_bbo" value="test.tabular"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
144 <param name="reference" value="hg19"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
145 <param name="enable_pred" value="no"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
146 <output name="clusters">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
147 <assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
148 <has_text_matching expression="chr1\t173833959\t173834043\t10:snoRNA_CD-box:blockgroup_939:cluster_1\t451.50\t-" />
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
149 <has_text_matching expression="chr13\t92003008\t92003075\t8:miRNA:blockgroup_256:cluster_3\t2950.50\t\+" />
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
150 </assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
151 </output>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
152 </test>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
153
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
154 <!-- Test: Model based prediction -->
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
155
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
156 <test expect_num_outputs="4">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
157 <param name="operation" value="analysis"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
158 <param name="input_bbo" value="test.tabular"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
159 <param name="reference" value="hg19"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
160 <param name="enable_pred" value="yes"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
161 <param name="pred_mode" value="MODEL"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
162 <output name="model_based_pred_bed">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
163 <assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
164 <has_text_matching expression="chr2\t203211000\t203211097\tpredicted_tRNA\t284.07\t-" />
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
165 </assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
166 </output>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
167 </test>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
168
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
169 <!-- Test: Nearest neighbour based prediction -->
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
170
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
171 <test expect_num_outputs="4">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
172 <param name="operation" value="analysis"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
173 <param name="input_bbo" value="test.tabular"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
174 <param name="reference" value="hg19"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
175 <param name="enable_pred" value="yes"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
176 <param name="pred_mode" value="NEAREST"/>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
177 <output name="nearest_neighbour_pred_bed">
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
178 <assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
179 <has_text_matching expression="chr2\t203211000\t203211097\tpredicted_tRNA\t284.07\t-" />
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
180 </assert_contents>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
181 </output>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
182 </test>
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
183
aab6cf87b40a planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81
rnateam
parents: 11
diff changeset
184 </tests>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
185 <help>
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
186 <![CDATA[
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
187
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
188 .. class:: infomark
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
189
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
190 **What it does**
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
191
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
192 BlockClust is an efficient approach to detect transcripts with similar
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
193 processing patterns. We propose a novel way to encode expression profiles
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
194 in compact discrete structures, which can then be processed using
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
195 fast graph-kernel techniques. BlockClust allows both clustering and
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
196 classification of small non-coding RNAs.
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
197
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
198 BlockClust runs in three operating modes:
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
199
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
200 1) Pre-processing - converts given mapped reads (BAM) into BED file of tags
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
201
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
202 2) Clustering and classification - of given input blockgroups (output of blockbuster tool) as explained in the original paper.
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
203
6
6721468f2f9f Uploaded
rnateam
parents: 4
diff changeset
204 3) Post-processing - plots for overview of predicted clusters.
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
205
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
206 For a thorough analysis of your data, we suggest you to use complete blockclust workflow, which contains all three modes of operation.
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
207
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
208 **Inputs**
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
209
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
210 BlockClust input files are dependent on the mode of operation:
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
211
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
212 1. Pre-processing mode:
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
213 * Binary Sequence Alignment Map (BAM) file
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
214
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
215 2. Clustering and classification:
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
216 * A blockgroups file generated by blockbuster tool
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
217 * Select reference genome
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
218
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
219 3. Post-processing:
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
220 * Output of cmsearch, searched clusters generated by BlockClust against Rfam
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
221 * BED file containing clusters generated by BlockClust
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
222 * Pairwise similarities of blockgroups generated by BlockClust
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
223
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
224 **Outputs**
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
225
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
226 1. Pre-processing mode:
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
227 * BED file of tags with expressions
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
228
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
229 2. Clustering and classification:
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
230 * Hierarchical clustering plot of all input blockgroups by their similarity
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
231 * Pairwise similarities of all input blockgroups
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
232 * BED file containing predicted clusters
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
233 * BED file containing prediction of blockgroups by pre-compiled SVM binary classification model.
2
f973ec6e5192 Uploaded
rnateam
parents: 1
diff changeset
234
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
235 3. Post-processing:
6
6721468f2f9f Uploaded
rnateam
parents: 4
diff changeset
236 * Plot of distribution of ncRNA families per predicted cluster (overview of cluster precissions). The annotation of ncRNA families are retrieved by searching cluster instances against Rfam database.
4
49e600128a73 Uploaded
rnateam
parents: 3
diff changeset
237 * Hierarchical clustering made out of centroids of each BlockClust predicted cluster
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
238
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
239
10
24d09ba85e45 Uploaded
rnateam
parents: 8
diff changeset
240 ]]>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
241 </help>
11
6ecd674b5b62 Uploaded
rnateam
parents: 10
diff changeset
242 <citations>
6ecd674b5b62 Uploaded
rnateam
parents: 10
diff changeset
243 <citation type="doi">10.1093/bioinformatics/btu270</citation>
6ecd674b5b62 Uploaded
rnateam
parents: 10
diff changeset
244 </citations>
0
768a67f6ae18 Uploaded
rnateam
parents:
diff changeset
245 </tool>