cblaster
cblaster copied to clipboard
makedb from gbk files
Hello, I am trying to make a database from some genbank files. They were downloaded using these links, clicking on the 'Download' tab then 'Download Genbank summary file':
https://mibig.secondarymetabolites.org/repository/BGC0000001/index.html#r1c1 https://mibig.secondarymetabolites.org/repository/BGC0001694/index.html#r1c1 https://mibig.secondarymetabolites.org/repository/BGC0001492/index.html#r1c1
I have run across the following issue (I get the same issue when I use a full filepath for mydb and just '-n mydb' alone):
cblaster makedb "path\to\test_db\BGC0000001.gbk" "path\to\test_db\BGC0001492.gbk" "path\to\test_db\BGC0001694.gbk" -n "path\to\test_db\mydb"
Importing genomicsqlite failed, falling back to SQLite3
[10:46:33] INFO - Starting makedb module
[10:46:33] INFO - Pre-existing files found, overwriting
[10:46:33] INFO - Overwriting pre-existing file at mydb.sqlite3
[10:46:33] INFO - Parsing 3 genome files, in 1 batches of 3
[10:46:33] INFO - Processing batch 1
[10:46:33] INFO - BGC0000001.gbk
[10:46:33] INFO - BGC0001492.gbk
[10:46:33] INFO - BGC0001694.gbk
[10:46:33] INFO - Saving 95 genes
[10:46:34] INFO - Writing FASTA to mydb.fasta
[10:46:34] INFO - Building DIAMOND database at mydb.dmnd
Traceback (most recent call last):
File "c:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\ANACONDA3\Scripts\cblaster.exe_main.py", line 9, in
Do you have any suggestions on how to fix this? I am windows 10, and should be working with the latest cblaster version (I uninstalled and reinstalled it with pip whilst I installed diamond for local searching)
Many thanks!