Skip to content

Commit

Permalink
Merge pull request #1294 from jamesmkrieger/prody-master
Browse files Browse the repository at this point in the history
updated pdb cluster url
  • Loading branch information
jamesmkrieger authored Feb 3, 2021
2 parents bdc9846 + fb579f6 commit 2be68c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prody/proteins/pdbclusters.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def listPDBCluster(pdb, ch, sqid=95):
def fetchPDBClusters(sqid=None):
"""Retrieve PDB sequence clusters. PDB sequence clusters are results of
the weekly clustering of protein chains in the PDB generated by blastclust.
They are available at FTP site: ftp://resources.rcsb.org/sequence/clusters/
They are available at FTP site: https://cdn.rcsb.org/resources/sequence/clusters/
This function will download about 10 Mb of data and save it after
compressing in your home directory in :file:`.prody/pdbclusters`.
Expand Down Expand Up @@ -135,7 +135,7 @@ def fetchPDBClusters(sqid=None):
count = 0
for i, x in enumerate(keys):
filename = 'bc-{0}.out'.format(x)
url = ('ftp://resources.rcsb.org/sequence/clusters/' + filename)
url = ('https://cdn.rcsb.org/resources/sequence/clusters/' + filename)
try:
inp = openURL(url)
except IOError:
Expand Down

0 comments on commit 2be68c2

Please sign in to comment.