Mercurial > repos > rnateam > blockclust
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 |
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 | 2 <description>efficient clustering and classification of non-coding RNAs from short read RNA-seq profiles</description> |
0 | 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 | 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 | 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 | 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 | 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 | 25 #if $tool_mode.nochr: |
26 -nochr | |
10 | 27 #end if |
0 | 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 | 32 #end if |
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 | 41 #end if |
10 | 42 ]]> |
0 | 43 </command> |
44 <inputs> | |
45 <conditional name="tool_mode"> | |
46 <param name="operation" type="select" label="Select mode of operation"> | |
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 | 49 <option value="post">Post-processing</option> |
50 </param> | |
51 <when value="pre"> | |
52 <param name="reads_bam" type="data" format="bam" label="BAM file containing alignments" /> | |
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 | 55 <param name="input_bbo" type="data" format="tabular" label="Input blockgroups file" /> |
56 <param name="reference" type="select" label="Select reference genome"> | |
57 <option value="hg19">Human (hg19)</option> | |
58 <option value="mm10">Mouse (mm10)</option> | |
59 <option value="dm3">Fly (dm3)</option> | |
60 <option value="rheMac3">Monkey (rheMac3)</option> | |
61 <option value="panTro4">Chimp (panTro4)</option> | |
62 <option value="xenTro3">Frog (xenTro3)</option> | |
63 <option value="celWS235">C. elegans (celWS235)</option> | |
64 <option value="tair10">Arabidopsis thaliana (tair10)</option> | |
65 </param> | |
8 | 66 <param name="nochr" type="boolean" label="My input files have no 'chr' for chromosome names" checked="False"/> |
0 | 67 <conditional name="pred"> |
68 <param name="enable_pred" type="select" label="Would you like to perform classification?"> | |
69 <option value="no">No</option> | |
70 <option value="yes">Yes</option> | |
71 </param> | |
72 <when value="yes"> | |
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 | 76 </param> |
77 </when> | |
78 </conditional> | |
79 </when> | |
80 <when value="post"> | |
81 <param name="cmsearch_out" type="data" format="tabular" label="Output of cmsearch tool" /> | |
82 <param name="clusters_bed" type="data" format="bed" label="BED file containing clusters (output of BlockClust)" /> | |
83 <param name="sim_tab_in" type="data" format="tabular" label="Pairwise similarities file" /> | |
84 </when> | |
85 </conditional> | |
86 </inputs> | |
87 | |
88 <outputs> | |
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 | 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 | 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 | 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 | 99 <filter> |
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 | 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 | 113 )) |
114 </filter> | |
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 | 118 </data> |
1 | 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 | 121 </data> |
1 | 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 | 124 </data> |
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 | 185 <help> |
10 | 186 <![CDATA[ |
0 | 187 |
188 .. class:: infomark | |
189 | |
10 | 190 **What it does** |
0 | 191 |
10 | 192 BlockClust is an efficient approach to detect transcripts with similar |
2 | 193 processing patterns. We propose a novel way to encode expression profiles |
10 | 194 in compact discrete structures, which can then be processed using |
195 fast graph-kernel techniques. BlockClust allows both clustering and | |
2 | 196 classification of small non-coding RNAs. |
197 | |
10 | 198 BlockClust runs in three operating modes: |
4 | 199 |
2 | 200 1) Pre-processing - converts given mapped reads (BAM) into BED file of tags |
4 | 201 |
202 2) Clustering and classification - of given input blockgroups (output of blockbuster tool) as explained in the original paper. | |
203 | |
6 | 204 3) Post-processing - plots for overview of predicted clusters. |
2 | 205 |
206 For a thorough analysis of your data, we suggest you to use complete blockclust workflow, which contains all three modes of operation. | |
0 | 207 |
208 **Inputs** | |
209 | |
2 | 210 BlockClust input files are dependent on the mode of operation: |
4 | 211 |
212 1. Pre-processing mode: | |
213 * Binary Sequence Alignment Map (BAM) file | |
2 | 214 |
4 | 215 2. Clustering and classification: |
216 * A blockgroups file generated by blockbuster tool | |
217 * Select reference genome | |
2 | 218 |
4 | 219 3. Post-processing: |
220 * Output of cmsearch, searched clusters generated by BlockClust against Rfam | |
221 * BED file containing clusters generated by BlockClust | |
222 * Pairwise similarities of blockgroups generated by BlockClust | |
0 | 223 |
4 | 224 **Outputs** |
225 | |
226 1. Pre-processing mode: | |
227 * BED file of tags with expressions | |
0 | 228 |
4 | 229 2. Clustering and classification: |
230 * Hierarchical clustering plot of all input blockgroups by their similarity | |
231 * Pairwise similarities of all input blockgroups | |
232 * BED file containing predicted clusters | |
233 * BED file containing prediction of blockgroups by pre-compiled SVM binary classification model. | |
2 | 234 |
4 | 235 3. Post-processing: |
6 | 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 | 237 * Hierarchical clustering made out of centroids of each BlockClust predicted cluster |
0 | 238 |
239 | |
10 | 240 ]]> |
0 | 241 </help> |
11 | 242 <citations> |
243 <citation type="doi">10.1093/bioinformatics/btu270</citation> | |
244 </citations> | |
0 | 245 </tool> |