def get_chromsizes(bwpath):
    '\n    TODO: replace this with negspy\n\n    Also, return NaNs from any missing chromosomes in bbi.fetch\n\n    '
    chromsizes = bbi.chromsizes(bwpath)
    chromosomes = natsorted(chromsizes.keys())
    chrom_series = pd.Series(chromsizes)[chromosomes]
    return chrom_series
TODO: replace this with negspy

Also, return NaNs from any missing chromosomes in bbi.fetch
def get_chromsizes(bwpath):
    '\n    TODO: replace this with negspy\n\n    Also, return NaNs from any missing chromosomes in bbi.fetch\n\n    '
    chromsizes = bbi.chromsizes(bwpath)
    chromosomes = natsorted(chromsizes.keys())
    chrom_series = pd.Series(chromsizes)[chromosomes]
    return chrom_series