Skip to content
Snippets Groups Projects
Commit 97be74eb authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Convert cigar line read from exonerate to format 439M after reading.

parent e251f3b6
No related branches found
No related tags found
No related merge requests found
......@@ -1103,6 +1103,8 @@ sub parse_mappings {
chomp();
my ($label, $query_id, $target_id, $identity, $query_length, $target_length, $query_start, $query_end, $target_start, $target_end, $cigar_line, $score) = split(/:/, $_);
$cigar_line =~ s/ //g;
$cigar_line =~ s/([MDI])(\d+)/$2$1/ig;
if($query_id == 138110 || $query_id == 523601){
print "processing $query_id\n";
......
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