ythuang0522 / homopolish

High-quality Nanopore-only genome polisher
GNU General Public License v3.0
65 stars 12 forks source link

FTP to https #63

Open JonathanAbrahams1337 opened 5 months ago

JonathanAbrahams1337 commented 5 months ago

I think this is quite a common thing, but not sure if it effects all regions and institutions, but I have had to replace ftp with https.

ftp doesnt work for me!

so it would be url = "https://ftp.ncbi.nlm.nih.gov/genomes/all/{gcf}/{letter}/{id}/{filename}".format(gcf=gcf, letter=letter, id=id, filename=filename)

https://github.com/ythuang0522/homopolish/blob/4f0022c13ebb6271fd205d127fe03d2df21e9ef4/modules/download.py#L118