Bio::SeqIO::GCG - Raw sequence input/output stream It is probably best not to use this object directly, but rather go through the SeqIO handler system. Go:
$stream = Bio::SeqIO->new(-file => $filename, -format => 'GCG');
while $seq ( <$stream> ) {# $seq is a Bio::Seq object}
This object can transform Bio::Seq objects to and from GCG-formatted sequence files.
Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated.
[email protected] - General discussion[email protected] - Technically-oriented discussionhttp://bio.perl.org/MailList.html - About the mailing lists
Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track
the bugs and their resolution.
Bug reports can be submitted via email or the web:
[email protected]http://bio.perl.org/bioperl-bugs/
Email [email protected], [email protected] Ewan Birney wrote the all the base SeqIO stuff. This module is based on his SeqIO::Fasta and has been tweaked by Chris Dagdigian, to support GCG formatted sequence input/output. The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
next_seq
Title : next_seqUsage : $seq = $stream->next_seq()Function: returns the next sequence in the streamReturns : Bio::Seq objectArgs :
write_seq
Title : write_seqUsage : $stream->write_seq($seq)Function: writes the fromatted $seq object into the streamReturns : 1 for success and 0 for errorArgs : Bio::Seq object, sequence string
_filehandle
Title : _filehandleUsage : $obj->_filehandle($newval)Function:Example :Returns : value of _filehandleArgs : newvalue (optional)
_validate_checksum
Title : _validate_checksumUsage : n/a - internal methodFunction: if parsed gcg sequence contains a checksum field: we compare it to a value computed here on the parsed: sequence. A checksum mismatch would indicate some: type of parsing failure occured.:Returns : 1 for success, 0 for failureArgs : string containing parsed seq, value of parsed cheksum