public class SequenceUtils extends Object
Constructor and Description |
---|
SequenceUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
breakUpLines(String input)
Format into 6 column, 10 basepairs per column display.
|
static String |
calculateReverseComplementSequenceHash(String sequence)
Calculate the SHA-1 sequence hash of the reverse complement of the given sequence.
|
static String |
calculateSequenceHash(String sequence)
Calculate the SHA-1 sequence hash of the given sequence.
|
static String |
reverseComplement(String sequence)
Calculate the reverse complement of the given DNA sequence.
|
static String |
translateToProtein(String dnaSequence)
Calculate the amino acid translation of the given dnaSequence string.
|
public static String calculateSequenceHash(String sequence)
sequence
- sequence to hash.public static String calculateReverseComplementSequenceHash(String sequence) throws UtilityException
sequence
- sequence to hash.UtilityException
public static String reverseComplement(String sequence) throws UtilityException
sequence
- DNA sequence to reverse complement.UtilityException
public static String translateToProtein(String dnaSequence) throws UtilityException
dnaSequence
- DNA sequence to translate.UtilityException
Copyright © 2017. All rights reserved.