comparison hd.py @ 32:b432cfa895ee draft default tip

planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/hd commit 033dd7b750f68e8aa68f327d7d72bd311ddbee4e-dirty
author mheinzl
date Mon, 19 Aug 2019 15:12:10 -0400
parents 8beced3064e3
children
comparison
equal deleted inserted replaced
31:8beced3064e3 32:b432cfa895ee
1138 1138
1139 sample_half_a = tag1[0:(len(tag1)) / 2] 1139 sample_half_a = tag1[0:(len(tag1)) / 2]
1140 sample_half_b = tag1[len(tag1) / 2:len(tag1)] 1140 sample_half_b = tag1[len(tag1) / 2:len(tag1)]
1141 1141
1142 max_tags = data_chimeraAnalysis[i, 1] 1142 max_tags = data_chimeraAnalysis[i, 1]
1143 if len(max_tags) > 1 and len(max_tags) != len(data_chimeraAnalysis[0, 1]) and type(max_tags) is not numpy.ndarray : 1143 if len(max_tags) > 1 and len(max_tags) != len(data_array[0, 1]) and type(max_tags) is not numpy.ndarray:
1144 max_tags = numpy.concatenate(max_tags) 1144 max_tags = numpy.concatenate(max_tags)
1145 max_tags = numpy.unique(max_tags) 1145 max_tags = numpy.unique(max_tags)
1146 stat_maxTags.append(len(max_tags)) 1146 stat_maxTags.append(len(max_tags))
1147 1147
1148 info_maxTags = [data_array[data_array[:, 1] == t, :] for t in max_tags] 1148 info_maxTags = [data_array[data_array[:, 1] == t, :] for t in max_tags]