ENH: updated to simplify/reuse code
ENH: updated to simplify/reuse code

anderspitman/scikit-bio,kdmurray91/scikit-bio,gregcaporaso/scikit-bio,gregcaporaso/scikit-bio,anderspitman/scikit-bio,kdmurray91/scikit-bio