def parseSeqQual(fastqcFile):
    """ Parses fastqc_data.txt for Per sequence quality scores and stores as a dict. """
    file_obj = open(fastqcFile)
    file = file_obj.readlines()
    data = {}
    parsing = False
    for line in file:
        line = line.strip()
        if line.startswith("#Quality"):
            parsing = True
            continue  # Skip header
        elif line.startswith(">>END_MODULE"):
            parsing = False
        if parsing:
            key, value = line.strip().split("\t")
            value = int(float(value))
            data[key] = value
    file_obj.close()
    return data