Hi Tamas,

In case you are working with a PDB file that is located
somewhere on  your hard disk, you could use the code from below
to parse it in.

Cheers,
Andreas


String filename =  "path/to/pdbfile.ent" ;

 PDBFileReader pdbreader = new PDBFileReader();

 try{
        Structure struc = pdbreader.getStructure(filename);
        System.out.println(struc);
 } catch (Exception e) {
        e.printStackTrace();
 }



On 29 Nov 2005, at 16:25, Tamas Horvath wrote:

I've got an ArrayList<String> object containing a PDB file's information.How may I feed it to the structure parser? As far as I could see, it onlyaccepts BufferdReader or imputStream...


----------------------------------------------------------------------

Andreas Prlic      Wellcome Trust Sanger Institute
                              Hinxton, Cambridge CB10 1SA, UK
                         +44 (0) 1223 49 6891

_______________________________________________
Biojava-l mailing list  -  Biojava-l@biojava.org
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to