8 from cistematic.core.orthomatcher import orthoMatcher
15 print "crossmatch: version 1.2"
17 print "usage: python %s prefix directory genome1 genefile1 genome2 genefile2 [genome3 genefile3 .....]" % argv[0]
24 genomesToMatch = (len(argv) - 3) / 2
25 for index in range(genomesToMatch):
26 genome = argv[3 + index * 2]
28 if genome not in matchFiles:
29 matchFiles[genome] = []
31 matchFiles[genome].append(argv[4 + index * 2])
34 orthoMatcher(matchFiles, prefix, directory, fileList=True)
37 if __name__ == "__main__":