Precision molecular threading/dethreading