Transcriptional recording by CRISPR spacer acquisition from RNA