KOFFI ANDERSON HONGO (Bboy)
12/19/2025, 8:54 PMdu -sh nr.gz
187G nr.gz
(base) blackboy@LAPTOP-814NSMMO:~/db$ gunzip -c nr.gz \
| sed '/^>/s/ .*//' \
| diamond makedb \
--taxonmap prot.accession2taxid.FULL.gz \
--taxonnames names.dmp \
--taxonnodes nodes.dmp \
--db ncbi-nr.taxonomy.dmnd
diamond v2.1.8.162 (C) Max Planck Society for the Advancement of Science, Benjamin Buchfink, University of Tuebingen
Documentation, support and updates available at <http://www.diamondsearch.org>
Please cite: <http://dx.doi.org/10.1038/s41592-021-01101-x> Nature Methods (2021)
#CPU threads: 4
Scoring parameters: (Matrix=BLOSUM62 Lambda=0.267 K=0.041 Penalties=11/1)
Input file parameter (--in) is missing. Input will be read from stdin.
Opening the database file... [0.049s]
Loading sequences...
gzip: nr.gz: invalid compressed data--format violated
Error: Error reading input stream at line 206466: Invalid character ( ) in sequenceDaniel Lundin
12/21/2025, 7:58 AMwget -c that can take up an interrupted download again (depends on the remote). RefSeq is quite a bit smaller and good enough for taxonomy in our pipeline.KOFFI ANDERSON HONGO (Bboy)
01/06/2026, 10:40 AMDaniel Lundin
01/07/2026, 9:23 AMblastdbcmd to extract a fasta file from it. Since that's more complicated than using the nr.gz file I would start by trying to download the file again, using -c to make sure the download is retried if it fails.