Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disulfide bridge #5

Open
eduardodinizRO opened this issue Nov 26, 2021 · 1 comment
Open

Disulfide bridge #5

eduardodinizRO opened this issue Nov 26, 2021 · 1 comment

Comments

@eduardodinizRO
Copy link

Hello! I was wondering if Exprose takes into account disulfide bridges in its structure generation process. I happen to have a protein with 14 disulfide bridges and the structures generated by Exprose don't appear to have some of the disulfide bridges, in some cases presenting two cysteine residues supposed to be in a disulfide bridge with their S atoms 6 Angstrons apart. Is there a way to inform the program about this disulfide bridges?

Thank you for your attention

@jgreener64
Copy link
Owner

Hi, thanks for your interest in the software. The algorithm doesn't take disulphide bridges into account but you can add constraints for them manually. For example if you were to do

using ProteinEnsembles
constraints_com, constraints_one, constraints_two = interactions(
    "input_1.pdb",
    "input_1.dssp",
    "input_2.pdb",
    "input_2.dssp"
)

then the constraints objects are structs as in https://github.com/jgreener64/ProteinEnsembles.jl/blob/master/src/types.jl#L45-L51:

mutable struct Constraints
    atoms::Array{Atom,1}
    lower::Array{Float64,1} # List of lower constraints by present index
    upper::Array{Float64,1} # List of upper constraints by present index
    pres_inds::Array{Int,2} # List of index pairs of present constraints
end

So you can have a look at how the fields are laid out and push your own interactions into the arrays. Then run generateensemble as outlined in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants