def _vectorize_counts_and_tree(counts, otu_ids, tree):
    tree_index = tree.to_array(nan_length_value=0.0)
    otu_ids = np.asarray(otu_ids)
    counts = np.atleast_2d(counts)
    counts_by_node = _nodes_by_counts(counts, otu_ids, tree_index)
    branch_lengths = tree_index['length']

    # branch_lengths is just a reference to the array inside of tree_index,
    # but it's used so much that it's convenient to just pull it out here.
    return counts_by_node.T, tree_index, branch_lengths
When L{NTTPServer} receives a I{XROVER} command, it sends a list of
dataset/ETHPy150Open biocore/scikit-bio/skbio/diversity/_util.py/_vectorize_counts_and_tree--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/news/test/test_nntp.py/NNTPTestCase.test_XROVER