ca.ucalgary.seahawk.util
Class Sequence
java.lang.Object
ca.ucalgary.seahawk.util.Sequence
public class Sequence
- extends Object
Utility methods to report properties of DNA and protein sequence.
Sequence
public Sequence()
isNucleicAcid
public static boolean isNucleicAcid(String sequence)
- Case insensitve search for DNA or RNA like characters in the provid3ed string
- Returns:
- true if ACGTUX comprise > 2/3 of the sequence, and all non-IUPAC letters comprise less than 5%
isDNA
public static boolean isDNA(String sequence)
isRNA
public static boolean isRNA(String sequence)
isProtein
public static boolean isProtein(String sequence)
reverseComplement
public static String reverseComplement(String sequence)
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010