Quantification of glucose-6-phosphate levels in a sample. The trait is Experimental Factor Ontology id EFO_0010485 (glucose-6-phosphate measurement).