R or Python packages to work with SNPs
1
0
Entering edit mode
3.8 years ago
schlogl ▴ 160

Hi guys hope everyone save and well.

I would like to know if you guys could me help pointing out some packages (R/python/or a software)to work with snps from 1000Genomes or esembl?

Need to get for example, some specific snps from south american pop, for do other analysis.

Thanks.

Paulo

snp • 777 views
ADD COMMENT
1
Entering edit mode

I know it's not in Python or R, but bcftools is probably your best bet if you want to just pick out the genotypes from a big .vcf, its probably the most memory efficient and quickest option.

ADD REPLY
3
Entering edit mode
3.8 years ago
aays ▴ 180

I don't know much about the R side, but cyvcf2 is your best bet for processing VCFs in Python - fast and efficient. Here's the GitHub repo and here's the documentation.

ADD COMMENT

Login before adding your answer.

Traffic: 1802 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