上一页 1 ··· 117 118 119 120 121 122 123 124 125 ··· 367 下一页
摘要: 000、问题如下: 001、 002、 003、 004、勾选 005、 参考:https://www.cnblogs.com/zouhuaxin/p/16732666.html 阅读全文
posted @ 2022-11-01 23:22 小鲨鱼2018 阅读(2634) 评论(0) 推荐(0) 编辑
摘要: 001、打包 [root@pc1 test3]# ls a.txt b.txt c.map df110 tmp1 [root@pc1 test3]# tar -cf all.tar * ## 打包 [root@pc1 test3]# ls all.tar a.txt b.txt c.map df11 阅读全文
posted @ 2022-11-01 10:13 小鲨鱼2018 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 001、问题 [root@pc1 test4]# ls a.fa test.py [root@pc1 test4]# cat a.fa >chr1 aatt cc >chr2 ttgg ccttgg >chr3 TTCCGG cctt ccgg [root@pc1 test4]# cat test. 阅读全文
posted @ 2022-10-31 15:35 小鲨鱼2018 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 001、方法1 >>> list1 = ["aaa", "bbb", "ccc"] >>> list2 = [100, 500, 300] >>> dict1 = dict(zip(list1, list2)) >>> dict1 {'aaa': 100, 'bbb': 500, 'ccc': 30 阅读全文
posted @ 2022-10-31 11:44 小鲨鱼2018 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@pc1 test3]# ls a.txt [root@pc1 test3]# cat a.txt ## 测试数据 r d u y f s x v y [root@pc1 test3]# rev a.txt ## 实现按列反转 u d r s f y y v x 阅读全文
posted @ 2022-10-31 08:42 小鲨鱼2018 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 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) 编辑
上一页 1 ··· 117 118 119 120 121 122 123 124 125 ··· 367 下一页