awk 以HWI开头,并且:相邻两行的第一个字段完全相同;

## 思路:以HWI开头,并且:相邻两行的第一个字段完全相同;
awk 'BEGIN{ last_col_1="xxxxxx"; last_row="bbbbbbbbbbb";} $1 ~ /HWI/{ if($1 == last_col_1) {print last_row; print $0;} last_col_1=$1; last_row=$0;}' test_for_filter_pairedreads.txt > temp001.txt

相关文章

系ubuntu 下面打开终端输入:sudo apt-get install sendmail...
依家我有1个软件goagent目录(大家懂得) 放在/home/gateman/...
其实我想讲的是 cp -L关于-L参数的解释:-L, --dereferenc...
原地址:http://www.rjgc.net/control/content/content.php?...
chroot,即 change root directory (更改 root 目录)。在 li...
简单解析下, stdin就是标准输入, stdout就是标准。举个例子...