def get_bonds_of_molecule(molecule):
    """
    It returns the atom's indexes for all bonds of a molecule.
    :param molecule: Mol object with the ligand (Rdkit)
    :return: list of tuples with the indexes for each bond
    """
    bonding_idx = []
    for bond in molecule.GetBonds():
        bonding_idx.append((bond.GetEndAtomIdx() + 1, bond.GetBeginAtomIdx(
            ) + 1))
    return bonding_idx
