# HG changeset patch
# User peterjc
# Date 1648565642 0
# Node ID acf4e47b734cea8cd712535a152837fcb8a29823
# Parent 5edc472ec434a4b293e6c25bdec1fa3c399e071f
"2.10.1+galaxy1 with taxid improvements"
diff -r 5edc472ec434 -r acf4e47b734c tools/ncbi_blast_plus/README.rst
--- a/tools/ncbi_blast_plus/README.rst Thu Sep 10 13:23:34 2020 +0000
+++ b/tools/ncbi_blast_plus/README.rst Tue Mar 29 14:54:02 2022 +0000
@@ -136,6 +136,15 @@
============== ===============================================================
Version Changes
-------------- ---------------------------------------------------------------
+2.10.1+galaxy1 - Add tool `NCBI get species taxids` that wraps NCBI's
+ `get_species_taxids.sh` script
+ (https://www.ncbi.nlm.nih.gov/books/NBK546209/).
+ It allows to determine all species taxids below a certain
+ Taxon.
+ - Add the possibility to restrict BLAST searches taxonomically
+ by species taxids given in a file.
+ - Properly quote cached databases
+ - Make locally installed database selector non-optional.
2.10.1+galaxy0 - Updated for NCBI BLAST+ 2.10.1 release.
- Supports locally installed v4 or v5 format BLAST databases
(listed in the ``blastdb*.loc`` files).
@@ -248,6 +257,15 @@
- Supports setting a taxonomy ID in ``makeblastdb`` wrapper.
- Subtle changes like new conditional settings will require some old
workflows be updated to cope.
+v0.0.22 - More use of macros to simplify the wrappers.
+ - Set number of threads via ``$GALAXY_SLOTS`` environment variable.
+ - More descriptive default output names.
+ - Tests require updated BLAST DB definitions (``blast_datatypes``
+ v0.0.18).
+ - Pre-check for duplicate identifiers in ``makeblastdb`` wrapper.
+ - Tests updated for BLAST+ 2.2.28 instead of BLAST+ 2.2.27.
+ - Now depends on ``package_blast_plus_2_2_28`` in ToolShed.
+ - Extended tabular output includes 'salltitles' as column 25.
v0.0.21 - Use macros to simplify the XML wrappers (by John Chilton).
- Added wrapper for dustmasker.
- Enabled masking for makeblastdb (Nicola Soranzo).
@@ -288,15 +306,6 @@
e-values
v0.0.11 - Final revision as part of the Galaxy main repository, and the
first release via the Tool Shed
-v0.0.22 - More use of macros to simplify the wrappers.
- - Set number of threads via ``$GALAXY_SLOTS`` environment variable.
- - More descriptive default output names.
- - Tests require updated BLAST DB definitions (``blast_datatypes``
- v0.0.18).
- - Pre-check for duplicate identifiers in ``makeblastdb`` wrapper.
- - Tests updated for BLAST+ 2.2.28 instead of BLAST+ 2.2.27.
- - Now depends on ``package_blast_plus_2_2_28`` in ToolShed.
- - Extended tabular output includes 'salltitles' as column 25.
======= ======================================================================
diff -r 5edc472ec434 -r acf4e47b734c tools/ncbi_blast_plus/get_species_taxids.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/ncbi_blast_plus/get_species_taxids.xml Tue Mar 29 14:54:02 2022 +0000
@@ -0,0 +1,106 @@
+
+
+
+ ncbi_macros.xml
+
+
+ &2 echo "could not find taxid for $name" && exit 1;
+ else
+ echo " $name -> \$taxid";
+ fi &&
+ 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 &&
+ #end for
+#end if
+sort -n -u species_ids.txt > '$output'
+ ]]>
+
+
+
+
+
+
+
+
+ [a-zA-Z ,]+$
+
+
+
+
+ [0-9,]+$
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+**What it does**
+
+Returns a list of species taxids for a taxon. It relies on the get_species_taxids.sh script of the BLAST+ package https://www.ncbi.nlm.nih.gov/books/NBK546209/
+
+-------
+
+**References**
+
+If you use this Galaxy tool in work leading to a scientific publication please
+cite the following papers:
+
+@REFERENCES@
+
+
+
diff -r 5edc472ec434 -r acf4e47b734c tools/ncbi_blast_plus/ncbi_macros.xml
--- a/tools/ncbi_blast_plus/ncbi_macros.xml Thu Sep 10 13:23:34 2020 +0000
+++ b/tools/ncbi_blast_plus/ncbi_macros.xml Tue Mar 29 14:54:02 2022 +0000
@@ -1,6 +1,6 @@
2.10.1
- 0
+ 116.10
@@ -353,7 +353,7 @@
-
+
@@ -381,7 +381,7 @@
-
+
@@ -452,7 +452,7 @@
-
+
@@ -558,6 +558,8 @@
+
+
@@ -572,8 +574,17 @@
+
+
+
+
+
+
+
@@ -621,7 +636,7 @@