IUBio Biosequences .. Software .. Molbio soft .. Network News .. FTP

Need help with Swissknife

Dan Bolser dmb at mail.mrc-dunn.cam.ac.uk
Thu Sep 18 19:22:29 EST 2003



If you find out please let me know!

I tried to build a swissprot Relational DB,
but I never finished, as the sknife programmers
stopped helping me!

Dan.

On 22 Aug 2003, C. Tobini wrote:

> Hello, I'm beginner with Swissknife libraries and I need to parse a
> SWISS-PROT file. I read the swissknife.sourceforge.net inline help but
> I run some problems.
> 
> I would like to know how to use the SWISS::Refs library.
> 
> For example, with a $entry variable for the file path, I tried to use,
> as explained :
> 
> $/="\/\/\n" ;
> 
> open (FILE, "$file_path") ;
> while(<FILE>)
>   {
>    $entry = SWISS::Entry -> fromText($_) ;
> 
>    @REF_ARRAY = $entry -> Refs -> list ;
> 
>    ...
> 
>    }
> 
> But I can't apply RC or RX methods on the created object.
> 
> If you could say to me how to extract those fields, that yould be
> great.
> 
> Thanks.
> 
> C. Tobini
> 
> 




More information about the Comp-bio mailing list

Send comments to us at biosci-help [At] net.bio.net