Skip to content

Instantly share code, notes, and snippets.

@dyollluap
Created March 3, 2017 07:23
Show Gist options
  • Save dyollluap/256220cf82fc43ae2cdd1dce10f30a14 to your computer and use it in GitHub Desktop.
Save dyollluap/256220cf82fc43ae2cdd1dce10f30a14 to your computer and use it in GitHub Desktop.
awk log transform log2(x +1) normalization
awk '{print log($1 +1)/log(2)}' filename.txt >filename.norm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment