Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#outputs top 20 barcodes in file, if there are any
zcat lane1_sample_L001_R1_001.fastq.gz | head -400000 | grep '^@HWI' | cut -d : -f 10 | sort | uniq -c | sort -nr | head -20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment