def get_coords(line):
    """Input: pdbline
       Output: [x,y,z] (list of floats)"""
    x_val = line[30:38]
    y_val = line[38:46]
    z_val = line[46:54]
    return [float(x_val), float(y_val), float(z_val)]