Three Gram type-specific LAMP assays to detect DNA of the majority of bovine mastitis causing bacteria were developed to be compatible with the conditional complementation of split-trehalase recombinant proteins fused to the DNA binding protein SpoIIID. This evidence concerns the gene TREH and mastitis.