上一页 1 ··· 294 295 296 297 298 299 300 301 302 ··· 408 下一页
摘要: centos中安装那个cmake。 1、问题 [root@PC3 home]# cmake bash: cmake: command not found... Similar command is: 'make' 当前系统: [root@PC3 home]# lsb_release -a LSB V 阅读全文
posted @ 2021-07-08 18:54 小鲨鱼2018 阅读(10004) 评论(0) 推荐(0)
摘要: 杂合度计算分为两种:位点杂合度和样本杂合度 1、计算位点杂合度,测试数据如下: [root@centos79 test]# ls outcome.map outcome.ped [root@centos79 test]# cat outcome.map ## 8个snp位点 1 snp1 0 559 阅读全文
posted @ 2021-07-08 13:55 小鲨鱼2018 阅读(3534) 评论(0) 推荐(0)
摘要: 1、 [root@centos79 test]# cat a.txt 1 2 3 4 5 6 7 8 9 10 [root@centos79 test]# sed '/2/ s/^/xxx/' a.txt 1 xxx2 3 4 5 6 7 8 9 10 [root@centos79 test]# s 阅读全文
posted @ 2021-07-07 23:57 小鲨鱼2018 阅读(234) 评论(0) 推荐(0)
摘要: 1、测试数据如下: [root@centos79 test]# seq 10 > a.txt [root@centos79 test]# ls a.txt [root@centos79 test]# cat a.txt 1 2 3 4 5 6 7 8 9 10 2、提取第2行 [root@cento 阅读全文
posted @ 2021-07-07 23:05 小鲨鱼2018 阅读(24174) 评论(0) 推荐(2)
摘要: plink --filp命令实现正负链的反转 1、 [root@centos79 test]# ls ## 测试数据如下, 8个位点, 8个样本 a.txt outcome.map outcome.ped [root@centos79 test]# cat outcome.map 1 snp1 0 阅读全文
posted @ 2021-07-07 09:59 小鲨鱼2018 阅读(942) 评论(0) 推荐(0)
摘要: 1、 dat <- read.table("test.map",header = F) dat2 <- dat[c(1,4)] unique(sort(dat2$V1)) dat2[dat2$V1 == "X",]$V1 = 10000 dat2$V1 <- as.numeric(dat2$V1) 阅读全文
posted @ 2021-07-06 13:23 小鲨鱼2018 阅读(226) 评论(0) 推荐(0)
摘要: 1、 a <- c(1,3,10,6,2) class(a) order(a) ## 数值型, 排序结果 10 > 2 b <- c(1,3,10,6,2,"x") class(b) order(b) ##字符型,排序结果 10 < 2 阅读全文
posted @ 2021-07-06 12:13 小鲨鱼2018 阅读(325) 评论(0) 推荐(0)
摘要: linux系统中find命令 1、直接查找文件名 测试文件如下: [root@centos79 test]# ls 01.txt 02.csv 02.txt 03.csv 04.txt [root@centos79 test]# find "02.txt" 02.txt [root@centos79 阅读全文
posted @ 2021-07-05 22:15 小鲨鱼2018 阅读(262) 评论(0) 推荐(0)
摘要: 1、查看环境变量 [root@centos79 tmp]# export | wc -l 29 [root@centos79 tmp]# export declare -x HISTCONTROL="ignoredups" declare -x HISTSIZE="1000" declare -x 阅读全文
posted @ 2021-07-05 21:48 小鲨鱼2018 阅读(836) 评论(0) 推荐(0)
摘要: 1、rename命令 [root@centos79 test]# ls a.mp4 dup1.mp4 dup2.mp4 dup4.mp4 [root@centos79 test]# rename mp4 txt *.mp4 [root@centos79 test]# ls a.txt dup1.tx 阅读全文
posted @ 2021-07-05 19:42 小鲨鱼2018 阅读(245) 评论(0) 推荐(0)
上一页 1 ··· 294 295 296 297 298 299 300 301 302 ··· 408 下一页