BranniganLab / density_threshold_affinity

Scripts to Assist Density Threshold Affinity Analysis - a method for obtaining free energies of protein-lipid binding. Originally described in: https://pubs.aip.org/aip/jcp/article/154/18/185102/200265/Spontaneous-lipid-binding-to-the-nicotinic and subsequently refined in: https://doi.org/10.1016/bs.mie.2024.03.008
https://doi.org/10.1016/bs.mie.2024.03.008
1 stars 0 forks source link

New leaflet sorter sometimes assigns all lipids to the same leaflet #14

Open EzryStIago opened 11 months ago

EzryStIago commented 11 months ago

Old leaflet sorter appears to work here: image But the new one fails: image

EzryStIago commented 11 months ago

The densities agree. In the second case (new sorter), all the density is in the upper leaflet. POPG.low.avg.dat.txt POPG.upp.avg.dat.txt

lms464 commented 3 months ago

@lms464

lms464 commented 3 months ago

Yeah, there are issues with alg 0. Aligned and Unaligned systems broke the binary system Ezry sent me. Data for check is attached, _data.csv I might have a part of the problem. In the config file

set lipids [list "POPG"] ;# list of all species to bin
set headnames [list "PO4"] ; #lists one headgroup atom/bead name per lipid species 
-> set tailnames [list "C4"] ; #lists one terminal atom/bead name per lipid species 

I think leaving the C4 is resulting in part of the issue Using C4 as the tail type, here is alg 0 compared to alg 1 Exp=Expected count of that lipid Count = what is counted dif = difference between the two upper = upper leaflet lower = lower leaflet diff = different of the two leaflets (+ upp/- low)

   Exp,Count, dif, upper, lower, diff                             Exp,Count, dif, upper, lower, diff
  ,2059,2059,0, 0, 2059, 2059                                  |  ,2059,2059,0, 1032, 1027, -5                                
  ,2059,2059,0, 0, 2059, 2059                                  |  ,2059,2059,0, 1033, 1026, -7                                
  ,2059,2059,0, 0, 2059, 2059                                  |  ,2059,2059,0, 1032, 1027, -5                                
  ,2059,2059,0, 0, 2059, 2059                                  |  ,2059,2059,0, 1033, 1026, -7  

Changing to C4A it appears closer

  ,2059,2059,0, 1032, 1027, -5                                                                                                 |  ,2059,2059,0, 1032, 1027, -5
  ,2059,2059,0, 1034, 1025, -9     difference                                                                          |  ,2059,2059,0, 1033, 1026, -7                                                                                                
  ,2059,2059,0, 1032, 1027, -5                                                                                                 |  ,2059,2059,0, 1032, 1027, -5
  ,2059,2059,0, 1032, 1027, -5                                                                                                 |  ,2059,2059,0, 1032, 1027, -5

While alg 2 is not shown, results have been the same as alg 1 My suggestion is drop the C4 or D4, and choose a acyl chain (A/B) probably which ever is more saturated?