Principal Component Analysis using SNP data ste
3
2
Entering edit mode
7.5 years ago
SOHAIL ▴ 400

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! .

ngs PCA analysis • 11k views
ADD COMMENT
5
Entering edit mode
7.5 years ago
Ahill ★ 1.9k

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: http://corearray.sourceforge.net/tutorials/SNPRelate/#principal-component-analysis-pca http://dx.doi.org/10.1093/bioinformatics/bts606

ADD COMMENT
0
Entering edit mode

Hi Ahil! cannot access openthens account.. :(

ADD REPLY
4
Entering edit mode
7.5 years ago

I never got to play with it, but kept it saved in my to do list (probably forever): http://alimanfoo.github.io/2015/09/28/fast-pca.html

ADD COMMENT
3
Entering edit mode
7.5 years ago
brentp 24k

If your data is in VCF format, you can do this with peddy: https://github.com/brentp/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 COMMENT

Login before adding your answer.

Traffic: 2562 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6