A Motif Hash Based Method for Matching Staples/Crosslinks into Peptides and Proteins
Project description
stapler
A Motif Hash Based Method for Matching Crosslinkers into Peptides and Proteins for PyRosetta
Installation
pip install pystapler
Example
import pyrosetta
pyrosetta.init()
from pyrosetta.rosetta.core.select.residue_selector import TrueResidueSelector
from pyrosetta.rosetta.core.select.residue_selector import ChainSelector
from stapler import NativeDisulfideStapler
default_residue_selectors = [TrueResidueSelector(), TrueResidueSelector()]
ab_residue_selectors = [ChainSelector('A'), ChainSelector('B')]
aa_or_ab_residue_selectors = [ChainSelector('A'), ChainSelector('A,B')]
native_disulfide_stapler = NativeDisulfideStapler(
residue_selectors=default_residue_selectors,
minimum_sequence_distance=4
)
pose = pyrosetta.pose_from_file('input.pdb')
for i, stapled_pose in enumerate(native_disulfide_stapler.apply(pose)):
stapled_pose.dump_pdb(f'output_{i}.pdb')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pystapler-1.0.2.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for pystapler-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649b0ddbb6f04a2d8ba57077f8c400c7f81d3771e95af6da2886c06d15bbd4bb |
|
MD5 | 87bf1acf85c475756e3b1dcb5dd10a69 |
|
BLAKE2b-256 | 1436361168b6f2f3fea6bfe4b02b2c954ca6aa9b5a13b64def0fb920d5a23e58 |