Skip to content
Snippets Groups Projects
Commit bf9abd64 authored by Kevin Howe's avatar Kevin Howe
Browse files

In _parse_cigar, relaxed a sanity check that resulted in death on attempt

to fetch ungapped_features from DNA-PEP transcript_supporting_features
(due tothe presence of Insertions that are non modulo-3 in length, which is
common for introns).
parent e2d7f631
No related branches found
No related tags found
No related merge requests found
......@@ -381,7 +381,8 @@ sub _parse_cigar {
"allowing 1 or 3 ");
}
if( int($mapped_length) != $mapped_length ) {
if( int($mapped_length) != $mapped_length and
($piece =~ /M$/ or $piece =~ /D$/)) {
throw("Internal error with mismapped length of hit, query " .
"$query_unit, hit $hit_unit, length $length");
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment