Add Yue and Clayton Distance Metric as an option in QIIME 2?

I would love to see the Yue and Clayton distance metric available in QIIME 2. Any plans to do so?

Hi @smreyes,
Thanks for the suggestion! I have added an issue here and we will reply here whenever this is fixed.

Unfortunately, we have a long queue of open issues. Honestly, the quickest way to get this implemented in QIIME 2 would be if you or someone you know would be interested in contributing this method :wink:. Please get in touch if you are interested and we can point you in the right direction.

Thank you!

1 Like

I’ve never contributed anything in the past but I do know the formula for this distance metric. I’d be willing to at least learn more about becoming a contributor before I commit to doing it.


The way to contribute a change like this is to issue a pull request on github, containing your additions to the code.

We have relevant examples of pull requests containing distance metric contributions here and here.

Take a look at those and let us know if you feel confident making this type of contribution! If you feel semi-confident but would need some support let us know — the most time-consuming steps (which we’d need your help with!) are putting together the formula and unit tests to make sure it’s operating accurately, so if you can at least take care of those parts we can help with other parts of integration.

1 Like

I’ll take a look and let you know how confident I am.