[Bioperl-l] Help with manipulating quality objects PLUS write_seq(args)

Hilmar Lapp hlapp@gnf.org
Wed, 23 Oct 2002 10:34:42 -0700


> -----Original Message-----
> From: Brian Desany [mailto:bdesany@bcm.tmc.edu]
> Sent: Wednesday, October 23, 2002 10:06 AM
> To: bioperl-l@bioperl.org
> Subject: RE: [Bioperl-l] Help with manipulating quality objects PLUS
> write_seq(args)
> 
<snip/> 
> 
> On a separate note:
> 
> One thing I did notice is that write_seq takes named 
> arguments, and uses
> _rearrange to get SOURCE.  OTOH, Bio::SeqIO::fasta::write_seq 
> takes an array
> of Seq objects.
> 
> In my code I like to have the correct module chosen at 
> runtime and call
> write_seq without necessarily knowing ahead of time whether 
> it's a fasta or
> qual IO. So therefore I would also like to call write_seq in 
> the same way
> for both.
> 
> Does anyone mind if I change qual.pm so that you can write_seq with
> 
> $io->write_seq($qual);
> 
> in addition to
> 
> $io->write_seq('-source'=>$qual);
> 

_rearrange() should take care of that already. Do you see that it doesn't?

	-hilmar