Hello. In the part of “train the classifier” it throws me this error --Plugin error fron feature-classifler: Unable to allocate array with shape (268435456,) and data type float64–. What can be ? Help me please
I use this command:
I suppose that you are running out of memory.
As suggested here, you can try to provide additional parameter --p-classify--chunk-size 20000 or lower to your command to reduce amount of memory required
I installed qiime2 on another computer with 12 gigs of ram, and now it gives me this error "Plugin error from feature-classifier:
Unable to allocate 6.77 GiB for an array with shape (20000, 45450) and data type int64 "
It looks similar to the previous one!
I entered the suggested command and there was no change
(the tutorial that @timanix pointed you to explains the steps of how that classifier was created)
using the classifier to classify sequences is also memory-intensive, but a little bit less so… you can adjust the reads per batch to reduce memory load while running the classifier (search this forum for some more detailed troubleshooting advice)