Repository 'ncbi_blast_plus'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus

Changeset 33:d999e774072a (2023-11-19)
Previous changeset 32:a52d2d93e595 (2023-10-26) Next changeset 34:b6893f57f8d8 (2024-02-22)
Commit message:
Fix for get_species_taxids
modified:
tools/ncbi_blast_plus/get_species_taxids.xml
tools/ncbi_blast_plus/ncbi_macros.xml
b
diff -r a52d2d93e595 -r d999e774072a tools/ncbi_blast_plus/get_species_taxids.xml
--- a/tools/ncbi_blast_plus/get_species_taxids.xml Thu Oct 26 12:25:07 2023 +0000
+++ b/tools/ncbi_blast_plus/get_species_taxids.xml Sun Nov 19 22:57:39 2023 +0000
[
@@ -7,17 +7,17 @@
     <command detect_errors="aggressive"><![CDATA[
 #if $type_cond.type_sel == 'names'
     #for name in $type_cond.names.split(',')
-        taxid=\$(get_species_taxids.sh -n '$name' | grep Taxid | sed 's/Taxid://') &&
-        if [ -z \$taxid ]; then
+        taxid=\$(get_species_taxids.sh -n '$name' | grep Taxid | sed 's/Taxid\s*:\s*//') &&
+        if [ -z "\$taxid" ]; then
             >&2 echo "could not find taxid for $name" && exit 1;
         else
             echo " $name -> \$taxid";
         fi &&
-        get_species_taxids.sh -t \$taxid >> species_ids.txt &&
+        get_species_taxids.sh -t "\$taxid" >> species_ids.txt &&
     #end for
 #else
     #for taxid in $type_cond.ids.split(',')
-       get_species_taxids.sh -t $taxid >> species_ids.txt &&
+       get_species_taxids.sh -t "$taxid" >> species_ids.txt &&
     #end for
 #end if
 sort -n -u  species_ids.txt > '$output'
b
diff -r a52d2d93e595 -r d999e774072a tools/ncbi_blast_plus/ncbi_macros.xml
--- a/tools/ncbi_blast_plus/ncbi_macros.xml Thu Oct 26 12:25:07 2023 +0000
+++ b/tools/ncbi_blast_plus/ncbi_macros.xml Sun Nov 19 22:57:39 2023 +0000
b
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">2.14.1</token>
-    <token name="@VERSION_SUFFIX@">0</token>
+    <token name="@VERSION_SUFFIX@">1</token>
     <token name="@PROFILE@">16.10</token>
     <xml name="parallelism">
         <!-- If job splitting is enabled, break up the query file into parts -->