Skip to content

Instantly share code, notes, and snippets.

@nuada
Created October 16, 2019 06:58
Show Gist options
  • Save nuada/e3532ecab5d5b66ac512e569da968898 to your computer and use it in GitHub Desktop.
Save nuada/e3532ecab5d5b66ac512e569da968898 to your computer and use it in GitHub Desktop.
Split and compress gzipped tabular files
zcat very-large.gff3.gz | awk '{ print $0 | "gzip > split." $1 ".gff3.gz"; }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment