pyMBE-dev / pyMBE

pyMBE provides tools to facilitate building up molecules with complex architectures in the Molecular Dynamics software ESPResSo. For an up-to-date API documention please check our website:
https://pymbe-dev.github.io/pyMBE/pyMBE.html
GNU General Public License v3.0
6 stars 8 forks source link

Add support to create dendrimers #67

Open pm-blanco opened 4 months ago

pm-blanco commented 4 months ago

Notes from an online discussion with @pinedaps, ideas for adding a new feature to build dendrimers in pyMBE:

@mariusaarsten and @kosovan, we would appreciate your opinion on these ideas since you both have experience in building dendrimers! :smile:

Parameters of the dendrimer

Structure of the dendrimer

N1                                                          N1
    \                                                   /      
       branch                                   branch       
                 \                            /
                     N0 -- central_chain -- N0                    
                 /                            \
       branch                                   branch        
   /                                                     \      
N1                                                           N1  

Ideas

Case 1) have pre-defined models to set up symmetric dendrimers (like the one above)

define_dendrimer(name,
                 model="homogenous_dendrimer",
                 central_chain=[Res1, Res2, Res3, ...],
                 branch=[Res1, Res2, Res3, ...],
                 inner_nodes=particle_name,
                 outer_nodes=particle_name2,
                 branching_number=3 # number of branches per node
                 number_of_generations=4)

Case 2) Have a general framework to generate heterogenous dendrimer

Then, one would load the topology file directly.

define_dendrimer(name,
                 model="from_file",
                 path_to_topology_file="...")

and latter one would create it into espresso using pyMBE (with either case)

create_dendrimer(name, number_of_molecules)
mariusaarsten commented 4 months ago

@pm-blanco Based on my little experience working with PAMAM denrimer, I think this sounds like a great idea! In the homogenous case, you have labeled the the nodes N0 and N1, but based on the way you are planning to set up the function, these are really the same chemical identity if I understand correctly? And if one would like to distinguish between different chemical identites one would have to use option 2?

pm-blanco commented 4 months ago

Offline discussion with @mariusaarsten, we should also support a different particle type for the ending particles in case 1) because this is a fairly common case for dendrimers.

pm-blanco commented 1 month ago

suggestion by @davidbbeyer, check the BigSMILES project