Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta not capable of handling wminkowski, mahalanobis #288

Closed
ChrisKeefe opened this issue Aug 10, 2020 · 0 comments · Fixed by qiime2/q2-diversity-lib#24
Closed

beta not capable of handling wminkowski, mahalanobis #288

ChrisKeefe opened this issue Aug 10, 2020 · 0 comments · Fixed by qiime2/q2-diversity-lib#24
Assignees

Comments

@ChrisKeefe
Copy link
Collaborator

Bug Description
Beta diversity calculations using these two metrics fail. wminkowski takes an extra parameter, and has been deprecated in favor of the "weighted version of minkowski". mahalanobis produces a numpy.linalg.LinAlgError: Singular Matrix error, when handed any of a number of frequently-used test-data sets (crawford, moving pictures, and a minimal example).

Steps to reproduce the behavior

  1. Load a qiime2 env, and run:
qiime diversity beta \
--i-table table.qza \
--p-metric <insert-metric-here> \
--o-alpha-diversity <metric-name>.qza

passing a valid feature table. See the resulting error message.

Computation Environment

  • OS: linuxMint 19.3
  • QIIME 2 2020.6

Approach

  • Replace wminkowski with minkowski, opening an issue to suggest handling of the weighted version in future
  • Remove mahalanobis for now, and open a second issue to track replacement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment