This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Get Pdb Files Through Application

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;

pdb programming api

2 answers

  1. Save the file to the local filesystem so you only need to download it once
  2. 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.