humann/store.py
def normalized_gene_length(gene_length, read_length):
    """
    Compute the normalized gene length with the average read length if set
    Report in reads per kilobase
    """
    
    # if read length is not provided, default to 1
    if read_length < 1:
        read_length = 1

    return (abs(gene_length - read_length)+1)/1000.0

    Compute the normalized gene length with the average read length if set
    Report in reads per kilobase
    
Compute the normalized gene length with the average read length if set
Report in reads per kilobase
Compute the normalized gene length with the average read length if set Report in reads per kilobase
def normalized_gene_length(gene_length, read_length):
    if read_length < 1:
        read_length = 1
    return (abs(gene_length - read_length)+1)/1000.0
def normalized_gene_length ( gene_length , read_length ) : if read_length < 1 : read_length = 1 return ( abs ( gene_length - read_length ) + 1 ) / 1000.0
Compute the normalized gene length with the average read length if set
Report in reads per kilobase
Compute the normalized gene length with the average read length if set Report in reads per kilobase
"""
    Compute the normalized gene length with the average read length if set
    Report in reads per kilobase
    """ # if read length is not provided, default to 1
gene_length
read_length