def getColumnNamesNum(infile):
    """
    input infile, get a dict (key is cloumnName , value is the cloumn number )
    """
    linelist = []
    dict1 = {}
    with open(infile) as ff:
        for line in ff:
            line = line.rstrip()
            linelist = line.split('\t')
            break
    for x, columnName in enumerate(linelist):
        dict1[columnName] = x
    return dict1
