CRISPR-Cas is a microbial adaptive immune system that uses RNA-guided nucleases to cleave foreign genetic elements18–21,26. Three types (I–III) of CRISPR systems have been identified across a wide range of bacterial and archaeal hosts, wherein each system comprises a cluster of CRISPR-associated (Cas) genes, noncoding RNAs and a distinctive array of repetitive elements (direct repeats). These repeats are interspaced by short variable sequences20 derived from exogenous DNA targets known as protospacers, and together they constitute the CRISPR RNA (crRNA) array. Within the DNA target, each protospacer is always associated with a protospacer adjacent motif (PAM), which can vary depending on the specific CRISPR system34–36.