[Bioperl-l] Bio::Structure with CGI!

Jason Stajich jason at cgt.duhs.duke.edu
Fri May 30 12:37:40 EDT 2003


You can do what you want with the
my $filehandle = IO::String->new($pdbdata_in_strin);

new Bio::Structure::IO(-fh => $filehandle,
			... other initialization stuff here
			 )

All Bioperl modules which do IO (that use Bio::Root::IO) support this
feature.

-jason

On Thu, 29 May 2003, UT wrote:

> Hello,
>
> I am stuck with Bioperl's structure module while trying to parse pdb files..
> We have a web interface that allows a client to upload a "pdb" file, it
> looks like Bio::Structure only takes local files. So we have to save the
> uploaded file to the local drive, then process it. It is memory-inefficient
> and can create security holes in our server. Is there a way that I can
> process the pdb file from remote machines without actually saving them into
> the server again? Is Bio::Structure the only module I can use to parse pdb
> files in Bioperl?
>
> Your help would be appreciated,
> Lyne
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>

--
Jason Stajich
Duke University
jason at cgt.mc.duke.edu


More information about the Bioperl-l mailing list