Entering edit mode
24 months ago
reaset41
•
0
How do I add a 1 or 2 to the header of a fastq read file? To specify if it is from the R1 or R2 file
How do I add a 1 or 2 to the header of a fastq read file? To specify if it is from the R1 or R2 file
reformat.sh
from BBTools can do what you want.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
the fastq file format does not have headers or file comments. This is usually disambiguated by naming the first-read file so it has the suffix suffix "_R1.fq.gz" or "_1.fq.gz" and similarly for the second-read file.