[Bioperl-l] Interface of the method

Jun Yin jun.yin at ucd.ie
Fri Jun 18 06:47:30 EDT 2010

Hi, Dave,

No problem. I think your suggestion of using 
$newaln=$aln->select_Seqs('-seqs' => (1, 3, 5..10,15), -toggle => "yes"); 
is more reasonable. It is a more BioPerl way of defined parameters.

And, $newaln=$aln->select_Seqs(1, 3, 5..10,15); 
will also be recognized for the simplicity of use.

Jun Yin
Ph.D. student in U.C.D.

Bioinformatics Laboratory
Conway Institute
University College Dublin

-----Original Message-----
From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-bounces at lists.open-bio.org] On Behalf Of Dave Messina
Sent: Friday, June 18, 2010 10:38 AM
To: Jun Yin
Cc: bioperl-l at lists.open-bio.org
Subject: Re: [Bioperl-l] Interface of the method

Hi Jun,

> In the BioPerl guide,
> http://www.bioperl.org/wiki/Advanced_BioPerl
> They say that, Capital word should be used for methods returning  
> objects,

You're absolutely right. My apologies — thanks for pointing that out.

>  Thus an array reference
> [1,3,5..10] seems better than a list (1,3,5..10),
> the latter will be hard to recognize the other parameters.

Aaand, you're right here, too.

Again, sorry about that. It was quite late last night when I was  
replying to your email, and I sure wasn't thinking clearly.

So, please don't mind me, ( carry on, as you were!) and thanks again  
for your work on this.

Bioperl-l mailing list
Bioperl-l at lists.open-bio.org

__________ Information from ESET Smart Security, version of virus signature database 5099 (20100509) __________

The message was checked by ESET Smart Security.


More information about the Bioperl-l mailing list