From c78bd5eafa3d9450305cc8b32ba9cf8c64c42ba7 Mon Sep 17 00:00:00 2001 From: M Bernt Date: Mon, 18 Nov 2024 16:11:23 +0100 Subject: [PATCH] DMs: download data to extra_file_path (#71) * DMs download data to extra_file_path * fix zenodo link * add lint skip for virsorter * fix plural * implement test mode for virsorter --- .../data_manager/checkv_datamanager.xml | 5 ++-- .../data_manager/genomad_datamanager.xml | 4 ++- .../data_manager/iphop_datamanager.xml | 6 ++--- .../data_manager/phabox_datamanager.xml | 4 ++- .../data_manager/vibrant_datamanager.xml | 5 ++-- .../data_manager_virsorter/.lint_skip | 1 + .../data_manager/virsorter_datamanager.xml | 27 +++++++++++++++---- 7 files changed, 38 insertions(+), 14 deletions(-) create mode 100644 data_managers/data_manager_virsorter/.lint_skip diff --git a/data_managers/data_manager_checkv/data_manager/checkv_datamanager.xml b/data_managers/data_manager_checkv/data_manager/checkv_datamanager.xml index a2ba3f09..0b4d82b7 100644 --- a/data_managers/data_manager_checkv/data_manager/checkv_datamanager.xml +++ b/data_managers/data_manager_checkv/data_manager/checkv_datamanager.xml @@ -2,7 +2,7 @@ database builder 1.0.3 - 1 + 2 22.01 @@ -16,7 +16,8 @@ cd checkv-db-v${version}/genome_db/ && diamond makedb --in checkv_reps.faa --db checkv_reps && cd - && - mv checkv-db-v${version} checkv-db && + mkdir -p '$out_file.extra_files_path' && + mv checkv-db-v${version} '$out_file.extra_files_path'/checkv-db && cp '$dmjson' '$out_file' ]]> diff --git a/data_managers/data_manager_genomad/data_manager/genomad_datamanager.xml b/data_managers/data_manager_genomad/data_manager/genomad_datamanager.xml index 02f6196e..a40f30e8 100644 --- a/data_managers/data_manager_genomad/data_manager/genomad_datamanager.xml +++ b/data_managers/data_manager_genomad/data_manager/genomad_datamanager.xml @@ -3,7 +3,7 @@ database builder 1.8.0 - 0 + 1 22.01 @@ -18,6 +18,8 @@ https://zenodo.org/records/10594875/files/genomad_db_v${version}.tar.gz?download=1 ## #end if | tar -xzv && + mkdir -p '$out_file.extra_files_path' && + mv genomad_db '$out_file.extra_files_path' && cp '$dmjson' '$out_file' ]]> diff --git a/data_managers/data_manager_iphop/data_manager/iphop_datamanager.xml b/data_managers/data_manager_iphop/data_manager/iphop_datamanager.xml index e4da3219..409b6726 100644 --- a/data_managers/data_manager_iphop/data_manager/iphop_datamanager.xml +++ b/data_managers/data_manager_iphop/data_manager/iphop_datamanager.xml @@ -2,16 +2,16 @@ database builder 1.3.3 - 1 + 2 22.01 iphop 2.1.5 2 - 0 + 1 22.01 @@ -13,6 +13,8 @@ diff --git a/data_managers/data_manager_vibrant/data_manager/vibrant_datamanager.xml b/data_managers/data_manager_vibrant/data_manager/vibrant_datamanager.xml index 84fdbbcf..9cddc24b 100644 --- a/data_managers/data_manager_vibrant/data_manager/vibrant_datamanager.xml +++ b/data_managers/data_manager_vibrant/data_manager/vibrant_datamanager.xml @@ -2,7 +2,7 @@ database builder 1.2.1 - 0 + 1 22.01 @@ -13,7 +13,8 @@ diff --git a/data_managers/data_manager_virsorter/.lint_skip b/data_managers/data_manager_virsorter/.lint_skip new file mode 100644 index 00000000..c28a1b42 --- /dev/null +++ b/data_managers/data_manager_virsorter/.lint_skip @@ -0,0 +1 @@ +InputsMissing \ No newline at end of file diff --git a/data_managers/data_manager_virsorter/data_manager/virsorter_datamanager.xml b/data_managers/data_manager_virsorter/data_manager/virsorter_datamanager.xml index eca1cb36..674af9da 100644 --- a/data_managers/data_manager_virsorter/data_manager/virsorter_datamanager.xml +++ b/data_managers/data_manager_virsorter/data_manager/virsorter_datamanager.xml @@ -3,9 +3,9 @@ database builder 2.2.4 - 0 + 1 22.01 - @@ -37,12 +42,15 @@ }]]> - + + + + @@ -50,9 +58,18 @@ + 10.1186/s40168-020-00990-y