Skip to content

Dimaio/opt h flip hnq#366

Open
fdimaio wants to merge 4 commits intomasterfrom
dimaio/optH_flipHNQ
Open

Dimaio/opt h flip hnq#366
fdimaio wants to merge 4 commits intomasterfrom
dimaio/optH_flipHNQ

Conversation

@fdimaio
Copy link
Copy Markdown
Collaborator

@fdimaio fdimaio commented Apr 17, 2026

Adds an optH option to tmol.

Implemented through an OptHSampler that works with the existing build_rotamers sampler, sampling proton positions for C/T/Y/S as specified in parameters. Takes a single option (default True) fix_HNQ that additionally considers flips of H/N/Q as well as tautamerization changes of H.

The model is turn ON by default in pose_stack_from_biotite, but can be disabled with no_optH=True. pose_stack_from_openfold/rosettafold2 are unchanged.

New test added, small bug in fixed_aa_chi_sampler fixed.

@fdimaio fdimaio requested a review from aleaverfay April 17, 2026 20:37
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

Successfully merging this pull request may close these issues.

1 participant