Just a collection of some random cool stuff.
PS. Almost 99% of the contents here are not mine and I don't take credit for them, I reference and copy part of the interesting sections.
Wednesday, July 27, 2011
Skip first line using awk's FNR>1
Skip first line using FNR>1
$ head chr4-dp5.sorted.coverage | awk '{ if(FNR>1) {split($1, a, ":"); print a[1]"\t"a[2]"\t"$2"\t"$3"\t"$4} }'
No comments:
Post a Comment