A method of processing a target RNA is provided. In certain embodiments, this method comprises: contacting the products of an RNA ligase-mediated ligation reaction with an CAS6 protein, wherein: (i) the RNA ligase-mediated ligation reaction comprises: a target RNA, an RNA ligase, and first and second adaptors that can ligate together to produce an adaptor dimer that contains a CRISPR stem loop and (ii) the CAS6 protein recognizes the CRISPR stem loop thereby preventing the adaptor dimer from being reverse transcribed.