上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 367 下一页
摘要: 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 阅读(121) 评论(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 阅读(603) 评论(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 阅读(71) 评论(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 阅读(114) 评论(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 阅读(544) 评论(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 阅读(19) 评论(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 阅读(196) 评论(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 阅读(962) 评论(0) 推荐(0) 编辑
摘要: 001、 [root@PC1 test]# ls a.txt [root@PC1 test]# cat a.txt ## 测试数据 30 y 10 t 40 d 20 w ## 借助数组来实现 [root@PC1 test]# awk '{ay[NR] = $1; sum += $1} END {f 阅读全文
posted @ 2023-05-25 16:53 小鲨鱼2018 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 001、系统 [root@PC1 software]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) 002、安装依赖 [root@PC1 software]# yum install -y gcc libuuid-deve 阅读全文
posted @ 2023-05-23 00:42 小鲨鱼2018 阅读(312) 评论(0) 推荐(0) 编辑
上一页 1 ··· 79 80 81 82 83 84 85 86 87 ··· 367 下一页