Need help with Swissknife
C. Tobini
ctemp1 at free.fr
Fri Aug 22 09:10:09 EST 2003
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