comparison evaluation.py @ 6:869a6e807d76 draft

planemo upload for repository https://github.com/eteriSokhoyan/galaxytools/tree/branchForIterations/tools/GraphClust/CollectResults commit 057c2fd398055dc86eb2c00d8a74f301d5c231d9-dirty
author rnateam
date Wed, 22 Feb 2017 16:51:06 -0500
parents 4310ac018d05
children b5f49453af8c
comparison
equal deleted inserted replaced
5:4310ac018d05 6:869a6e807d76
18 numberOfClusters = 0 18 numberOfClusters = 0
19 for singleFile in sorted(cluster_seqs_stats_files): 19 for singleFile in sorted(cluster_seqs_stats_files):
20 numberOfClusters += 1 20 numberOfClusters += 1
21 with open(singleFile, "r") as f: 21 with open(singleFile, "r") as f:
22 for line in f.readlines(): 22 for line in f.readlines():
23 uniqueId = line.split()[7] 23 uniqueId = line.split()[8]
24 clustNum = line.split()[1] 24 clustNum = line.split()[2]
25 rnaClass, sep, tail = uniqueId.partition("_") 25 rnaClass, sep, tail = uniqueId.partition("_")
26 listOfClasses.append(rnaClass) 26 listOfClasses.append(rnaClass)
27 listOfClusters.append(clustNum) 27 listOfClusters.append(clustNum)
28 with open(dataNames, "r") as names: 28 with open(dataNames, "r") as names:
29 for line in names.readlines(): 29 for line in names.readlines():