# HG changeset patch
# User bgruening
# Date 1680016639 0
# Node ID 53dd00a4ab683cee35a67d0a8fd946712d64722c
# Parent 840822c1e84a06b9ced568e47d365795a5b90a4a
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blobtoolkit commit 5078c7010ec46fd01fec2057dd4486781c958c37
diff -r 840822c1e84a -r 53dd00a4ab68 blobtoolkit.xml
--- a/blobtoolkit.xml Mon Mar 20 16:37:54 2023 +0000
+++ b/blobtoolkit.xml Tue Mar 28 15:17:19 2023 +0000
@@ -22,14 +22,16 @@
--taxid $mode_conditional.taxid
--taxdump './taxdump'
'./Blobdir'
- && cp -r './taxdump' './Blobdir/'
- && tar -zcf './Blobdir.tgz' './Blobdir'
-
+ && tar -C ./Blobdir -zcvf Blobdir.tgz .
#else if $mode_conditional.selector == 'add'
+ mkdir -p './Blobdir' &&
+ mkdir -p './taxdump' &&
+ ln -s '${mode_conditional.taxdump}' 'taxdump.tar' &&
+ tar -xf 'taxdump.tar' -C './taxdump' &&
#if $mode_conditional.blobdir.is_of_type("tgz")
- tar -zxf '${mode_conditional.blobdir}' -C './' &&
+ tar -zxf '${mode_conditional.blobdir}' -C './Blobdir' &&
#else
- tar -xf '${mode_conditional.blobdir}' -C './' &&
+ tar -xf '${mode_conditional.blobdir}' -C './Blobdir' &&
#end if
#if $mode_conditional.busco
ln -s '${mode_conditional.busco}' './busco_results.tab' &&
@@ -50,7 +52,7 @@
#end if
blobtools add
--threads \${GALAXY_SLOTS:-8}
- --taxdump './Blobdir/taxdump'
+ --taxdump './taxdump'
#if $mode_conditional.busco
--busco './busco_results.tab'
#end if
@@ -95,9 +97,15 @@
#end if
$mode_conditional.advanced_options.replace
'./Blobdir'
- && tar -zcf './Blobdir.tgz' './Blobdir'
+ && tar -C ./Blobdir -zcvf Blobdir.tgz .
#else if $mode_conditional.selector == 'filter'
+ mkdir -p './Blobdir' &&
+ #if $mode_conditional.blobdir.is_of_type("tgz")
+ tar -zxf '${mode_conditional.blobdir}' -C './Blobdir' &&
+ #else
+ tar -xf '${mode_conditional.blobdir}' -C './Blobdir' &&
+ #end if
#if $mode_conditional.filter_options.list
echo $mode_conditional.filter_options.list > id_list.txt &&
#end if
@@ -148,29 +156,7 @@
#end if
./Blobdir
#end if
- && tar -zcf './Blobdir.tgz' './Blobdir'
-
- #else if $mode_conditional.selector == 'plots'
- #if $mode_conditional.blobdir.is_of_type("tgz")
- tar -zxf '${mode_conditional.blobdir}' -C './' &&
- #else
- tar -xf '${mode_conditional.blobdir}' -C './' &&
- #end if
- blobtools view
- --format $mode_conditional.format
- --view 'blob'
- ./Blobdir
- && mv ./Blobdir.blob.circle* ./Blobdir.blob.circle
- && blobtools view
- --format $mode_conditional.format
- --view 'cumulative'
- ./Blobdir
- && mv ./Blobdir.cumulative* Blobdir.cumulative
- && blobtools view
- --format $mode_conditional.format
- --view 'snail'
- ./Blobdir
- && mv ./Blobdir.snail* Blobdir.snail
+ && tar -C ./Blobdir -zcvf Blobdir.tgz .
#end if
]]>
@@ -179,16 +165,16 @@
-
-
+
+
@@ -310,38 +296,12 @@
-
-
-
-
-
-
-
-
mode_conditional['selector'] == 'create' or mode_conditional['selector'] == 'add' or mode_conditional['selector'] == 'filter'
-
- mode_conditional['selector'] == 'plots'
-
-
-
-
-
- mode_conditional['selector'] == 'plots'
-
-
-
-
-
- mode_conditional['selector'] == 'plots'
-
-
-
-
@@ -352,12 +312,13 @@
-
+
+
@@ -374,7 +335,7 @@
-
+
@@ -391,20 +352,10 @@
-
-
-
-
-
-
-
-
-
-
@@ -419,7 +370,7 @@
@@ -427,6 +378,13 @@
`_.
+
]]>
-
\ No newline at end of file
+
diff -r 840822c1e84a -r 53dd00a4ab68 macros.xml
--- a/macros.xml Mon Mar 20 16:37:54 2023 +0000
+++ b/macros.xml Tue Mar 28 15:17:19 2023 +0000
@@ -1,6 +1,6 @@
4.0.7
- 0
+ 1
@@ -42,6 +42,8 @@
-
+
+
+
diff -r 840822c1e84a -r 53dd00a4ab68 test-data/test01_blobdir.tar.gz
Binary file test-data/test01_blobdir.tar.gz has changed
diff -r 840822c1e84a -r 53dd00a4ab68 test-data/test02_blobdir.tar.gz
Binary file test-data/test02_blobdir.tar.gz has changed