上一页 1 ··· 391 392 393 394 395 396 397 398 399 ··· 403 下一页
摘要: 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 阅读(3906) 评论(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 阅读(1491) 评论(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 阅读(10430) 评论(0) 推荐(0)
摘要: 1、运行python程序遇到下面问题,python版本3.6.8 ModuleNotFoundError: No module named 'scipy' 2、 pip3 install scipy 阅读全文
posted @ 2020-10-11 10:21 小鲨鱼2018 阅读(8225) 评论(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 阅读(7041) 评论(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 阅读(580) 评论(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 阅读(2607) 评论(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 阅读(2739) 评论(0) 推荐(0)
摘要: 1、准备测试数据10个样本,10个位点 [root@linuxprobe test]# ls test.map test.ped [root@linuxprobe test]# cat test.ped ## 10个样本,10行 DOR sample01 0 0 0 -9 G G C C G G G 阅读全文
posted @ 2020-10-07 00:44 小鲨鱼2018 阅读(9746) 评论(0) 推荐(1)
摘要: 1、R语言seq函数用于生成一段步长相等的序列 简单用法: > seq(5) ##默认从1开始,默认步长为1,只跟一个数字默认是终点 [1] 1 2 3 4 5 > seq(6) [1] 1 2 3 4 5 6 > seq(5.6) [1] 1 2 3 4 5 2、设定起点 > seq(5) [1] 阅读全文
posted @ 2020-10-06 19:57 小鲨鱼2018 阅读(10204) 评论(0) 推荐(1)
上一页 1 ··· 391 392 393 394 395 396 397 398 399 ··· 403 下一页