上一页 1 ··· 120 121 122 123 124 125 126 127 128 ··· 408 下一页
摘要: 001、 [root@PC1 test3]# ls test1 test2 [root@PC1 test3]# tree ## 测试数据 . ├── test1 │ └── a.txt └── test2 └── b.txt 2 directories, 2 files [root@PC1 test 阅读全文
posted @ 2023-05-30 16:42 小鲨鱼2018 阅读(2960) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test4]# ls a.txt [root@PC1 test4]# cat a.txt ## 测试数据 aa bb cc dd kk jj ee uu rr [root@PC1 test4]# sed -n l a.txt aa bb cc$ dd\tkk\tjj$ 阅读全文
posted @ 2023-05-29 00:47 小鲨鱼2018 阅读(119) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test4]# ls a.txt [root@PC1 test4]# cat a.txt ## 测试数据 ee ff 88 fff aa ff uuk fff uuuu kkk yyy fff kkkk [root@PC1 test4]# awk '{print len 阅读全文
posted @ 2023-05-29 00:02 小鲨鱼2018 阅读(173) 评论(0) 推荐(0)
摘要: 001、匹配空格 [root@PC1 test4]# ls a.txt [root@PC1 test4]# cat a.txt ## 测试数据 1_aa bb 2_ccdd 3_ee ff 4_gg hh kk [root@PC1 test4]# sed -n l a.txt ## 显示出空格和制表 阅读全文
posted @ 2023-05-28 23:49 小鲨鱼2018 阅读(1078) 评论(0) 推荐(0)
摘要: 001、计算纯合率 (base) [root@PC1 test]# ls outcome.bed outcome.fam outcome.map outcome.ped outcome.bim outcome.log outcome.nosex (base) [root@PC1 test]# (ba 阅读全文
posted @ 2023-05-28 16:24 小鲨鱼2018 阅读(159) 评论(0) 推荐(0)
摘要: 001、测试数据 (base) [root@PC1 test]# ls ## 测试数据, plink格式 outcome.map outcome.ped (base) [root@PC1 test]# cat outcome.map 1 snp1 0 55910 1 snp2 0 85204 1 s 阅读全文
posted @ 2023-05-28 16:16 小鲨鱼2018 阅读(225) 评论(0) 推荐(0)
摘要: --max-missing 参数表示:最大的丢失率不超过 1-xxxx。 (base) [root@PC1 test]# ls outcome.map outcome.ped outcome.vcf (base) [root@PC1 test]# cat outcome.map 1 snp1 0 5 阅读全文
posted @ 2023-05-28 12:34 小鲨鱼2018 阅读(994) 评论(0) 推荐(0)
摘要: aaaa、#和%表示的是匹配删除 001、 # 表示从左侧删除匹配的字符, 单个#号表示非贪婪匹配, 两个#号表示贪婪匹配 [root@PC1 test]# ls [root@PC1 test]# var=http://www.aaa.com/123.htm ## 测试字符串 [root@PC1 t 阅读全文
posted @ 2023-05-28 00:10 小鲨鱼2018 阅读(30) 评论(0) 推荐(0)
摘要: 001、 [root@PC1 test]# ls a.txt b.txt c.txt [root@PC1 test]# find *.txt a.txt b.txt c.txt [root@PC1 test]# find *.txt | awk '{print "mv", $0, $0".bak"} 阅读全文
posted @ 2023-05-27 23:01 小鲨鱼2018 阅读(295) 评论(0) 推荐(0)
摘要: 001、grep实现 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 234 fw3mh i86st sfg yzv e32kut zd7 utes eywq [root@PC1 test]# grep -o ".$" a.t 阅读全文
posted @ 2023-05-27 22:33 小鲨鱼2018 阅读(1186) 评论(0) 推荐(0)
上一页 1 ··· 120 121 122 123 124 125 126 127 128 ··· 408 下一页