A method for reshaping a nanostructure. The method includes applying a vector force to the nanostructure to obtain a desired shape and passing current through the nanostructure thereby reshaping the nanostructure to a reshaped geometry different from the initial shape. The nanostructure may additionally be cleaned.
STATEMENT AS TO RIGHTS TO INVENTIONS MADE UNDER FEDERALLY SPONSORED RESEARCH AND DEVELOPMENT
 This invention was made with U.S. Government support under Contract Number DE-AC02-05CHI1231 between the U.S. Department of Energy and The Regents of the University of California for the management and operation of the Lawrence Berkeley National Laboratory. The U.S. Government has certain rights in this invention.