A bioinformatic method for identifying and isolating proteins and peptides with MSCRAMM?-like characteristics from Gram positive bacteria, such as Enterococcus, Staphylococcus, Streptococcus and Bacillus bacteria, and proteins and peptides obtained thereby are provided which can be utilized in methods to prevent and treat infections caused by Gram-positive bacteria. The method involves identifying from sequence information those proteins with a putative C-terminal LPXTG (SEQ ID NO:1) cell wall sorting signal and other structural similarities to MSCRAMM? proteins having the LPXTG-anchored cell wall proteins. The MSCRAMM? proteins and immunogenic regions therein that are identified and isolated using the present invention may be useful in the diagnosis, treatment or prevention of Gram positive bacterial infections.U