Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working with fresh install #71

Closed
pedres opened this issue Dec 29, 2024 · 1 comment
Closed

not working with fresh install #71

pedres opened this issue Dec 29, 2024 · 1 comment

Comments

@pedres
Copy link

pedres commented Dec 29, 2024

Hi,

Some months ago I prepared some scripts to batch processing bracken files. When I got that files and run the scripts it did not work. Then I did a fresh install of taxonomizr (taxonomizr_0.10.6) on R 4.4.2 and run:
prepareDatabase("accesions.sql",getAccessions=FALSE)
taxa<-data.table::fread("VCM78.txt")
taxonomy<-getTaxonomy(unique(taxa$taxonomy_id)

And the error is:
VCM78.txt

Error: no such table: nodes
Aviso:
In file.remove(tmp) :
no fue posible abrir el archivo 'C:\Users\FULESK~1\AppData\Local\Temp\RtmpiE4iKt\file2f4c28e836cb', motivo 'Permission denied'

I also tried run R as administrator but it also fails. In folder Documents there are three files accession.sql (543Mb), nodes.dmp (189) and names.dmp(246)

Thank you very much for your help
Manuel

@sherrillmix
Copy link
Owner

It seems likely that prepareDatabase was not successfully completed. I would delete accession.sql (and perhaps nodes.dmp and names.dmp) and rerun prepareDatabase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants