def getTF_Name(ensID, db):
    """Returns the HGNC name corresponding to the specified ensemble ID."""
    cmdStr = "SELECT HGNC_Name from TranscriptionFactors where EnsembleID = \"" + ensID + "\";"
    cursor=db.cursor()
    cursor.execute(cmdStr)
    rows = cursor.fetchall()
    if len(rows) > 0:
        return rows[0][0]
    else:
        return None