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.3.tar.gz
(589.2 kB
view hashes)
Built Distribution
pystapler-1.0.3-py3-none-any.whl
(619.8 kB
view hashes)
Close
Hashes for pystapler-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c67953fe78f234523c0200257b77ab8ecbf7e72f6effb9392746156688cb090 |
|
MD5 | 0d895b9c42d1fcc7d2c57c9ea52b9e62 |
|
BLAKE2b-256 | 70501c2b3f03e5cc080c3ab2762aa191a7e33169e2974f3f8146e49bdc36085e |