def negate_dbsnp_annotation_if_pathogenic(row):
    """Returns 0 if the indel is on dbSNP but rated
    'Pathogenic' or 'Likely pathogenic'. This is to
    prevent pathogenic (possibly tumorigenic) indels
    from being classified into germline.
    
    Args:
        row (pandas.Series): with 'clin_info' and 'is_on_dbsnp' labels 
    Returns:
        is_on_db (int): 0 if indel is pathogenic, 
                           otherwise as annotated in row['is_on_dbsnp']
    """
    is_on_db = row["is_on_db"]

    if "Pathogenic" in row["clin_info"] or "Likely_pathogenic" in row["clin_info"]:
        is_on_db = 0

    return is_on_db