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

Improved writing for LigninBuilder #3

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

jvermaas
Copy link

Rather than going through the SMILES export, this is what needed to change in order to export the graph to inputs that LigninBuilder can handle. There is one big thing that I had to change, namely making bigG a directional graph from the original undirected graph. For building 3D structures, LigninBuilder links together monomers, but needs to be able to keep track of the directionality of the interaction. For undirected graphs, the edges are sorted, and the directionality is lost. The directionality is determined by the changes inside update_units, namely sorting the linkage indices. Comparing the linkage indices against the patches that apply the linkages in CHARMM gives us a straightforward output method.

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