Question: Principal Component Analysis using SNP data ste
gravatar for SOHAIL
17 months ago by
Beijing Institute of Genomics, CAS.
SOHAIL170 wrote:

Hi everybody,

I have two population of Whole genome SNP calls, and i want to perform Principal component analysis on my set of variant calls together with variant information of population samples from 1000 genomes by using Eigensoft or some other good software.

can anyone please describe in steps how to do that, especially (bit in detail) how to combine the variant information between 1000 genome samples and my samples and later format conversion steps?

Thank you very much! .

pca analysis ngs • 3.1k views
ADD COMMENTlink modified 17 months ago by brentp22k • written 17 months ago by SOHAIL170
gravatar for WouterDeCoster
17 months ago by
WouterDeCoster27k wrote:

I never got to play with it, but kept it saved in my to do list (probably forever):

ADD COMMENTlink written 17 months ago by WouterDeCoster27k
gravatar for Ahill
17 months ago by
United States
Ahill1.1k wrote:

If you are an R user, the SNPRelate package provides PCA and routines that would allow you to bring in datasets like 1000G from VCF or PLINK format files:

ADD COMMENTlink modified 20 days ago • written 17 months ago by Ahill1.1k

Hi Ahil! cannot access openthens account.. :(

ADD REPLYlink written 17 months ago by SOHAIL170
gravatar for brentp
17 months ago by
Salt Lake City, UT
brentp22k wrote:

If your data is in VCF format, you can do this with peddy:

The command would look like:

python -m peddy -p 4 --plot --prefix my.out $vcf $ped

this will do a PCA with your samples projected onto those from thousand genomes and ancestry predicted according to those. In addition to an interactive html file, you'll get (among others) a PCA plot that looks like:

enter image description here

Where the points from your cohort will be the big open circles and the small ones in the background are the 1000 genomes samples.

ADD COMMENTlink written 17 months ago by brentp22k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 957 users visited in the last hour