Skip to content

Is there anyway to run PLACER without the protein target? #5

Description

@ackbar03

Hi,

I saw PLACER can also be used to generate the conformation of the ligand by itself (Figure 2D in the paper https://www.biorxiv.org/content/10.1101/2024.09.25.614868v1).

How would I do this using the current code? I tried running placer on a PDB containing only the ligand, but it throws errors:

    outputs_LIG = placer.run(pl_inp, 10)
  File "/home/ackbar03/proteins/PLACER/zdbg_initialtst/../PLACER.py", line 281, in run
    H = G.subgraph(nx.single_source_shortest_path_length(G, center[0].name, cutoff=cutoff))
  File "/home/ackbar03/miniconda3/envs/placer/lib/python3.10/site-packages/networkx/utils/decorators.py", line 788, in func
    return argmap._lazy_compile(__wrapper)(*args, **kwargs)
  File "<class 'networkx.utils.decorators.argmap'> compilation 4", line 3, in argmap_single_source_shortest_path_length_1
  File "/home/ackbar03/miniconda3/envs/placer/lib/python3.10/site-packages/networkx/utils/backends.py", line 967, in __call__
    return self.orig_func(*args, **kwargs)
  File "/home/ackbar03/miniconda3/envs/placer/lib/python3.10/site-packages/networkx/algorithms/shortest_paths/unweighted.py", line 59, in single_source_shortest_path_length
    raise nx.NodeNotFound(f"Source {source} is not in G")
networkx.exception.NodeNotFound: Source ('A', 1, 'LIG', 'C11') is not in G

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions