[Biojava-dev] DNATools.forSymbol

Schreiber, Mark mark.schreiber at agresearch.co.nz
Fri Mar 14 10:51:08 EST 2003


Hi -

There is no good reason other than it is a weakly observed convention to
use lower case letters for DNA and RNA and upper case for Protein. I
have changed the methods in DNA and RNA tools to be case insensitive. I
have commited the changes to biojava-live.

- Mark


> -----Original Message-----
> From: Rhett Sutphin [mailto:rhett-sutphin at uiowa.edu] 
> Sent: Friday, 14 March 2003 10:44 a.m.
> To: biojava-dev at biojava.org
> Subject: [Biojava-dev] DNATools.forSymbol
> 
> 
> Hi,
> 
> I have what might be a stupid question:  why isn't 
> DNATools.forSymbol(c) the same as 
> DNATools.createDNA(Character.toString(c)).symbolAt(1) for all c?  
> forSymbol only works for lowercase a, c, g, and t, while createDNA 
> handles uppercase and lowercase of the whole DNA alphabet, 
> plus gaps.  
> Is there a special meaning/use of forSymbol that warrants this 
> difference in behavior?
> 
> Just curious,
> Rhett
> 
> _______________________________________________
> biojava-dev mailing list
> biojava-dev at biojava.org 
> http://biojava.org/mailman/listinfo/biojava-dev
> 
=======================================================================
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.
=======================================================================



More information about the biojava-dev mailing list