comparison fsd.py @ 32:5e1450eda945 draft

planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/fsd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty
author mheinzl
date Mon, 03 Jun 2019 06:58:20 -0400
parents b01ecc2e9686
children 55c7e49eea88
comparison
equal deleted inserted replaced
31:b01ecc2e9686 32:5e1450eda945
344 # linewidth=1, 344 # linewidth=1,
345 345
346 print(numpy.sum(y)) 346 print(numpy.sum(y))
347 print(float(numpy.sum(y))) 347 print(float(numpy.sum(y)))
348 print(x) 348 print(x)
349 new_y = numpy.concatenate(numpy.array([yi / float(numpy.sum(y)) for yi in y])) 349 new_y = numpy.concatenate((numpy.array([yi / float(numpy.sum(y)) for yi in y])))
350 print(new_y.shape) 350 print(new_y.shape)
351 new_y = numpy.array(new_y).reshape((len(new_y))) 351 new_y = numpy.array(new_y).reshape((len(new_y)))
352 print(new_y.shape) 352 print(new_y.shape)
353 print(new_y) 353 print(new_y)
354 354