The present invention relates to a method of analysis comprising the preparation and the analysis of a sample in a flexible container without direct handling of the sample and without reopening the flexible container at the end of the preparation of the sample, and also to a container and a kit that enable the implementation of this method