seqtk icon indicating copy to clipboard operation
seqtk copied to clipboard

Rename the read ID

Open jiangzy26 opened this issue 8 years ago • 1 comments

I got a problem when i markduplicates using picardtools , it shows Values was put into PairInfoMap more than oce, i think it's the same reads ID problem , so i want to know how to handle this problem with using the command rename of seqtk, Thank you very much

jiangzy26 avatar Sep 23 '17 05:09 jiangzy26

You can rename your reads as follows:

seqtk rename old.fq.gz prefix_ | gzip > new.fq.gz

This wil name all the reads prefix_1, prefix_2, .... , prefix_346341 etc

tseemann avatar May 27 '18 07:05 tseemann