## 思路:以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

相关文章:

  • 2022-12-23
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-13
猜你喜欢
  • 2022-03-09
  • 2022-01-21
  • 2022-12-23
  • 2021-06-09
相关资源
相似解决方案