frag_pele/Growing/add_fragment_from_pdbs.py
def transform_coords_from_bio2prody(fragment_prody, bioatom_list):
    """
    Given a fragment (prody molecule object) and a list of Bio.PDB.Atom objects correspondent to this fragment, it
    replace the coordinates of the prody molecule for the ones of the list of Bio.PDB.Atom objects and returns the new
    coordinates.
    :param fragment_prody: prody molecule object.
    :param bioatom_list: list of Bio.PDB.Atom objects.
    :return: array with the new coordinates of the prody molecule object.
    """
    fragment_coords = pdb_joiner.transform_coords(bioatom_list)
    fragment_prody.setCoords(fragment_coords)
    return fragment_prody.getCoords()

    Given a fragment (prody molecule object) and a list of Bio.PDB.Atom objects correspondent to this fragment, it
    replace the coordinates of the prody molecule for the ones of the list of Bio.PDB.Atom objects and returns the new
    coordinates.
    :param fragment_prody: prody molecule object.
    :param bioatom_list: list of Bio.PDB.Atom objects.
    :return: array with the new coordinates of the prody molecule object.
    
Given a fragment (prody molecule object) and a list of Bio.PDB.Atom objects correspondent to this fragment, it
replace the coordinates of the prody molecule for the ones of the list of Bio.PDB.Atom objects and returns the new
coordinates.
Given a fragment ( prody molecule object ) and a list of Bio . PDB . Atom objects correspondent to this fragment it replace the coordinates of the prody molecule for the ones of the list of Bio . PDB . Atom objects and returns the new coordinates .
def transform_coords_from_bio2prody(fragment_prody, bioatom_list):
    fragment_coords = pdb_joiner.transform_coords(bioatom_list)
    fragment_prody.setCoords(fragment_coords)
    return fragment_prody.getCoords()
def transform_coords_from_bio2prody ( fragment_prody , bioatom_list ) : fragment_coords = pdb_joiner . transform_coords ( bioatom_list ) fragment_prody . setCoords ( fragment_coords ) return fragment_prody . getCoords ( )
Given a fragment (prody molecule object) and a list of Bio.PDB.Atom objects correspondent to this fragment, it
replace the coordinates of the prody molecule for the ones of the list of Bio.PDB.Atom objects and returns the new
coordinates.
Given a fragment ( prody molecule object ) and a list of Bio . PDB . Atom objects correspondent to this fragment it replace the coordinates of the prody molecule for the ones of the list of Bio . PDB . Atom objects and returns the new coordinates .
"""
    Given a fragment (prody molecule object) and a list of Bio.PDB.Atom objects correspondent to this fragment, it
    replace the coordinates of the prody molecule for the ones of the list of Bio.PDB.Atom objects and returns the new
    coordinates.
    :param fragment_prody: prody molecule object.
    :param bioatom_list: list of Bio.PDB.Atom objects.
    :return: array with the new coordinates of the prody molecule object.
    """
array with the new coordinates of the prody molecule object.
array with the new coordinates of the prody molecule object .
fragment_prody
prody molecule object.
prody molecule object .
bioatom_list
list of Bio.PDB.Atom objects.
list of Bio . PDB . Atom objects .