Esempio n. 1
0
def main(matrix, genomes):
    transpose_matrix(matrix)
    names = []
    for line in open(genomes, "rU"):
        newline = line.strip()
        fields = newline.split()
        names.append(fields)
    reorder_matrix("tmp.matrix", names)
    os.system("rm tmp.matrix")
Esempio n. 2
0
def main(matrix, genomes):
    transpose_matrix(matrix)
    names = []
    with open(genomes) as my_genomes:
        for line in my_genomes:
            newline = line.strip()
            fields = newline.split()
            names.append(fields)
    reorder_matrix("tmp.matrix",names)
    os.system("rm tmp.matrix")
def main(matrix, tree):
    transpose_matrix(matrix)
    names = parse_tree(tree)
    reorder_matrix("tmp.matrix", names)
    os.system("rm tmp.matrix")
Esempio n. 4
0
def main(matrix, genomes):
    transpose_matrix(matrix)
    reorder_matrix("tmp.matrix", genomes)
Esempio n. 5
0
def main(matrix, tree):
    transpose_matrix(matrix)
    names = parse_tree(tree)
    reorder_matrix("tmp.matrix", names)
    os.system("rm tmp.matrix")
Esempio n. 6
0
def main(matrix, genomes):
    transpose_matrix(matrix)
    reorder_matrix("tmp.matrix", genomes)