Skip to content

RyanMellor/md_alphashape_loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Alphashape Loading

Calculate drug loading based on an MD simulation.

An alphashape is first calculated for the nanoparticle, then the fraction of each drug molecule inside the nanoparticle is calculated.

The loading curve is then calculated by varying the fraction of the drug molecule that must be inside the nanoparticle to be considered encapsulated.

The loading curve is saved as a csv and a plot.

Inputs

  • Sample name (used for saving the output files)
  • Data path (folder containing the data, with the polymer data in one file and each drug molecule in separate files)
  • Alpha parameter for the alphashape calculation
  • Boolean to save a gif of the fraction inside changing (default is False to save time)

Effect of the alpha parameter on the alphashape calculation:

alpha=0.01 alpha=0.1 alpha=0.5
Loose fitting Medium fitting Tight fitting
alpha=0.01 alpha=0.1 alpha=0.5
loading alpha=0.01 loading alpha=0.1 loading alpha=0.5

Outputs

  • A csv file containing the loading curve
  • A plot of the loading curve
  • A gif of the fraction inside changing (if requested)

example gif

As the "fraction inside" increases, the number of drug molecules considered encapsulated (green) decreases, the number of drug molecules considered outside (red) increases, and the encapsulation efficiency decreases.

References

Aphashape package - More information on the package used to calculate the alphashape.

Alphashape Wikipedia - More information on alphashapes in general.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages