Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Fields, Christopher J <cjfields <at> illinois.edu>
Subject: Re: One letter protein sequence to three letters
Newsgroups: gmane.comp.lang.perl.bio.general
Date: Wednesday 27th March 2013 03:13:19 UTC (over 3 years ago)
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"
 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: [email protected]
[mailto:[email protected]] On Behalf Of Alexey Morozov
> Sent: Wednesday, 27 March 2013 3:34 p.m.
> To: [email protected]
> 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
> [email protected]
> 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
> [email protected]
> http://lists.open-bio.org/mailman/listinfo/bioperl-l
 
CD: 12ms