I am trying to access the content of PDB files of a protein using their PDBIds. I am using this service in a my application that i'm developing (using c# language).
What I do at the moment is to use the url below: http://www.rcsb.org/pdb/download/downloadFile.do?fileFormat=pdb&compression=NO&structureId=XXXX (where XXXX stands for the pdb code)
but this way is slow and I need to download the file, while i want to be able to access the content without the need of downloading.
Do you have any suggestions?
Thanks;
2 answers
- Save the file to the local filesystem so you only need to download it once
- Download all PDBs and distribute them with your application
How about using the FTP service which may be a little faster.There is a perl script available from PDB for this purpose
ftp://snapshots.wwpdb.org/20050106/pub/pdb/software/getPdbStructures.html ftp://snapshots.wwpdb.org/20050106/pub/pdb/software/getPdbStructures.pl
Note that this script will NOT work as the FTP location has now changed. You can choose the latest download location from here: http://www.rcsb.org/pdb/static.do?p=download/ftp/index.html
Log in to answer this question.