2021年3月5日星期五

rename fastq file headers using sed command

I am trying to rename the fastq header and add "/1" at the end of fastq header using sed commmand. Here is my code:

sed i '1~4 s/$/\\1/g' seq/*_1.fq  

But no change has been made. Did someone know how to solve this? Thanks!

https://stackoverflow.com/questions/66501944/rename-fastq-file-headers-using-sed-command March 06, 2021 at 11:00AM

没有评论:

发表评论