Skip to content

Instantly share code, notes, and snippets.

@michaelbarton
Created July 7, 2009 14:03
Show Gist options
  • Save michaelbarton/142091 to your computer and use it in GitHub Desktop.
Save michaelbarton/142091 to your computer and use it in GitHub Desktop.
BEGIN { FS = OFS = ","
print "gene", "cost", "cost-type"}
/yeast-carbon|weight/ && /0\.1/ && /nitrogen/{
gsub(/"/,"")
gsub(/yeast-carbon-/,"")
printf "%s,%3.4f,%s\n", $2, $3, $13
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment