Methods for molecular nanoanalysis