Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Python bindings for haddock-restraints

NotificationsYou must be signed in to change notification settings

haddocking/haddock-restraints-py

Repository files navigation

This repository contains the bindings of thehaddock-restraints codeso that it can be used as a python library.

pip install haddock-restraints
fromhaddock_restraintsimportInteractor,Air# Define binding regionsbinding_region_1=Interactor(id=1,chain="A",active=[10,11],passive=[])binding_region_2=Interactor(id=2,chain="B",active=[2,22],passive=[])# Define the relation between the regionsbinding_region_1.set_target(2)binding_region_2.set_target(1)# Set passive residues from active residuesbinding_region_1.set_passive_from_active()# Generate AIR tableair=Air(interactors=[binding_region_1,binding_region_2])tbl=air.gen_tbl()# Print the restraintsprint(tbl)

🚧 🚧 🚧

About

Python bindings for haddock-restraints

Resources

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp