Closed nashanghenzan closed 1 year ago
I have also had issues with failing to build a database, though for different reasons. On a ubuntu machine with 64 cores and 500 GB RAM, I ran Kraken2/kraken2-build --standard --db krakendb --threads 40
. The output from nohup.out is as follows:
Downloading nucleotide gb accession to taxon map... done. Downloading nucleotide wgs accession to taxon map... done. Downloaded accession to taxon map(s) Downloading taxonomy tree data... done. Uncompressing taxonomy data... done. Untarring taxonomy tree data... done. Step 1/2: Performing rsync file transfer of requested files Rsync file transfer complete. Step 2/2: Assigning taxonomic IDs to sequences All files processed, cleaning up extra sequence files... done, library complete. Masking low-complexity regions of downloaded library... done. Step 1/2: Performing rsync file transfer of requested files Rsync file transfer complete. Step 2/2: Assigning taxonomic IDs to sequences All files processed, cleaning up extra sequence files... done, library complete. Masking low-complexity regions of downloaded library... done. Step 1/2: Performing rsync file transfer of requested files Rsync file transfer complete. Step 2/2: Assigning taxonomic IDs to sequences All files processed, cleaning up extra sequence files... done, library complete. Masking low-complexity regions of downloaded library... done. Downloading plasmid files from FTP...awk: fatal: cannot open file
.listing' for reading (No such file or directory)`
Everything appears to have worked until the final line. Is .listing
a temporary file being deleted prematurely?
that final codes just show the final codes in build_kraken2_db.sh script,actually i didn't see that files in my directory.
Is .listing
a file that used to be obtained through FTP? Seeing as NCBI FTP has undergone changes recently, does this need to be changed?
thanks for your reply, today i find that i can build database when i remove bacteria(141G). it maybe because i haven't enough memory before.
because i just have 64G ram, so i finally build db successfully for use --max-db-size 51
when I write
kraken2-build --build --threads 15 --db ./
, finally I just got two files in my directory: seqid2taxid.map and taxo.k2d.tmp. I don't know why it happened, the fallowing is detail.