Skip to content

Instantly share code, notes, and snippets.

@mlist
Created May 1, 2014 07:29
Show Gist options
  • Save mlist/11446169 to your computer and use it in GitHub Desktop.
Save mlist/11446169 to your computer and use it in GitHub Desktop.
How to filter out lines from a CSV file that begin with either CDS or UTR3 using awk, allowing you to process a 2GB file in mere seconds
awk -F, '$1 !~ /(^CDS|^UTR3)/' microT_CDS_data.csv > microT_CDS_data.filtered.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment