src/lengthsToN50Plot.py
def processData(lengthObjList, options):
    """ processData() takes the list of LengthObjs and sorts
    their lengths, if necessary,
    """
    if options.genomeLength is None:
        options.genomeLength = max(map(lambda x: x.xData[-1], lengthObjList))
    for l in lengthObjList:
        l.xData = numpy.divide(l.xData, float(options.genomeLength))
 processData() takes the list of LengthObjs and sorts
    their lengths, if necessary,
    
processData() takes the list of LengthObjs and sorts
their lengths, if necessary.
processData () takes the list of LengthObjs and sorts their lengths if necessary .
def processData(lengthObjList, options):
    if options.genomeLength is None:
        options.genomeLength = max(map(lambda x: x.xData[-1], lengthObjList))
    for l in lengthObjList:
        l.xData = numpy.divide(l.xData, float(options.genomeLength))
def processData ( lengthObjList , options ) : if options . genomeLength is None : options . genomeLength = max ( map ( lambda x : x . xData [ - 1 ] , lengthObjList ) ) for l in lengthObjList : l . xData = numpy . divide ( l . xData , float ( options . genomeLength ) )
processData() takes the list of LengthObjs and sorts
their lengths, if necessary,
processData () takes the list of LengthObjs and sorts their lengths if necessary
""" processData() takes the list of LengthObjs and sorts
    their lengths, if necessary,
    """
lengthObjList
options