def documented_driver_differences():
    'Scan and analyze manually currated DocumentedDriverDifferences.txt file.\n    Returns: 1) Number of driver genes called in both hg19 & hg38 GISTIC peaks\n    2) Number of drivers missing in hg38 peaks that appeared in hg19 peaks  and\n    3) Number of drivers present in hg38 peaks but absent from hg19 peaks.'
    df = pd.read_table('../DocumentedDriverDifferences.txt', index_col=0)
    df['hg19?'] = df['present in hg19?'].str.strip(')').str.strip('(').str.strip('[').str.strip(']')
    df['hg38?'] = df['present in hg38?'].str.strip(')').str.strip('(').str.strip('[').str.strip(']')
    matches = sum((df['hg19?'] == df['hg38?']))
    lostdrivers = len(df[((df['hg19?'] == 'yes') & (df['hg38?'] == 'no'))])
    recovereddrivers = len(df[((df['hg19?'] == 'no') & (df['hg38?'] == 'yes'))])
    return (matches, lostdrivers, recovereddrivers)
Scan and analyze manually currated DocumentedDriverDifferences.txt file.
Returns: 1) Number of driver genes called in both hg19 & hg38 GISTIC peaks
2) Number of drivers missing in hg38 peaks that appeared in hg19 peaks  and
3) Number of drivers present in hg38 peaks but absent from hg19 peaks.
def documented_driver_differences():
    'Scan and analyze manually currated DocumentedDriverDifferences.txt file.\n    Returns: 1) Number of driver genes called in both hg19 & hg38 GISTIC peaks\n    2) Number of drivers missing in hg38 peaks that appeared in hg19 peaks  and\n    3) Number of drivers present in hg38 peaks but absent from hg19 peaks.'
    df = pd.read_table('../DocumentedDriverDifferences.txt', index_col=0)
    df['hg19?'] = df['present in hg19?'].str.strip(')').str.strip('(').str.strip('[').str.strip(']')
    df['hg38?'] = df['present in hg38?'].str.strip(')').str.strip('(').str.strip('[').str.strip(']')
    matches = sum((df['hg19?'] == df['hg38?']))
    lostdrivers = len(df[((df['hg19?'] == 'yes') & (df['hg38?'] == 'no'))])
    recovereddrivers = len(df[((df['hg19?'] == 'no') & (df['hg38?'] == 'yes'))])
    return (matches, lostdrivers, recovereddrivers)