This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to trim UMI and add it to read name line?

Hello there,

I am getting started in 5cap-seq analysis (mapping of TSS sites)...

After demultiplexing I have to trim the first 8 nucleotides (UMI) of the 5' end and add them to the read name line. This will be useful for deduplication in a later step.

Can somebody help me how to do this? I think I could use Cutadapt --cut to trim away the 8 nt but then how can I preserve these in the read name line?

Thank you!

p.s.: I am only familiar with unix and R

rna-seq 5cap-seq tss-seq umi trim

1 answer

Take a look at umi-tools. (LINK)

Log in to answer this question.