Previous changeset 11:6ecd674b5b62 (2015-02-03) Next changeset 13:dbb6ee3179bc (2023-11-04) |
Commit message:
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/blockclust commit 8a847f019b21abaf4de2612dead57163b2c92d81 |
modified:
blockclust.xml |
added:
test-data/test.bam test-data/test.tabular |
removed:
tool_dependencies.xml |
b |
diff -r 6ecd674b5b62 -r aab6cf87b40a blockclust.xml --- a/blockclust.xml Tue Feb 03 08:08:49 2015 -0500 +++ b/blockclust.xml Mon Nov 19 08:10:14 2018 -0500 |
[ |
b'@@ -1,74 +1,43 @@\n-<tool id="blockclust" name="BlockClust" version="1.0.0">\n+<tool id="blockclust" name="BlockClust" version="1.1.0">\n <description>efficient clustering and classification of non-coding RNAs from short read RNA-seq profiles</description>\n <requirements>\n- <requirement type="package" version="1.0">blockclust</requirement>\n- <requirement type="package" version="1.1">eden</requirement>\n- <requirement type="package" version="3.0.3">R</requirement>\n- <requirement type="package" version="0.1.19">samtools</requirement>\n- <requirement type="package" version="12.135">mcl</requirement>\n- <requirement type="package" version="1.0">blockclust_rlibs</requirement>\n+ <requirement type="package" version="1.1.0">blockclust</requirement>\n </requirements>\n- <version_command>echo \'1.0\'</version_command>\n- <command>\n-<![CDATA[\n+ <version_command>blockclust.py -v</version_command>\n+ <command detect_errors="aggressive"><![CDATA[\n+ export BLOCKCLUST_DATA_PATH=\\$(dirname \\$(which blockclust.py))/../share/blockclust_data &&\n+\n #if str($tool_mode.operation) == "pre":\n- BlockClustPipeLine.pl -m PRE -bam $tool_mode.reads_bam -tbed $tags_bed\n- #elif str($tool_mode.operation) == "clust":\n+ ln -s \'$tool_mode.reads_bam\' reads.bam &&\n+ ln -f -s \'${$tool_mode.reads_bam.metadata.bam_index}\' reads.bam.bai &&\n+ blockclust.py \n+ -m PRE -bam reads.bam\n+ -tbed \'$tags_bed\'\n+ #elif str($tool_mode.operation) == "analysis":\n #set $outputdir = $clusters.files_path\n- #set $accept_bed=list()\n- #set $reject_bed=list()\n- ## prepare annotations\n- #if str($tool_mode.reference) == "hg19":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/hg19/hg19.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/hg19/hg19.reject.bed")\n- #elif str($tool_mode.reference) == "mm10":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/mm10/mm10.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/mm10/mm10.reject.bed")\n- #elif str($tool_mode.reference) == "dm3":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/dm3/dm3.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/dm3/dm3.reject.bed")\n- #elif str($tool_mode.reference) == "rheMac3":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/rheMac3/rheMac3.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/rheMac3/rheMac3.reject.bed")\n- #elif str($tool_mode.reference) == "panTro4":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/panTro3/panTro4.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/panTro3/panTro4.reject.bed")\n- #elif str($tool_mode.reference) == "xenTro3":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/xenTro3/xenTro3.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/xenTro3/xenTro3.reject.bed")\n- #elif str($tool_mode.reference) == "celWS235":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/celWS235/celWS235.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/celWS235/celWS235.reject.bed")\n- #elif str($tool_mode.reference) == "tair10":\n- $accept_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/tair10/tair10.accept.bed")\n- $reject_bed.append("\\$BLOCKCLUST_DATA_PATH/annotations/tair10/tair10.reject.bed")\n- #end if\n- BlockClustPipeLine.pl -m TEST -c \\$BLOCKCLUST_DATA_PATH/blockclust.config\n+ blockclust.py \n+ -o ./\n+ -m ANALYSIS\n+ -f "\\$BLOC'..b'ed_bed" label="BlockClust: Nearest neighbor predictions BED on ${on_string}">\n- <filter>\n- ((\n- tool_mode["operation"] == \'clust\' and\n- tool_mode["pred"]["enable_pred"] == "yes" and\n- tool_mode["pred"]["pred_mode"] == "nearest_neighbour"\n- ))\n- </filter>\n- </data>\n- <data format="tabular" name="sim_tab_out" label="BlockClust: Pairwise similarities on ${on_string}">\n- <filter> tool_mode["operation"]=="clust"</filter>\n+ <data format="tabular" name="sim_tab_out" from_work_dir="discretized.gspan.tab" label="BlockClust: Pairwise similarities on ${on_string}">\n+ <filter>tool_mode["operation"]=="analysis"</filter>\n </data>\n <data format="pdf" name="cluster_dist" from_work_dir="cluster_distribution.pdf" label="BlockClust: Cluster distribution on ${on_string}" >\n- <filter> tool_mode["operation"]=="post"</filter>\n+ <filter>tool_mode["operation"]=="post"</filter>\n </data>\n <data format="pdf" name="cluster_hclust" from_work_dir="hclust_tree_clusters.pdf" label="BlockClust: Hierarchical clustering plot of cluster centroids on ${on_string}" >\n- <filter> tool_mode["operation"]=="post"</filter>\n+ <filter>tool_mode["operation"]=="post"</filter>\n </data>\n </outputs>\n+ <tests>\n+ <!-- Test: PRE mode -->\n+\n+ <test expect_num_outputs="1">\n+ <param name="operation" value="pre"/>\n+ <param name="reads_bam" value="test.bam"/>\n+ <output name="tags_bed">\n+ <assert_contents>\n+ <has_text_matching expression="chr6\\t26555497\\t26555527\\ttag_10|1|19\\t0.052632\\t+" />\n+ <has_text_matching expression="chr11\\t122017275\\t122017297\\ttag_30|1|3\\t0.333333\\t-" />\n+ </assert_contents>\n+ </output>\n+ </test>\n+\n+ <!-- Test: Clustering only -->\n+ <test expect_num_outputs="3">\n+ <param name="operation" value="analysis"/>\n+ <param name="input_bbo" value="test.tabular"/>\n+ <param name="reference" value="hg19"/>\n+ <param name="enable_pred" value="no"/>\n+ <output name="clusters">\n+ <assert_contents>\n+ <has_text_matching expression="chr1\\t173833959\\t173834043\\t10:snoRNA_CD-box:blockgroup_939:cluster_1\\t451.50\\t-" />\n+ <has_text_matching expression="chr13\\t92003008\\t92003075\\t8:miRNA:blockgroup_256:cluster_3\\t2950.50\\t\\+" />\n+ </assert_contents>\n+ </output>\n+ </test>\n+\n+ <!-- Test: Model based prediction -->\n+\n+ <test expect_num_outputs="4">\n+ <param name="operation" value="analysis"/>\n+ <param name="input_bbo" value="test.tabular"/>\n+ <param name="reference" value="hg19"/>\n+ <param name="enable_pred" value="yes"/>\n+ <param name="pred_mode" value="MODEL"/>\n+ <output name="model_based_pred_bed">\n+ <assert_contents>\n+ <has_text_matching expression="chr2\\t203211000\\t203211097\\tpredicted_tRNA\\t284.07\\t-" />\n+ </assert_contents>\n+ </output>\n+ </test>\n+ \n+ <!-- Test: Nearest neighbour based prediction -->\n+\n+ <test expect_num_outputs="4">\n+ <param name="operation" value="analysis"/>\n+ <param name="input_bbo" value="test.tabular"/>\n+ <param name="reference" value="hg19"/>\n+ <param name="enable_pred" value="yes"/>\n+ <param name="pred_mode" value="NEAREST"/>\n+ <output name="nearest_neighbour_pred_bed">\n+ <assert_contents>\n+ <has_text_matching expression="chr2\\t203211000\\t203211097\\tpredicted_tRNA\\t284.07\\t-" />\n+ </assert_contents>\n+ </output>\n+ </test>\n+\n+ </tests>\n <help>\n <![CDATA[\n \n' |
b |
diff -r 6ecd674b5b62 -r aab6cf87b40a test-data/test.bam |
b |
Binary file test-data/test.bam has changed |
b |
diff -r 6ecd674b5b62 -r aab6cf87b40a test-data/test.tabular --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/test.tabular Mon Nov 19 08:10:14 2018 -0500 |
b |
b'@@ -0,0 +1,2111 @@\n+>cluster_939\tchr1\t173833959\t173834043\t-\t451.50\t51\t3\n+chr1\t173833973\t173834009\ttag_494715|1\t1.000000\t-\t1\n+chr1\t173833970\t173833996\ttag_615439|1\t1.000000\t-\t1\n+chr1\t173833970\t173833996\ttag_615372|1\t1.000000\t-\t1\n+chr1\t173833970\t173834004\ttag_604763|1\t1.000000\t-\t1\n+chr1\t173833970\t173833992\ttag_1773442|1\t1.000000\t-\t1\n+chr1\t173833970\t173833996\ttag_1086667|1\t1.000000\t-\t1\n+chr1\t173833970\t173833991\ttag_445309|1\t1.000000\t-\t1\n+chr1\t173833970\t173833999\ttag_986404|1\t1.000000\t-\t1\n+chr1\t173833970\t173834000\ttag_959571|1\t1.000000\t-\t1\n+chr1\t173833970\t173833993\ttag_907644|1\t1.000000\t-\t1\n+chr1\t173833970\t173833998\ttag_885788|1\t1.000000\t-\t1\n+chr1\t173833970\t173834000\ttag_877925|1\t1.000000\t-\t1\n+chr1\t173833970\t173833991\ttag_870314|1\t1.000000\t-\t1\n+chr1\t173833970\t173833996\ttag_817326|1\t1.000000\t-\t1\n+chr1\t173833970\t173833992\ttag_1436162|1\t0.500000\t-\t1\n+chr1\t173833970\t173834002\ttag_180348|2\t2.000000\t-\t1\n+chr1\t173833970\t173834000\ttag_54619|6\t6.000000\t-\t1\n+chr1\t173833970\t173833990\ttag_31437|11\t11.000000\t-\t1\n+chr1\t173833970\t173833997\ttag_21828|17\t17.000000\t-\t1\n+chr1\t173833970\t173833998\ttag_18525|20\t20.000000\t-\t1\n+chr1\t173833970\t173833993\ttag_17806|21\t21.000000\t-\t1\n+chr1\t173833970\t173833994\ttag_15560|25\t25.000000\t-\t1\n+chr1\t173833970\t173833995\ttag_15220|26\t26.000000\t-\t1\n+chr1\t173833970\t173834001\ttag_12856|32\t32.000000\t-\t1\n+chr1\t173833970\t173833999\ttag_11760|35\t35.000000\t-\t1\n+chr1\t173833970\t173833989\ttag_10226|42\t42.000000\t-\t1\n+chr1\t173833970\t173833991\ttag_9416|47\t47.000000\t-\t1\n+chr1\t173833970\t173833996\ttag_9315|47\t47.000000\t-\t1\n+chr1\t173833970\t173833992\ttag_7304|64\t64.000000\t-\t1\n+chr1\t173833969\t173833996\ttag_1397646|1\t1.000000\t-\t1\n+chr1\t173833968\t173834002\ttag_821710|1\t1.000000\t-\t1\n+chr1\t173833965\t173833999\ttag_252059|1\t1.000000\t-\t1\n+chr1\t173833964\t173833996\ttag_421525|1\t1.000000\t-\t1\n+chr1\t173833962\t173833995\ttag_336214|1\t1.000000\t-\t1\n+chr1\t173833960\t173833992\ttag_1861751|1\t1.000000\t-\t1\n+chr1\t173833960\t173833992\ttag_482224|1\t1.000000\t-\t1\n+chr1\t173833959\t173833992\ttag_392974|1\t1.000000\t-\t1\n+chr1\t173833959\t173833992\ttag_709126|1\t1.000000\t-\t1\n+chr1\t173834019\t173834043\ttag_519261|1\t1.000000\t-\t2\n+chr1\t173834018\t173834042\ttag_1772046|1\t1.000000\t-\t2\n+chr1\t173834015\t173834042\ttag_653136|1\t1.000000\t-\t2\n+chr1\t173834014\t173834042\ttag_873957|1\t1.000000\t-\t2\n+chr1\t173834013\t173834042\ttag_1701612|1\t1.000000\t-\t2\n+chr1\t173834012\t173834042\ttag_1612183|1\t1.000000\t-\t2\n+chr1\t173834008\t173834043\ttag_1774651|1\t1.000000\t-\t2\n+chr1\t173834007\t173834043\ttag_1420129|1\t1.000000\t-\t2\n+chr1\t173834007\t173834043\ttag_139153|2\t2.000000\t-\t2\n+chr1\t173834006\t173834042\ttag_1054353|1\t1.000000\t-\t2\n+chr1\t173834006\t173834042\ttag_18530|20\t20.000000\t-\t2\n+chr1\t173834023\t173834042\ttag_885887|1\t1.000000\t-\t3\n+chr1\t173834021\t173834042\ttag_549350|1\t1.000000\t-\t3\n+>cluster_940\tchr1\t173834480\t173834567\t-\t354.50\t46\t4\n+chr1\t173834490\t173834511\ttag_1307815|1\t1.000000\t-\t1\n+chr1\t173834490\t173834509\ttag_2551|227\t227.000000\t-\t1\n+chr1\t173834488\t173834507\ttag_104865|3\t3.000000\t-\t1\n+chr1\t173834488\t173834509\ttag_104283|3\t3.000000\t-\t1\n+chr1\t173834488\t173834508\ttag_1332791|1\t1.000000\t-\t1\n+chr1\t173834487\t173834508\ttag_876963|1\t1.000000\t-\t1\n+chr1\t173834487\t173834507\ttag_37578|9\t9.000000\t-\t1\n+chr1\t173834487\t173834509\ttag_23539|15\t15.000000\t-\t1\n+chr1\t173834481\t173834507\ttag_714997|1\t1.000000\t-\t1\n+chr1\t173834548\t173834567\ttag_313337|1\t1.000000\t-\t2\n+chr1\t173834547\t173834567\ttag_1079769|1\t0.500000\t-\t2\n+chr1\t173834547\t173834566\ttag_401803|1\t1.000000\t-\t2\n+chr1\t173834547\t173834567\ttag_42263|8\t8.000000\t-\t2\n+chr1\t173834546\t173834567\ttag_1849484|1\t0.500000\t-\t2\n+chr1\t173834546\t173834566\ttag_381674|1\t1.000000\t-\t2\n+chr1\t173834543\t173834567\ttag_983219|1\t1.000000\t-\t2\n+chr1\t173834542\t173834567\ttag_94884|3\t3.000000\t-\t2\n+chr1\t173834540\t173834567\ttag_621110|1\t1.000000\t-\t2\n+chr1\t173834539\t173834567\ttag_421538|1\t1.000000\t-\t2\n+chr1\t173834539\t173834566\ttag_234286|1\t1.000000\t-\t2\n+chr1\t173834538\t173834566\ttag_560176|1\t1.000000\t-\t2\n+chr1\t173834538\t173834566\ttag_1789529|1\t1.000000\t-\t2\n+chr1\t173834538\t173834567\ttag_1073342|1\t1.000000\t-\t2\n'..b'03211095\ttag_76576|4\t2.000000\t-\t1\n+chr2\t203211075\t203211094\ttag_41856|8\t4.000000\t-\t1\n+chr2\t203211074\t203211095\ttag_1198207|1\t0.500000\t-\t1\n+chr2\t203211074\t203211095\ttag_548666|1\t0.500000\t-\t1\n+chr2\t203211074\t203211094\ttag_1616044|1\t0.500000\t-\t1\n+chr2\t203211074\t203211096\ttag_835346|1\t0.500000\t-\t1\n+chr2\t203211074\t203211095\ttag_145685|2\t1.000000\t-\t1\n+chr2\t203211074\t203211095\ttag_125201|2\t1.000000\t-\t1\n+chr2\t203211074\t203211097\ttag_69755|4\t2.000000\t-\t1\n+chr2\t203211074\t203211096\ttag_30937|11\t5.500000\t-\t1\n+chr2\t203211074\t203211095\ttag_18003|21\t10.500000\t-\t1\n+chr2\t203211074\t203211094\ttag_9578|46\t23.000000\t-\t1\n+chr2\t203211074\t203211093\ttag_3652|150\t75.000000\t-\t1\n+chr2\t203211073\t203211096\ttag_512465|1\t0.500000\t-\t1\n+chr2\t203211073\t203211094\ttag_455624|1\t0.333333\t-\t1\n+chr2\t203211073\t203211094\ttag_746765|1\t0.500000\t-\t1\n+chr2\t203211072\t203211096\ttag_351358|1\t0.500000\t-\t1\n+chr2\t203211071\t203211097\ttag_1663651|1\t0.500000\t-\t1\n+chr2\t203211071\t203211090\ttag_927449|1\t0.250000\t-\t1\n+chr2\t203211071\t203211092\ttag_893688|1\t0.500000\t-\t1\n+chr2\t203211071\t203211095\ttag_175941|2\t1.000000\t-\t1\n+chr2\t203211071\t203211093\ttag_651718|1\t0.500000\t-\t1\n+chr2\t203211070\t203211091\ttag_729469|1\t0.500000\t-\t1\n+chr2\t203211069\t203211090\ttag_375480|1\t0.250000\t-\t1\n+chr2\t203211069\t203211091\ttag_1528925|1\t0.500000\t-\t1\n+chr2\t203211069\t203211089\ttag_184814|2\t0.400000\t-\t1\n+chr2\t203211068\t203211096\ttag_1838517|1\t0.500000\t-\t1\n+chr2\t203211068\t203211093\ttag_156910|2\t1.000000\t-\t1\n+chr2\t203211068\t203211095\ttag_737845|1\t0.500000\t-\t1\n+chr2\t203211067\t203211096\ttag_261803|1\t0.500000\t-\t1\n+chr2\t203211064\t203211093\ttag_1782359|1\t0.500000\t-\t1\n+chr2\t203211060\t203211090\ttag_425926|1\t0.500000\t-\t1\n+chr2\t203211038\t203211057\ttag_38614|8\t2.666667\t-\t2\n+chr2\t203211036\t203211057\ttag_1675476|1\t0.333333\t-\t2\n+chr2\t203211036\t203211055\ttag_253639|1\t0.333333\t-\t2\n+chr2\t203211035\t203211057\ttag_523994|1\t0.333333\t-\t2\n+chr2\t203211035\t203211056\ttag_160200|2\t0.666667\t-\t2\n+chr2\t203211035\t203211056\ttag_19032|20\t6.666667\t-\t2\n+chr2\t203211035\t203211055\ttag_14319|28\t9.333333\t-\t2\n+chr2\t203211035\t203211054\ttag_3388|163\t54.333333\t-\t2\n+chr2\t203211034\t203211054\ttag_1764676|1\t0.333333\t-\t2\n+chr2\t203211033\t203211054\ttag_604872|1\t1.000000\t-\t2\n+chr2\t203211029\t203211054\ttag_458346|1\t0.500000\t-\t2\n+chr2\t203211025\t203211054\ttag_994128|1\t1.000000\t-\t2\n+chr2\t203211060\t203211079\ttag_557151|1\t0.500000\t-\t3\n+chr2\t203211060\t203211087\ttag_152519|2\t1.000000\t-\t3\n+chr2\t203211057\t203211079\ttag_540710|1\t0.500000\t-\t3\n+chr2\t203211057\t203211080\ttag_189493|2\t1.000000\t-\t3\n+chr2\t203211056\t203211080\ttag_300181|1\t0.500000\t-\t3\n+chr2\t203211054\t203211076\ttag_579039|1\t0.500000\t-\t3\n+chr2\t203211054\t203211080\ttag_190232|2\t1.000000\t-\t3\n+chr2\t203211054\t203211075\ttag_152988|2\t1.000000\t-\t3\n+chr2\t203211054\t203211077\ttag_140899|2\t1.000000\t-\t3\n+chr2\t203211053\t203211080\ttag_518279|1\t0.500000\t-\t3\n+chr2\t203211053\t203211079\ttag_990961|1\t0.500000\t-\t3\n+chr2\t203211052\t203211079\ttag_180193|2\t1.000000\t-\t3\n+chr2\t203211050\t203211077\ttag_626583|1\t0.500000\t-\t3\n+chr2\t203211050\t203211080\ttag_1063242|1\t0.500000\t-\t3\n+chr2\t203211050\t203211077\ttag_164082|2\t1.000000\t-\t3\n+chr2\t203211049\t203211076\ttag_591760|1\t0.500000\t-\t3\n+chr2\t203211049\t203211078\ttag_1745134|1\t0.500000\t-\t3\n+chr2\t203211049\t203211077\ttag_377389|1\t0.500000\t-\t3\n+chr2\t203211049\t203211080\ttag_1451447|1\t0.500000\t-\t3\n+chr2\t203211049\t203211079\ttag_711824|1\t0.500000\t-\t3\n+chr2\t203211049\t203211080\ttag_1289294|1\t0.500000\t-\t3\n+chr2\t203211048\t203211079\ttag_744436|1\t0.500000\t-\t3\n+chr2\t203211047\t203211075\ttag_1776657|1\t0.500000\t-\t3\n+chr2\t203211046\t203211079\ttag_1728473|1\t0.500000\t-\t3\n+chr2\t203211043\t203211077\ttag_679069|1\t0.500000\t-\t3\n+chr2\t203211000\t203211023\ttag_84219|3\t1.500000\t-\t4\n+chr2\t203211000\t203211024\ttag_79090|4\t2.000000\t-\t4\n+chr2\t203211000\t203211019\ttag_48051|6\t3.000000\t-\t4\n+chr2\t203211044\t203211066\ttag_1663547|1\t0.500000\t-\t5\n+chr2\t203211044\t203211068\ttag_961039|1\t0.500000\t-\t5\n+chr2\t203211043\t203211066\ttag_872911|1\t0.500000\t-\t5\n+chr2\t203211041\t203211069\ttag_1431114|1\t0.500000\t-\t5\n+chr2\t203211013\t203211034\ttag_331039|1\t1.000000\t-\t6\n' |
b |
diff -r 6ecd674b5b62 -r aab6cf87b40a tool_dependencies.xml --- a/tool_dependencies.xml Tue Feb 03 08:08:49 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
@@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<tool_dependency> - <package name="samtools" version="0.1.19"> - <repository changeset_revision="923adc89c666" name="package_samtools_0_1_19" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" /> - </package> - <package name="R" version="3.0.3"> - <repository changeset_revision="f386d7431fe0" name="package_r_3_0_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" /> - </package> - <package name="eden" version="1.1"> - <repository changeset_revision="8087eef83c35" name="package_eden_1_1" owner="rnateam" toolshed="https://toolshed.g2.bx.psu.edu" /> - </package> - <package name="mcl" version="12.135"> - <repository changeset_revision="9f59d1a59999" name="package_mcl_12_135" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu" /> - </package> - <package name="blockclust_rlibs" version="1.0"> - <install version="1.0"> - <actions> - <action type="setup_r_environment"> - <repository changeset_revision="f386d7431fe0" name="package_r_3_0_3" owner="iuc" toolshed="https://toolshed.g2.bx.psu.edu"> - <package name="R" version="3.0.3" /> - </repository> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/ape_3.0-11.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/plyr_1.8.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/digest_0.6.4.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/gtable_0.1.2.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/dichromat_2.0-0.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/colorspace_1.2-4.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/munsell_0.4.2.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/labeling_0.2.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/RColorBrewer_1.0-5.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/stringr_0.6.2.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/scales_0.2.3.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/proto_0.3-10.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/reshape2_1.2.2.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/ggplot2_0.9.3.1.tar.gz</package> - <package>https://github.com/bgruening/download_store/raw/master/blockclust/r-packages/squash_1.0.1.tar.gz</package> - </action> - </actions> - </install> - <readme> - - </readme> - </package> - <package name="blockclust" version="1.0"> - <install version="1.0"> - <actions> - <action type="download_by_url">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-1.0.tar.gz</action> - <action type="shell_command">make</action> - <action type="move_file"> - <source>BlockClust</source> - <destination>$INSTALL_DIR/bin</destination> - </action> - <action type="move_file"> - <source>BlockClustPipeLine.pl</source> - <destination>$INSTALL_DIR/bin</destination> - </action> - <action type="move_file"> - <source>filterKnownBlockGroups.pl</source> - <destination>$INSTALL_DIR/bin</destination> - </action> - <action type="move_file"> - <source>perf</source> - <destination>$INSTALL_DIR/bin</destination> - </action> - <action type="move_file"> - <source>plotClusters.R</source> - <destination>$INSTALL_DIR/bin</destination> - </action> - <action type="move_file"> - <source>blockclust.config</source> - <destination>$INSTALL_DIR/data/</destination> - </action> - <action type="move_file"> - <source>rfam_map.txt</source> - <destination>$INSTALL_DIR/data/</destination> - </action> - <action type="make_directory">$INSTALL_DIR/data/annotations</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/dm3.tar.gz</action> - <action type="shell_command">tar xfvz dm3.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/hg19.tar.gz</action> - <action type="shell_command">tar xfvz hg19.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/mm10.tar.gz</action> - <action type="shell_command">tar xfvz mm10.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/panTro4.tar.gz</action> - <action type="shell_command">tar xfvz panTro4.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/rheMac3.tar.gz</action> - <action type="shell_command">tar xfvz rheMac3.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/celWS235.tar.gz</action> - <action type="shell_command">tar xfvz celWS235.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/annotations/tair10.tar.gz</action> - <action type="shell_command">tar xfvz tair10.tar.gz -C $INSTALL_DIR/data/annotations/</action> - <action type="download_file">https://github.com/bgruening/download_store/raw/master/blockclust/blockclust-data-1.0/models.tar.gz</action> - <action type="shell_command">tar xfvz models.tar.gz -C $INSTALL_DIR/data/</action> - <action type="set_environment"> - <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable> - <environment_variable action="set_to" name="BLOCKCLUST_DATA_PATH">$INSTALL_DIR/data</environment_variable> - </action> - </actions> - </install> - <readme> - - </readme> - </package> -</tool_dependency> |