# HG changeset patch
# User iuc
# Date 1745327517 0
# Node ID 8ef19ca5d289ae617e076cd108cc1ea827992cce
# Parent 709faa13c793beaf5931c55d406afaa298dbe02d
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_fetch_busco/ commit 32f1099f18b41bf1efd1a039daf732809c77269e
diff -r 709faa13c793 -r 8ef19ca5d289 data_manager/busco_fetcher.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/data_manager/busco_fetcher.xml Tue Apr 22 13:11:57 2025 +0000
@@ -0,0 +1,74 @@
+
+ dataset dowloader
+
+ 5.8.0
+ 1
+
+
+ busco
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This tool downloads the BUSCO databases.
+
+ 10.1093/bioinformatics/btv351
+
+
diff -r 709faa13c793 -r 8ef19ca5d289 data_manager/busco_options.xml
--- a/data_manager/busco_options.xml Fri Apr 04 11:18:19 2025 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-
-
-
- 5.8.0
- 0
-
-
- busco
-
- /dev/null &&
- #set db_path="./test"
- #else
- #set db_path=$cached_db.fields.path
- #end if
- python '$__tool_directory__/extract.py' '$db_path' '$cached_db' '$out_file'
- ]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- This tool determines the possible choices of BUSCO lineages in a given BUSCO DB.
-
- 10.1093/bioinformatics/btv351
-
-
diff -r 709faa13c793 -r 8ef19ca5d289 data_manager/extract.py
--- a/data_manager/extract.py Fri Apr 04 11:18:19 2025 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-import json
-import os
-import re
-import sys
-
-busco_db = os.path.join(sys.argv[1], "lineages")
-busco_db_value = sys.argv[2]
-dmjson = sys.argv[3]
-
-content = []
-for d in os.scandir(busco_db):
- if not d.is_dir():
- continue
- if not os.path.exists(os.path.join(d, "dataset.cfg")):
- continue
- name = re.sub(r"_odb\d+", "", d.name)
- name = name.replace("_", " ").capitalize()
- content.append({'value': d.name, 'name': name, 'db_value': busco_db_value})
-
-with open(dmjson, "w") as fh:
- json.dump({"data_tables": {"busco_database_options": content}}, fh)
-
-print(f'{len(content)} x busco_db\n')
diff -r 709faa13c793 -r 8ef19ca5d289 data_manager_conf.xml
--- a/data_manager_conf.xml Fri Apr 04 11:18:19 2025 +0000
+++ b/data_manager_conf.xml Tue Apr 22 13:11:57 2025 +0000
@@ -1,12 +1,18 @@
-
-
+
+
-
diff -r 709faa13c793 -r 8ef19ca5d289 test-data/busco_database.loc
--- a/test-data/busco_database.loc Fri Apr 04 11:18:19 2025 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-test test name test test
\ No newline at end of file
diff -r 709faa13c793 -r 8ef19ca5d289 test-data/busco_database_options.loc
--- a/test-data/busco_database_options.loc Fri Apr 04 11:18:19 2025 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-iridoviridae_odb10 Iridoviridae test
-betabaculovirus_odb10 Betabaculovirus test
-betaherpesvirinae_odb10 Betaherpesvirinae test
-skunavirus_odb10 Skunavirus test
-chordopoxvirinae_odb10 Chordopoxvirinae test
-alphabaculovirus_odb10 Alphabaculovirus test
-rudiviridae_odb10 Rudiviridae test
-tevenvirinae_odb10 Tevenvirinae test
-tunavirinae_odb10 Tunavirinae test
-varicellovirus_odb10 Varicellovirus test
-pahexavirus_odb10 Pahexavirus test
-guernseyvirinae_odb10 Guernseyvirinae test
-baculoviridae_odb10 Baculoviridae test
-alphaherpesvirinae_odb10 Alphaherpesvirinae test
-spounavirinae_odb10 Spounavirinae test
-peduovirus_odb10 Peduovirus test
-enquatrovirus_odb10 Enquatrovirus test
-teseptimavirus_odb10 Teseptimavirus test
-gammaherpesvirinae_odb10 Gammaherpesvirinae test
-herpesviridae_odb10 Herpesviridae test
-cheoctovirus_odb10 Cheoctovirus test
-poxviridae_odb10 Poxviridae test
-fromanvirus_odb10 Fromanvirus test
-bclasvirinae_odb10 Bclasvirinae test
-simplexvirus_odb10 Simplexvirus test
-tequatrovirus_odb10 Tequatrovirus test
-aviadenovirus_odb10 Aviadenovirus test
-iridoviridae_odb10 Iridoviridae test
-betabaculovirus_odb10 Betabaculovirus test
-betaherpesvirinae_odb10 Betaherpesvirinae test
-skunavirus_odb10 Skunavirus test
-chordopoxvirinae_odb10 Chordopoxvirinae test
-alphabaculovirus_odb10 Alphabaculovirus test
-rudiviridae_odb10 Rudiviridae test
-tevenvirinae_odb10 Tevenvirinae test
-tunavirinae_odb10 Tunavirinae test
-varicellovirus_odb10 Varicellovirus test
-pahexavirus_odb10 Pahexavirus test
-guernseyvirinae_odb10 Guernseyvirinae test
-baculoviridae_odb10 Baculoviridae test
-alphaherpesvirinae_odb10 Alphaherpesvirinae test
-spounavirinae_odb10 Spounavirinae test
-peduovirus_odb10 Peduovirus test
-enquatrovirus_odb10 Enquatrovirus test
-teseptimavirus_odb10 Teseptimavirus test
-gammaherpesvirinae_odb10 Gammaherpesvirinae test
-herpesviridae_odb10 Herpesviridae test
-cheoctovirus_odb10 Cheoctovirus test
-poxviridae_odb10 Poxviridae test
-fromanvirus_odb10 Fromanvirus test
-bclasvirinae_odb10 Bclasvirinae test
-simplexvirus_odb10 Simplexvirus test
-tequatrovirus_odb10 Tequatrovirus test
-aviadenovirus_odb10 Aviadenovirus test
-iridoviridae_odb10 Iridoviridae test
-betabaculovirus_odb10 Betabaculovirus test
-betaherpesvirinae_odb10 Betaherpesvirinae test
-skunavirus_odb10 Skunavirus test
-chordopoxvirinae_odb10 Chordopoxvirinae test
-alphabaculovirus_odb10 Alphabaculovirus test
-rudiviridae_odb10 Rudiviridae test
-tevenvirinae_odb10 Tevenvirinae test
-tunavirinae_odb10 Tunavirinae test
-varicellovirus_odb10 Varicellovirus test
-pahexavirus_odb10 Pahexavirus test
-guernseyvirinae_odb10 Guernseyvirinae test
-baculoviridae_odb10 Baculoviridae test
-alphaherpesvirinae_odb10 Alphaherpesvirinae test
-spounavirinae_odb10 Spounavirinae test
-peduovirus_odb10 Peduovirus test
-enquatrovirus_odb10 Enquatrovirus test
-teseptimavirus_odb10 Teseptimavirus test
-gammaherpesvirinae_odb10 Gammaherpesvirinae test
-herpesviridae_odb10 Herpesviridae test
-cheoctovirus_odb10 Cheoctovirus test
-poxviridae_odb10 Poxviridae test
-fromanvirus_odb10 Fromanvirus test
-bclasvirinae_odb10 Bclasvirinae test
-simplexvirus_odb10 Simplexvirus test
-tequatrovirus_odb10 Tequatrovirus test
-aviadenovirus_odb10 Aviadenovirus test
diff -r 709faa13c793 -r 8ef19ca5d289 tool-data/busco_database.loc.sample
--- a/tool-data/busco_database.loc.sample Fri Apr 04 11:18:19 2025 +0000
+++ b/tool-data/busco_database.loc.sample Tue Apr 22 13:11:57 2025 +0000
@@ -5,4 +5,4 @@
# - name
# - version
# - /path/to/data
-#virus_lineage_1.0 Virus_Lineage_1.0 5.4.6 /path/to/data
\ No newline at end of file
+#virus_lineage_1.0 Virus_lineage_1.0 5.4.6 /path/to/data
\ No newline at end of file
diff -r 709faa13c793 -r 8ef19ca5d289 tool-data/busco_database_options.loc.sample
--- a/tool-data/busco_database_options.loc.sample Fri Apr 04 11:18:19 2025 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-#This is a sample file distributed with Galaxy that enables tools
-#to use fill the select for the available BUSCO lineages
-#file has this format (white space characters are TAB characters)
-# - value: value used in the options
-# - name: name shown to the user in options
-# - db_value: the id/value of the busco db (in the busco_database data table)
\ No newline at end of file
diff -r 709faa13c793 -r 8ef19ca5d289 tool_data_table_conf.xml.sample
--- a/tool_data_table_conf.xml.sample Fri Apr 04 11:18:19 2025 +0000
+++ b/tool_data_table_conf.xml.sample Tue Apr 22 13:11:57 2025 +0000
@@ -3,8 +3,4 @@
value, name, version, path
-