These two files are the max file, using Matlab to run them.
Energy_cost_DNA_Nanopore is used to calculate the energy cost for a specific DNA nanopore diameter D.
Loop_energy is calculating the defect probability for DNA under specific temperatures with different lengths.