thank you for your reply. sorry next time I will provide a text file and more information.
• 0 views
•
link
hello,
sorry for disturbing.
i would like to know how to extract barcode from a fastq file.
my fastq file is as follow;
thank you for your help.
Assuming you are talking about Illumina barcodes, you can extract them from the header lines:
zcat file.fastq.gz \
| awk 'NR%4==1' \
| awk -F":" '{print $(NF)}' \
| sort \
| uniq -c
As others pointed out, you didn't provide information enough, and using pictures to illustrate text isn't a good practice.
Log in to answer this question.
thank you for your help.