Smithies, Russell | 27 Mar 03:50 2013
Picon

Re: Fwd: One letter protein sequence to three letters

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.
=======================================================================

Gmane