Quantification of the amount of guanine in a sample. The trait is guanine measurement (EFO_0801165, an Experimental Factor Ontology entry).