# HG changeset patch # User iuc # Date 1771503214 0 # Node ID 1663e897c832e43238d5e6c2d073e7c8562f1b48 # Parent 150ea60a4ebc9afa9b826b49f3bc9e1dc0b73c0a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/data_managers/data_manager_build_kraken2_database commit 797b5fc5c1b1eb7903c2ab681f399777b77501e3 diff -r 150ea60a4ebc -r 1663e897c832 data_manager/kraken2_build_database.xml --- a/data_manager/kraken2_build_database.xml Wed Nov 05 13:31:52 2025 +0000 +++ b/data_manager/kraken2_build_database.xml Thu Feb 19 12:13:34 2026 +0000 @@ -1,7 +1,7 @@ database builder - 2.1.6 + 2.17.1 0 24.0 @@ -56,7 +56,7 @@ #import datetime #import re -#set now = datetime.datetime.utcnow().strftime("%Y-%m-%dT%H%M%SZ") +#set now = datetime.datetime.now(datetime.UTC).strftime("%Y-%m-%dT%H%M%SZ") #set commands = [] mkdir '$out_file.extra_files_path' && @@ -75,6 +75,7 @@ 'pluspfp_16gb': "PlusPFP-16 (PlusPFP with DB capped at 16 GB)", } #set special_name = { + "core_nt_20251015": "Very large collection, inclusive of GenBank, RefSeq, TPA and PDB (October, 2025)", "core_nt_20250609": "Very large collection, inclusive of GenBank, RefSeq, TPA and PDB (July, 2025)", "core_nt_20241228": "Very large collection, inclusive of GenBank, RefSeq, TPA and PDB (December, 2024)", "core_nt_20240904": "Very large collection, inclusive of GenBank, RefSeq, TPA and PDB (September, 2024)", @@ -144,24 +145,21 @@ #end if #if $database_type.database_type == "custom" - #silent command = ["kraken2-build", "--threads", '"${GALAXY_SLOTS:-1}"', - "--download-taxonomy", + #silent command = ["k2", "download-taxonomy", "--db", "'" + $out_file.extra_files_path + "'/'" + database_value + "'", str($database_type.skip_maps)] #silent commands.append(" ".join(command)) - #silent command = ["kraken2-build", "--threads", '"${GALAXY_SLOTS:-1}"', - "--add-to-library", "'" + str($database_type.custom_fasta) + "'", + #silent command = ["k2", "add-to-library", "--threads", '"${GALAXY_SLOTS:-1}"', + "--file", "'" + str($database_type.custom_fasta) + "'", "--db", "'" + $out_file.extra_files_path + "'/'" + database_value + "'"] #silent commands.append(" ".join(command)) #end if - #silent command = ["kraken2-build", "--threads", '"${GALAXY_SLOTS:-1}"'] + #silent command = ["k2", "build", "--threads", '"${GALAXY_SLOTS:-1}"'] #if $database_type.database_type == "standard_local_build" #silent command.append("--standard") #else if $database_type.database_type == "special" #silent command.extend(["--special", str($database_type.special_database_type)]) - #else if $database_type.database_type == "custom" - #silent command.append("--build") #end if #silent command.extend([ "--kmer-len", str($database_type.kmer_len), @@ -172,8 +170,7 @@ #silent commands.append(" ".join(command)) #if $database_type.clean - #silent command = ["kraken2-build", "--threads", '"${GALAXY_SLOTS:-1}"', - "--clean", + #silent command = ["k2", "clean", "--db", "'" + $out_file.extra_files_path + "'/'" + database_value + "'"] #silent commands.append(" ".join(command)) #end if @@ -208,6 +205,7 @@ + @@ -220,6 +218,21 @@ + + + + + + + + + + + + + + + @@ -374,6 +387,7 @@ + @@ -382,6 +396,10 @@ + + + + @@ -460,13 +478,13 @@ - + - + @@ -487,7 +505,7 @@ - + @@ -508,7 +526,7 @@ - + @@ -529,7 +547,7 @@ - + @@ -551,7 +569,7 @@ - + @@ -570,7 +588,7 @@ - + @@ -594,7 +612,7 @@ - + @@ -615,7 +633,7 @@ - + @@ -636,6 +654,8 @@ + + @@ -656,7 +676,7 @@ - +