摘要: 001、 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt ## 测试数据 1 2 3 4 5 6 7 8 9 10 ## 转换为两列数据 [root@pc1 test]# cat a.txt | paste -s -d " " | awk ' 阅读全文
posted @ 2022-10-29 23:46 小鲨鱼2018 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 001、paste -s 实现 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt 1 2 3 4 5 [root@pc1 test]# paste -s a.txt ## paste 将一列数据转换为一行数据 1 2 3 4 5 [root@p 阅读全文
posted @ 2022-10-29 23:26 小鲨鱼2018 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: 001、 gatk CombineGVCFs -R GCF_000001735.4_TAIR10.1_genomic.fna --variant SRR21814498.g.vcf --variant SRR21814509.g.vcf --variant SRR21814514.g.vcf -O 阅读全文
posted @ 2022-10-29 01:23 小鲨鱼2018 阅读(3922) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt ## 测试数据 1 2 3 4 5 6 [root@pc1 test]# sed '3a xx' a.txt ## 在第3行后面插入内容 1 2 3 xx 4 5 6 阅读全文
posted @ 2022-10-29 01:19 小鲨鱼2018 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test]# ls a.txt test.py [root@pc1 test]# cat a.txt 1 2 3 4 5 [root@pc1 test]# cat test.py #!/usr/bin/python in_file = open("a.txt", "r" 阅读全文
posted @ 2022-10-29 00:40 小鲨鱼2018 阅读(58) 评论(0) 推荐(0) 编辑