Skip to content

Commit

Permalink
Updated BLAST+ default DB version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
biologger committed Feb 6, 2020
1 parent b7c5f1f commit 9b37fc9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docs/pipelinesetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ To download the database with the update_blastdb perl script just click on the S

#### Troubleshooting:
The script changes to the "/blastdb" directory in the container and runs the command below
(the default version of BLAST DBs for BLAST+ is 5)

$ update_blastdb.pl --passive --decompress --blastdb_version 5 nt_v5
$ update_blastdb.pl --passive --decompress nt

To get possible hints or error messages you can run this command from a docker terminal.

Expand All @@ -24,7 +25,7 @@ __Example__
* __Container__

$ cd /blastdb
$ update_blastdb.pl --passive --decompress --blastdb_version 5 nt_v5
$ update_blastdb.pl --passive --decompress nt

As an alternative the python script __getblastdb.py__ can be used.

Expand Down
6 changes: 3 additions & 3 deletions pipeline/gui/app/templates/blastdb.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<h2> BLAST DB download (getblastdb.py)</h2>
<p>
Download the nt_v5 BLAST DB (>60 GB) or the ref_prok_rep_genomes DB (~7 GB)
Download the nt BLAST DB (>60 GB) or the ref_prok_rep_genomes DB (~7 GB)
<br>
<br>
{{ form.whichdb() }} {{ form.whichdb.label }}
Expand All @@ -25,7 +25,7 @@ <h2> BLAST DB download (getblastdb.py)</h2>
{{ form.get_blastdb() }}
</p>
<p>
Update the taxid list for the BLAST search with the nt BLAST database Version 5
Update the taxid list for the BLAST search with the BLAST database Version 5 option
<br>
<br>
{{ form.update_txids() }}
Expand All @@ -38,7 +38,7 @@ <h3>Download the database with the NCBI update_blastdb perl script</h3>
This may take some hours...
<br>
<br>
(update_blastdb.pl --passive --decompress --blastdb_version 5 nt_v5)
(update_blastdb.pl --passive --decompress nt)
<br>
<br>
{{ form.update_blastdb() }}
Expand Down
4 changes: 1 addition & 3 deletions pipeline/gui/daemon/daemonclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ def command(self):
level=logging.DEBUG, format="%(message)s")
blastdb_dir = "/blastdb"
os.chdir(blastdb_dir)
command = [
"update_blastdb.pl", "--passive", "--decompress",
"--blastdb_version", "5", "nt"]
command = ["update_blastdb.pl", "--passive", "--decompress", "nt"]
process = subprocess.Popen(
command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

Expand Down
2 changes: 1 addition & 1 deletion pipeline/speciesprimer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3981,7 +3981,7 @@ def commandline():
"The current settings files will be overwritten")
# Version
parser.add_argument(
"-V", "--version", action="version", version="%(prog)s 2.1.1")
"-V", "--version", action="version", version="%(prog)s 2.1.2")
return parser


Expand Down

0 comments on commit 9b37fc9

Please sign in to comment.