1、下载安装bcftools。 2、准备样本ID文件,这里命名为samplelistname.txt,一个样本一行,如下所示: sample1 sample2 sample3 3、输入命令: bcftools view -S samplelistname.txt ...
一 提取样本: 提取样本见命令行: plink bfile file noweb keep sampleID.txt recode make bed out sample 其中,sampleID.txt第一列为提取的样本Family ID,第二列为Within family ID IID 同样的,如果是去除样本,则用参数 remove 二 提取SNP位点 plink bfile file extr ...
2018-05-04 16:47 0 2336 推荐指数:
1、下载安装bcftools。 2、准备样本ID文件,这里命名为samplelistname.txt,一个样本一行,如下所示: sample1 sample2 sample3 3、输入命令: bcftools view -S samplelistname.txt ...
1、bcftools提取指定区段的vcf文件 下载安装bcftools 见如下命令: bcftools filter 1000Genomes.vcf.gz --regions 9:4700000-4800000 > 4700000-4800000.vcf 注意:输入 ...
1、测试数据 2、提取 3,5,7,8,9,15,17行 使用sed 使用awk 使用while语句: while + awk ...
linux系统中批量提取指定列的数据。 1、测试数据 2、提取 3,5,7,8,9,15,17列 3、awk提取 4、while语句 ...
1、 ...
grep查找ERROR,定位位置 awk打印到指定行数 sed打印到文本末尾 awk打印到文本末尾 方法一 方法二 请教大神得到的多种方法 ...
Newtonsoft.Json.dll retString原始数据 ...
假设有文件长如下样子: CHROM POS ID REF ALT QUAL FILTER INFO FORMAT samplename 1 35 ...