摘要: 001、每行输出为4个碱基 [root@pc1 test]# ls test.fa [root@pc1 test]# cat test.fa >chr1 aatt cctt >chr2 ttgg aacc >chr3 TTCCGG [root@pc1 test]# awk '{if($0 ~ /^> 阅读全文
posted @ 2022-10-30 18:07 小鲨鱼2018 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test]# cat a.txt 1 2 3 4 5 6 7 8 9 10 [root@pc1 test]# awk -v a=$(awk 'END{if(NR % 3 != 0) {printf("%d", NR / 3 + 1)} else {print NR / 阅读全文
posted @ 2022-10-30 00:31 小鲨鱼2018 阅读(86) 评论(0) 推荐(0) 编辑