I suspect the issue is that you have floating point numbers in the otu
table you're using as input to beta_significance.py (beta_diversity.py
will behave similarly). The unifrac and weighted unifrac metrics
expect a table of integer counts, which should be obtainable by
omitting -n when you call summarize_otu_by_cat.py.
Give me a holler if that doesn't do the trick, or if you have
fractional counts in your original otu table for some reason.