Is there a way to create a module to retrieve PDB file data from the Protein database - http://www.rcsb.org/?
Also once the data has been populated from the search, I would like the user to be able to able to download the pdb file or save it in their project profile. Would this problem be too complex for anyone to help me in?

Well any help would be appreciated!

Comments

WorldFallz’s picture

Based on the info at http://www.rcsb.org/pdb/software/wsreport.do (see Example 2), it looks like you should be able to set up a period import with the feeds module using the HTTP fetcher and the CSV parser.

Shouldn't require a single line of code. Google around there's tons of info, tutorials, and videos on how to use the feeds module.

If you don't want to cache the info locally, you could try out the remote_entity or wsdata modules.

As for downloading the PDB file, you'd have to setup some sort of scheduled FTP to get it from their site and put it in the sites/default/files folder structure somewhere, then you could simply provide a link to download the file on your site. They provide scripts for it right in their downloads area.

No clue what "save it in their project profile" means, but you could just link to it or provide a view to it on their profile.