上一页 1 ··· 257 258 259 260 261 262 263 264 265 ··· 367 下一页
摘要: 1、测试数据 [root@centos7 test]# cat a.txt 4 8 2 6 2、直接求和 [root@centos7 test]# awk '{sum += $1}END{print sum}' a.txt 20 3、累积求和 [root@centos7 test]# cat a.t 阅读全文
posted @ 2021-06-25 00:51 小鲨鱼2018 阅读(3443) 评论(0) 推荐(0) 编辑
摘要: 1、创建测试文件: [root@centos7 test]# touch {a..f}.txt [root@centos7 test]# ls a.txt b.txt c.txt d.txt e.txt f.txt 2、删除b.txt文件以外的所有文件 method1: [root@centos7 阅读全文
posted @ 2021-06-25 00:06 小鲨鱼2018 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 以centos7.9为例。 1、 [root@centos7 test]# uname -a Linux centos7 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux 阅读全文
posted @ 2021-06-24 23:35 小鲨鱼2018 阅读(1379) 评论(0) 推荐(0) 编辑
摘要: 1、创建5个测试数据文件 [root@centos7 test]# dd if=/dev/zero bs=1M count=100 of=a.txt [root@centos7 test]# dd if=/dev/zero bs=1M count=10 of=b.txt [root@centos7 阅读全文
posted @ 2021-06-24 23:26 小鲨鱼2018 阅读(1564) 评论(0) 推荐(0) 编辑
摘要: c语言中double关键字和double关键字的区别。 1、 #include <stdio.h> int main(void) { float num1; double num2; //以上声明了两种不同类型的变量 printf("Please enter two floating point n 阅读全文
posted @ 2021-06-23 22:22 小鲨鱼2018 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 安装软件后,如果不针对软件的可执行程序设置环境变量,则在每次使用软件时,均需要调用软件可执行程序的绝对路径,相对繁琐。 以下以plink软件为例,将plink的可执行程序加入环境变量。 1、首先下载plink软件,http://zzz.bwh.harvard.edu/plink/download.s 阅读全文
posted @ 2021-06-23 21:59 小鲨鱼2018 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据下载 链接:https://pan.baidu.com/s/1EfffExvtxZYI1QLuxUZQ_g 提取码:5wfe 数据为plink 格式数据test.map、test.ped ; 一共包含三个品种,DOR、GMM、SUN各20个样本。 2、下载、安装detectRUNS包 i 阅读全文
posted @ 2021-06-23 21:55 小鲨鱼2018 阅读(1280) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据下载 链接:https://pan.baidu.com/s/1EfffExvtxZYI1QLuxUZQ_g 提取码:5wfe 数据为plink 格式数据test.map、test.ped ; 一共包含三个品种,DOR、GMM、SUN各20个样本。 2、提取两个品种数据 grep -E " 阅读全文
posted @ 2021-06-23 21:49 小鲨鱼2018 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据下载 链接:https://pan.baidu.com/s/1EfffExvtxZYI1QLuxUZQ_g 提取码:5wfe 数据为plink 格式数据test.map、test.ped ; 一共包含三个品种,DOR、GMM、SUN各20个样本。 2、下载gcta软件,官网: https 阅读全文
posted @ 2021-06-23 21:45 小鲨鱼2018 阅读(871) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据下载 链接:https://pan.baidu.com/s/1EfffExvtxZYI1QLuxUZQ_g 提取码:5wfe 数据为plink 格式数据test.map、test.ped ; 一共包含三个品种,DOR、GMM、SUN各20个样本。 2、使用plink将测试数据转化为二进制 阅读全文
posted @ 2021-06-23 21:41 小鲨鱼2018 阅读(883) 评论(0) 推荐(0) 编辑
上一页 1 ··· 257 258 259 260 261 262 263 264 265 ··· 367 下一页