More posts like this
-
Can genotype PCs from GRCh37 be directly used in GRCH38 situation?
written by shX •I am new to do QTL analysis, and I have some question about genotype PCs generation. I would really appreciate it if someone could answer …
-
How to Turn Multiple ALT alleles to Genotype Calls
written by jimkozubek •I have a VCF file and many lines have multiple ALT alleles such as: 1 104159 . CA C,TA,TTT I have an algorithm that takes …
-
LD between CNVs and exterior SNPs
written by AnaHello everyone, I have a few copy number variants (all multi-allelic) and trying to estimate LD between these CNVs and all SNPs across the genome …
-
SOLVED: how to change SnpMatrix in to numeric
written by zwang10 •I use `read.plink` from package `snpStats`. I use following to read `bed` file, and I want to get the 0,1,2 matrix. GENOTYPE=read.plink("chr22_1",na.strings = "NA") Then, …
-
R:how to read bed file with identical Famliy ID by read.plink
written by zwang10 •I have three files, `chr_22.bed`,`chr_22.bim`,`chr_22.fam`. I always use `read.plink` from `MultiPhen` to get snp matrix in R ```r genotype=read.plink(root="/home/chr_22") ``` But today when I use …
-
vcftools: the length of each row is not same
written by zwang10 •Hello! I have vcf.gz file, and I want to change it into 012 matrix. I use follow command vcftools --gzvcf chr1.vcf.gz --out chr1 --012 Then, …
-
How to remove the high correlated SNPs in R
written by zwang10 •Hello all! I have a data set (matrix) of a gene, each row represents an individual, and each column represents a genotype score (0, 1, …
-
How to estimate of coefficients of logistic model
written by zwang10 •Consider model `logit(p)=a+bx`. I would like to get a analytic formula of `a` and `b` like in linear regression. In linear regression, we can get …
-
Converting Snp Genotype Data Into 0,1,2 Matrix Any Software?
written by grittygeek •<p>Hello,</p> <p>I have SNP Genotype data and I am looking forward to convert it to matrices of 0,1,2. I found the same question in <a …
-
How To Convert Snp Genotype Data Into 0,1,2 Matrix
written by Fayue1015 •<p>Hi, all Here propose the questions of how to convert the raw genotype data into a matrix filled with 0,1,2.</p> <p>In the raw data, there …
Did you check vcftools manual ?
I tried here. But I have problem, that is the length of chr.012.pos is not same as the length of rows of chr.012
Hello zwang10!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!
PS: Do not open multiple questions for the same topic.