Skip to content

Instantly share code, notes, and snippets.

@poeli
Created May 9, 2018 16:03
Show Gist options
  • Save poeli/34aa3919f74d20f28eb24d5e00f42e89 to your computer and use it in GitHub Desktop.
Save poeli/34aa3919f74d20f28eb24d5e00f42e89 to your computer and use it in GitHub Desktop.
Extract read name from FASTQ file
#!/bin/sh
awk 'NR%4==1 {print substr($1,2)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment