Entering edit mode
8.1 years ago
wasteyae.steyaert
▴
10
Hi there,
In order to fetch exonic variants from 1000G phase 3 I use Ensembl 84 API and followed the instructions as in http://www.ensembl.info/blog/2015/06/18/1000-genomes-phase-3-frequencies-genotypes-and-ld-data/ Nevertheless I get this error:
connect: Connection timed out
[E::hts_open] fail to open file 'ftp://ftp.ensembl.org/pub/variation_genotype/homo_sapiens/ALL.chr1.phase3_shapeit2_mvncall_integrated_v3plus_nounphased.rsID.genotypes.GRCh38_dbSNP.vcf.gz'
Could not read ftp://ftp.ensembl.org/pub/variation_genotype/homo_sapiens/ALL.chr1.phase3_shapeit2_mvncall_integrated_v3plus_nounphased.rsID.genotypes.GRCh38_dbSNP.vcf.gz
Tabix::tabix_query: t is not of type tabix_tPtr at /home/wsteyaer/APIs/e83/ensembl-io/modules//Bio/EnsEMBL/IO/TabixParser.pm line 67.
Does anyone have an idea on this? Tabix is uncluded in my path..
I already have this error with this simple script
my $variation_adaptor = $registry->get_adaptor('homo_sapiens', 'variation', 'variation');
# Tell API to use VCFs
$variation_adaptor->db->use_vcf(1);
my $variation = $variation_adaptor->fetch_by_name('rs699');
my $alleles = $variation->get_all_Alleles();