Skip to content

The charge is assigned by estimate_amino_acid_charges incorrectly if heteroresidue is bonded to functional group #25

Description

@dargen3

Hello,

I'd like to report a potential bug. If I assign formal charges to the amino acids in protein 1rcm using the function hydride.estimate_amino_acid_charges(..., ph=10), the charges -1 are also assigned to the sulfur atoms to which the acetic acid (ACY) is bonded and the formal charge should be therefore 0.

I looked into https://github.com/biotite-dev/hydride/blob/main/src/hydride/charge.py and if I understand correctly the case where a hetero-residue is bonded to a functional group is not treated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions