GithubHelp home page GithubHelp logo

Comments (2)

DJFast avatar DJFast commented on August 11, 2024 2

In case anyone comes across this and needs help, the problem here is that nucl_gb.accession2taxid.gz & nucl_wgs.accession2taxid.gz did not expand properly. The /taxonomy folder should look like this

-rw-r--r-- 1 root root 0 Feb 8 14:59 accmap.dlflag
-rw-r--r-- 1 9019 583 18744141 Feb 8 14:28 citations.dmp
-rw-r--r-- 1 9019 583 4184929 Feb 8 14:26 delnodes.dmp
-rw-r--r-- 1 9019 583 452 Feb 8 14:20 division.dmp
-rw-r--r-- 1 9019 583 16444 Feb 8 14:28 gc.prt
-rw-r--r-- 1 9019 583 4921 Feb 8 14:20 gencode.dmp
-rw-r--r-- 1 9019 583 1137217 Feb 8 14:26 merged.dmp
-rw-r--r-- 1 9019 583 204014115 Feb 8 14:28 names.dmp
-rw-r--r-- 1 9019 583 158489092 Feb 8 14:27 nodes.dmp
-rw-r--r-- 1 root root 10328418345 Feb 8 14:53 nucl_gb.accession2taxid
-rw-r--r-- 1 root root 23100102487 Feb 8 14:59 nucl_wgs.accession2taxid
-rw-rw---- 1 4544 583 2666 Sep 11 2019 readme.txt
-rw-r--r-- 1 root root 0 Feb 8 14:59 taxdump.dlflag
-rw-r--r-- 1 root root 54437067 Feb 8 14:59 taxdump.tar.gz
-rw-r--r-- 1 root root 0 Feb 8 15:03 taxdump.untarflag

My solution, was to delete everything and start again. However, this time when I did
$kraken2-build --download-taxonomy --db $DBNAME the outupt didn't have a unzip error that I previously just glanced over.

from kraken.

andreavillota avatar andreavillota commented on August 11, 2024

Hello,
I am trying to create a plant data base, however, when I am using obiconvert, I have this error:

obiconvert --embl -t ./TAXO --ecopcrdb-output=embl_last ./EMBL/*.dat
[Errno 2] No such file or directory: './TAXO/nodes.dmp'
Exception ignored in: <function EcoPCRDBSequenceWriter.del at 0x7f2e5b5b4700>
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/obitools/ecopcr/sequence.py", line 180, in del
self.close()
File "/usr/lib/python3/dist-packages/obitools/ecopcr/sequence.py", line 149, in close
self._file.seek(0,0)
AttributeError: 'EcoPCRDBSequenceWriter' object has no attribute '_file'

I checked, and nodes.dmp is present in the TAXO file:

drwxr-xr-x 1 root root 4096 Mar 17 10:23 ./
drwxr-xr-x 1 501 staff 4096 Mar 17 09:45 ../
-rw-r--r-- 1 9019 583 19071824 Dec 16 14:28 citations.dmp
-rw-r--r-- 1 9019 583 4289335 Dec 16 14:25 delnodes.dmp
-rw-r--r-- 1 9019 583 452 Dec 16 14:20 division.dmp
-rw-r--r-- 1 9019 583 16444 Dec 16 14:28 gc.prt
-rw-r--r-- 1 9019 583 4921 Dec 16 14:20 gencode.dmp
-rw-r--r-- 1 9019 583 1217034 Dec 16 14:25 merged.dmp
-rw-r--r-- 1 9019 583 213788465 Dec 16 14:28 names.dmp
-rw-r--r-- 1 9019 583 164065373 Dec 16 14:27 nodes.dmp
-rw-rw---- 1 4544 583 2666 Sep 11 2019 readme.txt
-rw-r--r-- 1 root root 56908554 Dec 16 15:29 taxdump.tar.gz
-rw-r--r-- 1 root root 88 Dec 16 15:29 taxdump.tar.gz:Zone.Identifier

I would greatly appreciate your help,

Regards,

Andrea

from kraken.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.