import csv


def read_scores(input, delimiter, score_index=3):
    """
    Reads the scores from a bed file into a list of floats
    :param input: Input file object
    :param delimiter: delimiter character, e.g. tab, comma, or space
    :param score_index: column index of the score value
    :return: A list of scores (still strings)
    """
    scores = list()
    reader = csv.reader(input, delimiter=delimiter)
    for row in reader:
        scores.append(row[score_index])
    return scores