Complex sentence: Sortase refers to a group of prokaryotic enzymes which form pili act as both proteases and transpeptidases.
Split into simpler sentences: Sortase refers to a group of prokaryotic enzymes which form pili. They act as both proteases and transpeptidases.