# HG changeset patch # User iuc # Date 1717074397 0 # Node ID a5921c09b7b7e44d8d9d8ab4c44c5d44641a0f93 # Parent 592ef39599075dc32a5d1bae8d54acbb139a4515 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_amrfinderplus commit 991998a3bb25e0059a8441975c652c7a75063709 diff -r 592ef3959907 -r a5921c09b7b7 data_manager/data_manager_build_amrfinderplus.py --- a/data_manager/data_manager_build_amrfinderplus.py Sun Apr 16 08:29:18 2023 +0000 +++ b/data_manager/data_manager_build_amrfinderplus.py Thu May 30 13:06:37 2024 +0000 @@ -15,7 +15,7 @@ """ def __init__(self, - amrfinderplus_database="amrfinderplus_database", + amrfinderplus_database="amrfinderplus_versioned_database", db_name="amrfinderplus-db", amrfinderplus_version="latest", date_version=None): @@ -50,6 +50,7 @@ f"-{self._amrfinderplus_date_version}" data_info = dict(value=amrfinderplus_value, name=amrfinderplus_name, + db_version=self._amrfinderplus_version, path=self._db_name) self.amrfinderplus_table_list["data_tables"][self.data_table_name] = [data_info] return self.amrfinderplus_table_list @@ -110,8 +111,6 @@ """ self.amrfinderplus_db_path = f'{self._output_dir}/{self._db_name}' os.makedirs(self.amrfinderplus_db_path) - if self._amrfinderplus_version == 'latest': - self.get_amrfinderplus_version() amrfinderplus_ftp_path = f"ftp://{self._login}:" \ f"{self._password}@{self._ncbi_ftp_url}/" \ diff -r 592ef3959907 -r a5921c09b7b7 data_manager/data_manager_build_amrfinderplus.xml --- a/data_manager/data_manager_build_amrfinderplus.xml Sun Apr 16 08:29:18 2023 +0000 +++ b/data_manager/data_manager_build_amrfinderplus.xml Thu May 30 13:06:37 2024 +0000 @@ -1,62 +1,28 @@ - AMRfinderplus database builder + AMRFinderPlus database builder macro.xml - - - - - + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -73,24 +39,31 @@ - + + - + - - + + - + + + + + + + + + - - 10.1038/s41598-021-91456-0 diff -r 592ef3959907 -r a5921c09b7b7 data_manager/macro.xml --- a/data_manager/macro.xml Sun Apr 16 08:29:18 2023 +0000 +++ b/data_manager/macro.xml Thu May 30 13:06:37 2024 +0000 @@ -1,6 +1,6 @@ - 3.10.45 + 3.12.8 3.10.6 1.5.1 0 diff -r 592ef3959907 -r a5921c09b7b7 data_manager_conf.xml --- a/data_manager_conf.xml Sun Apr 16 08:29:18 2023 +0000 +++ b/data_manager_conf.xml Thu May 30 13:06:37 2024 +0000 @@ -1,7 +1,7 @@ - + diff -r 592ef3959907 -r a5921c09b7b7 test-data/amrfinderplus.loc.test --- a/test-data/amrfinderplus.loc.test Sun Apr 16 08:29:18 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -# this is a tab separated file describing the location of amrfinderplus database -# -# the columns are: -# value, name, path -# -# for example -amrfinderplus_V3.10_2022-10-11.2 V3.10-2022-10-11.2 amrfinderplus-db -amrfinderplus_V3.6_2020-03-20.1 V3.6-2020-03-20.1 amrfinderplus-db diff -r 592ef3959907 -r a5921c09b7b7 test-data/amrfinderplus_test_data_manager_2.json --- a/test-data/amrfinderplus_test_data_manager_2.json Sun Apr 16 08:29:18 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -{"data_tables": {"amrfinderplus_database": [{"name": "V3.6-2020-03-20.1", "path": "amrfinderplus-db", "value": "amrfinderplus_V3.6_2020-03-20.1"}]}} \ No newline at end of file diff -r 592ef3959907 -r a5921c09b7b7 test-data/amrfinderplus_versioned.loc.test --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/amrfinderplus_versioned.loc.test Thu May 30 13:06:37 2024 +0000 @@ -0,0 +1,10 @@ +# this is a tab separated file describing the location of amrfinderplus database +# +# the columns are: +# value, name, db_version, path +# +# for example +amrfinderplus_V3.12_2024-05-02.2 V3.12-2024-05-02.2 3.12 amrfinderplus-db +amrfinderplus_V3.12_2024-01-31.1 V3.12-2024-01-31.1 3.12 amrfinderplus-db +amrfinderplus_V3.12_2024-05-02.2 V3.12-2024-05-02.2 3.12 /private/var/folders/7j/21czvpk170zcyjdbqrp0hmsh0000gn/T/tmp3d_yq23a/galaxy-dev/tool-data/amrfinderplus-db/amrfinderplus_V3.12_2024-05-02.2 +amrfinderplus_V3.12_2024-01-31.1 V3.12-2024-01-31.1 3.12 /private/var/folders/7j/21czvpk170zcyjdbqrp0hmsh0000gn/T/tmp3d_yq23a/galaxy-dev/tool-data/amrfinderplus-db/amrfinderplus_V3.12_2024-01-31.1 diff -r 592ef3959907 -r a5921c09b7b7 tool-data/amrfinderplus.loc.sample --- a/tool-data/amrfinderplus.loc.sample Sun Apr 16 08:29:18 2023 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -# this is a tab separated file describing the location of amrfinderplus database -# -# the columns are: -# value, name, path -# -# for example -#amrfinderplus_V3.6_2020-03-20.1 V3.6-2020-03-20.1 amrfinderplus-db diff -r 592ef3959907 -r a5921c09b7b7 tool-data/amrfinderplus_versioned.loc.sample --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool-data/amrfinderplus_versioned.loc.sample Thu May 30 13:06:37 2024 +0000 @@ -0,0 +1,7 @@ +# this is a tab separated file describing the location of amrfinderplus database +# +# the columns are: +# value, name, db_version, path +# +# for example +#amrfinderplus_V3.12_2024-05-02.2 V3.12-2024-05-02.2 3.12 amrfinderplus-db diff -r 592ef3959907 -r a5921c09b7b7 tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Sun Apr 16 08:29:18 2023 +0000 +++ b/tool_data_table_conf.xml.sample Thu May 30 13:06:37 2024 +0000 @@ -1,7 +1,7 @@ - - value, name, path - +
+ value, name, db_version, path +
\ No newline at end of file diff -r 592ef3959907 -r a5921c09b7b7 tool_data_table_conf.xml.test --- a/tool_data_table_conf.xml.test Sun Apr 16 08:29:18 2023 +0000 +++ b/tool_data_table_conf.xml.test Thu May 30 13:06:37 2024 +0000 @@ -1,7 +1,7 @@ - - value, name, path - +
+ value, name, db_version, path +