-
Notifications
You must be signed in to change notification settings - Fork 27
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
DNA-RNA hybrids #72
DNA-RNA hybrids #72
Conversation
Fixed bugs caused by double inheritance (i think), updated function for checking input sanity to accommodate for both DNA and RNA in the system.
Interaction type with modified backbone potential for relaxing systems containing both DNA and RNA.
…dna-rna-hybrids into double-inheritance
Adding the new topology format to the hybrid model
Trying to fix (suspected) undefined behaviour
Version of hybrid model which uses inheritance
Add the DNA-RNA hybrid model
This commit adds 6 more tests to the `run` level. These tests check that the DNA, RNA and DRH interactions compute the right energies for a short nicked duplex
The member was used to check in the RNA and DNA classes whether the instance of the interaction was actually a DRH interaction. We now check this with a local variable since we need this information only at the very beginning
src/Particles/BaseParticle.h
Outdated
|
||
/// Needed for DNA-RNA interactions | ||
char acid_type; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eryykr Can we do this bookkeeping in the DRH interaction rather than here? Do you foresee any issues?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could so long as there is a way of distinguishing between DNA and RNA nucleotides without acid_type
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK! Have a look at my changes in b695623 and let me know if you agree with them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
* Remove some unusued define's * Turn a char[] into a std::string * Move the information about the type of each nucleotide (R or D) from BaseParticle to the DRHInteraction
While working on this branch, yesterday I have also added a few more tests that check the values of the energy terms present in a nicked double strand as computed by the DNA2, RNA2 and DNA_RNA force fields. These are run automatically every time a These tests will end up in |
Add the possibility of simulating DNA-RNA hybrids (by @eryykr )