Skip to content

Instantly share code, notes, and snippets.

@alienzj
Last active April 25, 2024 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alienzj/39c460c47232ec1e74d0ce503dd35570 to your computer and use it in GitHub Desktop.
Save alienzj/39c460c47232ec1e74d0ce503dd35570 to your computer and use it in GitHub Desktop.
Check the length of seq and qual in FASTQ file
bioawk -c fastx \
'{print $name "\t" length($seq) "\t" length($qual)}' <path/to/fastq.gz> | \
awk '$2!=$3{print}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment