Skip to content

Commit 4e9cbc7

Browse files
committed
URL update for foldcomp setup
1 parent 927e5ec commit 4e9cbc7

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ Currently we offer the following databases:
111111
* ESMAtlas high-quality: `foldcomp.setup('highquality_clust30')`
112112

113113
**Note:** We skipped all structures with discontinous residues or other issues.
114-
Here is a list with the affected predictions;
115-
[full](https://foldcomp.steineggerlab.workers.dev/esmatlas.err.log) (~21M),
116-
[high-quality](https://foldcomp.steineggerlab.workers.dev/highquality_clust30_issues.txt) (~100k),
117-
[v2023_02](https://foldcomp.steineggerlab.workers.dev/esmatlas_v2023_02.err.log) (~10k)
118114

119115
* [AlphaFoldDB Uniprot](https://alphafold.ebi.ac.uk/): `foldcomp.setup('afdb_uniprot_v4')`
120116
* AlphaFoldDB Swiss-Prot: `foldcomp.setup('afdb_swissprot_v4')`

foldcomp/setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
async def get_size(client, url):
77
response = await client.head(url=url)
88
if response.status_code == 200:
9-
return int(response.headers["Content-Length"])
9+
return int(response.headers["content-length"])
1010
else:
1111
return -1
1212

@@ -92,7 +92,7 @@ def setup(db="afdb_swissprot", download_chunks=16):
9292
for i in ["", ".index", ".dbtype", ".lookup", ".source"]:
9393
asyncio.run(
9494
download(
95-
f"https://foldcomp.steineggerlab.workers.dev/{db}{i}",
95+
f"https://steineggerlab.s3.amazonaws.com/foldcomp/{db}{i}",
9696
f"{db}{i}",
9797
chunks=download_chunks,
9898
)
@@ -102,7 +102,7 @@ def setup(db="afdb_swissprot", download_chunks=16):
102102
async def setup_async(db="afdb_swissprot", download_chunks=16):
103103
for i in ["", ".index", ".dbtype", ".lookup", ".source"]:
104104
await download(
105-
f"https://foldcomp.steineggerlab.workers.dev/{db}{i}",
105+
f"https://steineggerlab.s3.amazonaws.com/foldcomp/{db}{i}",
106106
f"{db}{i}",
107107
chunks=download_chunks,
108108
)

0 commit comments

Comments
 (0)