public void testTranslateCdna_simple() throws IOException
{
AlignmentI alf = new FormatAdapter().readFile(fasta,
public void testTranslateCdna_simple() throws IOException
{
AlignmentI alf = new FormatAdapter().readFile(fasta,
public void testTranslateCdna_hiddenColumns() throws IOException
{
AlignmentI alf = new FormatAdapter().readFile(fasta,
public void testTranslateCdna_hiddenColumns() throws IOException
{
AlignmentI alf = new FormatAdapter().readFile(fasta,
public void testCompareCodonPos_oneOnly()
{
assertFollows("-AA--A", "G--GG"); // 2 shifted seq2, 3 shifted seq1
public void testCompareCodonPos_oneOnly()
{
assertFollows("-AA--A", "G--GG"); // 2 shifted seq2, 3 shifted seq1
* reorders the cDNA and retranslates, and verifies that the translations are
* the same (apart from ordering).
*/
* reorders the cDNA and retranslates, and verifies that the translations are
* the same (apart from ordering).
*/
* Test that all the cases in testCompareCodonPos have a 'symmetric'
* comparison (without checking the actual comparison result).
*/
* Test that all the cases in testCompareCodonPos have a 'symmetric'
* comparison (without checking the actual comparison result).
*/
public void testCompareCodonPos_isSymmetric()
{
assertSymmetric("AAA", "GGG");
public void testCompareCodonPos_isSymmetric()
{
assertSymmetric("AAA", "GGG");
public void testConvertCodon()
{
assertEquals("[0, 1, 2]", convertCodon("AAA").toString());
public void testConvertCodon()
{
assertEquals("[0, 1, 2]", convertCodon("AAA").toString());