def GetPdbFileLine( pdb_id ):

    ftp = FTP(PDB_SERVER)       # connect to host, default port
    ftp.login(USER,PASSWORD)                 # user anonymous, passwd user@hostname

    result = []
    # retrieve and save
    ftp.retrlines('RETR ' + PDB_ACCESS % string.lower(pdb_id), result.append)
    return result
dataset/ETHPy150Open CGATOxford/cgat/legacy/PdbTools.py/GetPdbFileLine/original