MareesAT / GWA_tutorial

A comprehensive tutorial about GWAS and PRS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ftp vs https in downloading 1000 genome vcf file in Step 2_Population_stratification

SarojaSomu opened this issue · comments

Hi,

I noticed using the command wget ftp://ftp-trace.ncbi.nih.gov/1000genomes/ftp/release/20100804/ALL.2of4intersection.20100804.genotypes.vcf.gz from the 2_Main_script_MDS.txt downloads a corrupted file. Hence creating plink files from the vcf resulted in file read failure error. But when ftp is replaced with https like this, wget https://ftp-trace.ncbi.nih.gov/1000genomes/ftp/release/20100804/ALL.2of4intersection.20100804.genotypes.vcf.gz, there is no file corruption issue and the download is faster as well.

Thanks

I was using that old ftp link as well and running into issues. Thank you for this insight!