Error: Cannot cast array from dtype('float64') to dtype('int64') according to the rule 'safe'


When trying to run qiime diversity core-metrics-phylogenetic, I get the following error:
Plugin error from diversity:
Cannot cast array from dtype(‘float64’) to dtype(‘int64’) according to the rule ‘safe’
I haven’t had this issue with previous releases. What might be the problem?
Thank you for any help and suggestions!


System versions
Python version: 3.6.2
QIIME 2 release: 2018.8
QIIME 2 version: 2018.8.0
q2cli version: 2018.8.0

Installed plugins
alignment: 2018.8.0
composition: 2018.8.0
cutadapt: 2018.8.0
dada2: 2018.8.0
deblur: 2018.8.0
demux: 2018.8.0
diversity: 2018.8.0
emperor: 2018.8.0
feature-classifier: 2018.8.0
feature-table: 2018.8.0
gneiss: 2018.8.0
longitudinal: 2018.8.0
metadata: 2018.8.0
phylogeny: 2018.8.0
quality-control: 2018.8.0
quality-filter: 2018.8.0
sample-classifier: 2018.8.0
taxa: 2018.8.0
types: 2018.8.0
vsearch: 2018.8.0

Hey @vjera,

Would you be able to provide a feature-table summary of the table you are using? Also your full command would be helpful.

I suspect you have a normalized table of some kind masquerading as FeatureTable[Frequency].



thank you for your reply!
Seems like there was an issue with upgrade from 2018.06 to 2018.08. I’ve informed our informatician, and he managed to fix it. :slight_smile:

Best regards,

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.