上一页 1 ··· 355 356 357 358 359 360 361 362 363 ··· 367 下一页
摘要: 1、准备测试数据 [root@linuxprobe test3]# cat test.map 1 snp1 0 55910 1 snp2 0 85204 1 snp3 0 122948 1 snp4 0 203750 1 snp5 0 312707 1 snp6 0 356863 1 snp7 0 阅读全文
posted @ 2020-10-12 21:13 小鲨鱼2018 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试数据 [root@linuxprobe test3]# cat a.txt e i j s e f Y U D S D G 2、小写转换为大写 tr [root@linuxprobe test3]# tr [a-z] [A-Z] < a.txt ## 所有小写字符转换为大写 E I J 阅读全文
posted @ 2020-10-11 23:27 小鲨鱼2018 阅读(3273) 评论(0) 推荐(1) 编辑
摘要: 1、创建测试数据 [root@linuxprobe test3]# cat a.txt wrwrt fdgsaf fsads gdfgde fsddd dffgdf sfdef sdfdsg 2、 [root@linuxprobe test3]# sed 's/.//' a.txt ##删除开头一个 阅读全文
posted @ 2020-10-11 22:28 小鲨鱼2018 阅读(3688) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试数据 [root@linuxprobe test3]# cat a.txt w r t f s 4 6 6 a g g s d g r 4 d e w h s f g h 2、 [root@linuxprobe test3]# grep -E '^w|^a|h$' a.txt ## 提取 阅读全文
posted @ 2020-10-11 21:45 小鲨鱼2018 阅读(1457) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试数据 [root@linuxprobe test3]# echo {1..300} | xargs -n 15 > a.txt [root@linuxprobe test3]# cat a.txt 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 阅读全文
posted @ 2020-10-11 21:35 小鲨鱼2018 阅读(10223) 评论(0) 推荐(0) 编辑
摘要: 1、运行python程序遇到下面问题,python版本3.6.8 ModuleNotFoundError: No module named 'scipy' 2、 pip3 install scipy 阅读全文
posted @ 2020-10-11 10:21 小鲨鱼2018 阅读(7177) 评论(0) 推荐(0) 编辑
摘要: 1、运行python程序,遇到下面报错,python版本3.6.8 import numpy as np ModuleNotFoundError: No module named 'numpy' 2、执行如下命令 pip3 install numpy 阅读全文
posted @ 2020-10-10 23:58 小鲨鱼2018 阅读(6733) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 [root@linuxprobe test]# ls test.map test.ped [root@linuxprobe test]# cat test.map ## 测试数据snpID为. 1 . 0 55910 1 . 0 85204 1 . 0 122948 1 . 0 203 阅读全文
posted @ 2020-10-10 21:53 小鲨鱼2018 阅读(521) 评论(0) 推荐(0) 编辑
摘要: 1、准备测试数据,8个样本,8个位点 [root@linuxprobe test]# cat outcome.ped DOR 1 0 0 0 -9 A G G G G G G C G G C C C C 0 0 DOR 2 0 0 0 -9 G G G G A G C C G G G C C C 0 阅读全文
posted @ 2020-10-10 20:58 小鲨鱼2018 阅读(2287) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试数据 [root@linuxprobe test]# cat a.txt ## 随机创建测试数据 fr dfg rte er hdf fgh dg fgd rtw er ewr scf yt ret tgr 2、简单用法 [root@linuxprobe test]# awk '$1 ~ 阅读全文
posted @ 2020-10-09 13:00 小鲨鱼2018 阅读(2598) 评论(0) 推荐(0) 编辑
上一页 1 ··· 355 356 357 358 359 360 361 362 363 ··· 367 下一页