摘要: 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) 编辑