This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import prody | |
# Set fname | |
fname = 'AF-Q96M86-F13-model_v1.cif.gz' | |
# Use prody to parse AlphaFold structure in mmCIF format | |
pdb, header = prody.parseMMCIF(fname, header=True) | |
# extract coordinates of the fragment in the reference sequence | |
# e.g. Uniprot AC Q96M86 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import prody | |
import dill # or pickle | |
# Read AF2 output | |
with open('result_model_1.pkl', 'rb') as f: | |
af = dill.load(f) | |
# Parse PDB structure | |
pdb = prody.parsePDB('relaxed_model_1.pdb') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bootstrap: docker | |
From: ubuntu:22.04 | |
Stage: spython-base | |
%labels | |
MAINTAINER Arthur Zalevsky <aozalevsky@gmail.com> | |
%post |