Closed nick-youngblut closed 4 years ago
Thanks for the information. I'll fix this problem as soon as possible.
Thanks for the quick response! Actually, StrainPro-build
seems to work if I use a different location for the output directory. For example: ./bin/StrainPro-build -r database/archaea/library.fna -o test_output_dir
It seems that the output directory cannot be in the same location as the input fasta file
I used the same commands and the error did not occur. However, I noticed that the buffer size for index output was too small. I increased the buffer size and updated the package. Please download the latest version and try again, and let me know if you have any suggestions. Thank you very much!
Increasing the buffer size seems to have fixed the issue. Thanks!
Btw, the README states that the reference sequences should be labeled as taxid|<taxID>|<seqID>
. For kraken2, I have all of my reference sequences labeled as kraken:taxid|<taxID>|<seqID>
. Will StrainPro still work for kraken:taxid
or does it have to be just taxid
?
Unfortunately, StrainPro does not work for kraken:taxid. However, I can modify the source codes to make it does. I'll let you know when it is done.
@nick-youngblut I've updated the source codes of StrainPro. It now recognizes the patter "taxid|" for looking for taxonomic information. Thus, you may use kraken reference sequences directly.
Thanks again for the quick update! I'll give it a try ASAP
I'm using
StrainPro-build v0.9.0
on Ubuntu 18.04.3. Here's a reproducible example:The output from
StrainPro-build
is:The server that I'm using has plenty of resources, so the issue isn't a lack of memory or something like that.