awk regrex pattern
In SNPTEST output, the header get “#” and “alternate_ids” which I don’t want to process. with awk, it is quite simple to skip these lines with regrex: cat snptest.out | awk ‘!/#|alternate_ids {print $0}’ OFS=$”\t” can use tab as output seperator NR line number, if you know how many lines you don’t want in… Continue reading awk regrex pattern