Murcia has asked for the wisdom of the Perl Monks concerning the following question:
The last line prints the swissprot entry in the dos-window, but I want to have the file in one variable, so that I later can insert it in a text-field of Tk?my $gb = new Bio::DB::SwissProt(); my $seq1 = $gb->get_Seq_by_Acc($id); my $seqOut = new Bio::SeqIO(-format=>'swiss'); $seqOut->write_seq($seq1);
How to get the stream ($seqOut->write_seq($seq1)) in a variable.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: bioperl seqIO STDOUT
by broquaint (Abbot) on May 07, 2003 at 16:02 UTC | |
|
Re: bioperl seqIO STDOUT
by Anonymous Monk on May 07, 2003 at 17:30 UTC | |
|
Re: bioperl seqIO STDOUT
by tucano (Scribe) on Jun 10, 2004 at 14:31 UTC |