Last active
October 30, 2015 14:10
-
-
Save yuifu/0c615c6b684f5a2458d4 to your computer and use it in GitHub Desktop.
Extract FASTQ entries with a specific sequence length
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk 'BEGIN{l=100}{if(NR%4==1){x=$0};if(length($0)==l){print x; print; getline; print; getline; print}}' foo.fastq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment