Work

Awk Command to Count Total, Unique, and the Most Abundant Read in a FASTQ file

Year: 2012
Type: other
Abstract: I was reading through a paper on comparative ChIP-Seq when I found this awk gem that lets you get some very basic stats very quickly on next generation sequencing reads. To use, simply cat the fastq file (or gunzip -c) and pipe that to this awk command: cat myfile.fq | awk '((NR-2)%4==0){read=$1;total++;count[read]++}END{for(read in count){if(!max||count[read]>max)
Language: English
Open Access status: gold
OpenAlex ID: W4417085360
Cites:
Cited by:
Related to: 10