1 Nov 2010 07:58
Re: how to download PDB files using Bioperl script
chirag matkar <chiragmatkarbioinfo <at> gmail.com>
2010-11-01 06:58:55 GMT
2010-11-01 06:58:55 GMT
Use Perl Mechanize Module to fetch pdb data in bulk Example , Each pdb file is saved in path http://www.rcsb.org/pdb/files/1HKB.pdb use WWW::Mechanize; use Storable; $url = 'http://www.rcsb.org/pdb/files/1HKB.pdb'; $m = WWW::Mechanize->new(); $m->get($url); $c = $m->content; print $c; Just create a filehandle to fetch pdb id from text file and create a new object for each id and loop it to fetch data On Wed, Oct 27, 2010 at 11:53 PM, Christopher Bottoms <maizemu <at> gmail.com> wrote: > Ashwani, > > Do you need to download the files once or does this need to be automated? > > If you just need to do it once, check out > http://www.rcsb.org/pdb/download/download.do for downloading multiple > files. > > If you need to automate the process, let me know and I'll help you > figure it out. The easiest way I can think of, which I used to do, is > downloading them from the ftp site.(Continue reading)
RSS Feed