HadrienG / taxadb

:hatching_chick: locally query the ncbi taxonomy
http://taxadb.readthedocs.io/
MIT License
39 stars 16 forks source link

Error creating database #84

Open ngilber3 opened 4 years ago

ngilber3 commented 4 years ago

Hello, I am getting an error that I cannot troubleshoot when creating the database.

I first ran: taxadb download -o taxadb -t prot

Then: taxadb create -i taxadb --dbname taxadb.sqlite

It returns this: INFO:taxadb.app:Parsing files INFO:taxadb.parser.TaxaDumpParser:Parsed nodes.dmp INFO:taxadb.parser.TaxaDumpParser:Parsed names.dmp INFO:taxadb.app:Inserting taxonomy data INFO:taxadb.app: 0 chunks [00:00, ? chunks/s]

ERROR:taxadb.app:sqlite3 error: too many SQL variables ERROR:taxadb.app:Maybe retry with a lower chunk size.

I'm not sure what is wrong here. I appreciate any help, thanks!

bosborne commented 4 years ago

Try something like:

taxadb create -i taxadb --dbname taxadb.sqlite --chunk 100