I have generated weighted and unweighted unifrac distances on mother v 1.41.1 Nov 2018 edition. These were generated fine, however when I come to generate nmds axis for both the weighted and unweighted unifrac distances, I get the following message:
mothur > nmds(phylip=final.otu.table.braycurtis.1.lt.tre1.weighted)
[ERROR]: expected a number and got Baseline-Baseline_DietScore. I suspect you entered a column formatted file as a phylip file, quitting.
…copying shared history…
…saving history…truncating history files…
Deleting expired sessions…13 completed.
my unifrac distance files were generated using the following command:
unifrac.unweighted(tree=final.otu.table.braycurtis.1.lt.tre, group=xxx.design, random=T)
I have tried adding “distance=lt” into the unifrac.weighted command to produce a phylip distance matrix however the distance matrix generated groups my samples into their treatment groups so the nmds command only generates nmds axis for the groups and not individual samples.
I have had no issues with the nmds command in previous experiences working with datasets containing only two treatment groups, however the current dataset is with 11 treatment groups and 19 feed & water samples.
Any help would be greatly appreciated