[Bioperl-l] One letter protein sequence to three letters

Fields, Christopher J cjfields at illinois.edu
Wed Mar 27 03:13:19 UTC 2013


You are correct.   Quotes should be unnecessary in this case, percent identities are calculated I believe from the midline.

chris

On Mar 26, 2013, at 9:50 PM, "Smithies, Russell" <Russell.Smithies at agresearch.co.nz> wrote:

> Not 100% sure but is the first one going to do a string compare rather than a numeric compare?
> Or is there a chance that $identity is going to contain a string rather than a float?
> 
> I could be completely wrong of course  ...
> 
> --Russell
> -- 
> 
> 
> -----Original Message-----
> From: bioperl-l-bounces at lists.open-bio.org [mailto:bioperl-l-bounces at lists.open-bio.org] On Behalf Of Alexey Morozov
> Sent: Wednesday, 27 March 2013 3:34 p.m.
> To: Bioperl-l at lists.open-bio.org
> Subject: [Bioperl-l] Fwd: One letter protein sequence to three letters
> 
> Well, there is one little thing I don't get. Why is
> 
> if ( $hsp->percent_identity >= "$identity" )
> 
> any better than
> 
> if ( $hsp->percent_identity >= $identity)
> 
> Ie what do quotes do?
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
> 
> =======================================================================
> Attention: The information contained in this message and/or attachments
> from AgResearch Limited is intended only for the persons or entities
> to which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipients is prohibited by AgResearch
> Limited. If you have received this message in error, please notify the
> sender immediately.
> =======================================================================
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l





More information about the Bioperl-l mailing list