if (length != -1)
{
- // add 1 to mapped length to allow for a mapped stop codon
- if (length + 1 >= (mend - mstart + 1))
+ // add 3 to mapped length to allow for a mapped stop codon
+ if (length + 3 >= (mend - mstart + 1))
{
return true;
}
}
/**
- * Returns the first mapping found which is between the given sequence and
- * another, is a triplet mapping (3:1 or 1:3), and covers the full extent of
- * both sequences involved.
+ * Returns the first mapping found which is between the given dataset sequence
+ * and another, is a triplet mapping (3:1 or 1:3), and covers the full extent
+ * of both sequences involved
*
* @param seq
* @return