def parse_sra_relation(inputpath):
    """
    Parse tsv file of the SRA relation of SRAmetadb.sqlite

    :param inputpath: path to file
    :return: 2D array of the parsed relation, name of the columns
    """
    sra_relation = []
    with open(inputpath, "r") as file:
        col_names = [cell.replace('"', '') for cell in next(file).split("\n")[0].split("\t")]
        for line in file:
            splitted = [cell.replace('"', '') for cell in line.split("\n")[0].split("\t")]
            sra_relation.append(splitted)
    return sra_relation, col_names