sulcgroup / oxdna-viewer

oxView: Visualization and editing tool for DNA/RNA nanotechnology and oxDNA/oxRNA configuration analysis
GNU General Public License v3.0
49 stars 19 forks source link

Melting temp button #126

Open AmmarAliHakeem opened 2 months ago

AmmarAliHakeem commented 2 months ago

/ ADDITIONS TO strands.ts /

functions:

- getDomains()                                                 // for the strand, returns a list of domains as Nucleotide[][] 
- getHybrid_dG_dS(temp)                          //  for the strands, returns hybridization energy and entropy @ temp
- getDomainedHybrid_dG_dS(temp)     //  for the strands, returns hybridization energy and entropy as sum of individual domains @ temp
        - NOTE: not same as Hybrid since, domains get the end terminal penalties
 - getLoopSizes()                                               // for the strand, returns a list of numbers indicating the length of loops formed. 
  - get_Loop_dG_dS(temp)                             // for the strand, returns change in free energy and entropy @ temp due to loop formation
  - get_Tm()                                                          // for the strand returns the melting temperature taking into account the loops etc
  - get_prob(temp)                                               // for the strand, caculates the probabilty of fold according to douglas formula
  - get_domainSeq()                                            // returns the sequences of the domains of the strand

/** ADDITIONS TO UI.ts **/

here I put functions I call when I click the button

- calMeltingTemp()                // the function I give to the longCalucltaion function
- MeltingTempButton()      // the function that runs when I click the button

/** NEW FILE ammar.ts **/

- has functions that calculate the energies and the coloring maps 

/ HTML FILES /

ammarWindow.html ammarWindow.json