Skip to main content

CI Documentation Status DOI

Lomap

The Lead Optimization Mapper (LOMAP) is an automated algorithm for planning efficient relative free energy calculation networks across a set of ligands, built on freely available tools such as RDKit. With the optional gufe dependency installed, it also integrates with the Open Free Energy ecosystem. The method is described in the original LOMAP publication.

Installation

lomap is available on conda-forge as the lomap2 package. See the installation documentation for install instructions, including the development install and optional dependencies (gufe and pygraphviz).

Quickstart

This example uses LOMAP's optional gufe bindings to load two example ligands bundled with the package and plan a perturbation network between them with the default atom mapper and scorer.

# requires the optional `gufe` dependency (see Installation)
import importlib.resources

import lomap
from gufe import SmallMoleculeComponent

# Two example ligands ship with the package under lomap.tests.data
data = importlib.resources.files("lomap.tests.data")
ligands = [
    SmallMoleculeComponent.from_sdf_file(data / name)
    for name in ["lig_41.sdf", "lig_74.sdf"]
]

# Build a LigandNetwork using LOMAP's scoring and network-construction rules
network = lomap.generate_lomap_network(
    ligands=ligands,
    mappers=lomap.LomapAtomMapper(),
    scorer=lomap.default_lomap_score,
)
print(f"{len(network.nodes)} ligands, {len(network.edges)} edges")

For proposing individual mappings, customising edge scores, and the full set of network options, see the documentation.

Authors

See AUTHORS.md.

History

Open Free Energy took over maintenance of LOMAP in 2022. The original development repository has since been archived, but can be found at https://github.com/MobleyLab/Lomap.

Metadata

Release files for acellera-lomap2 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acellera-lomap2 3.3.0
File Size Uploaded Provenance Actions
acellera_lomap2-3.3.0.tar.gz 183.4 kB Without provenance Details for acellera_lomap2-3.3.0.tar.gz

Release files / acellera_lomap2-3.3.0.tar.gz

Download URL acellera_lomap2-3.3.0.tar.gz
Size 183.4 kB
Tags Source
SHA-256 checksum
How to use checksums
596f1de711d05435afe9508aa91051baca1a7aa509f29c54e3d84a2b9b3559f8
BLAKE2b-256 checksum
How to use checksums
b738958599cd6f31acbd12ef95001ff77bb0412fe6a6a51e0a8016e740ef54a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.13

Security for acellera-lomap2 3.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.3.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page