Included libraries | Package variables | General documentation | Methods |
WebCvs | Raw content |
parse_results | No description | Code |
query_type | No description | Code |
target_type | No description | Code |
parse_results | description | prev | next | Top |
my ($self, $fh) = @_; my $score = 0; my $perc_id = 0; # my $basic_options = "--showsugar false --showvulgar false --showalignment false --ryo \"RESULT: %S %pi %ql %tl %g %V\\n\" ";}
while (<$fh>){ if ($_=~/^RESULT:/){ my @tmp = split/\s+/, $_; print "exonerate results @tmp "; print "\n"; # my (
# $tag, $q_id, $q_start, $q_end, $q_strand,
# $t_id, $t_start, $t_end, $t_strand, $score,
# $perc_id, $q_length, $t_length, $gene_orientation,
# @vulgar_blocks
# ) = split;
# my($match_type, $query_match_length, $target_match_length,@rest_of_vulgar) = @vulgar_blocks;
if ($score < $tmp[9]){ $score = $tmp[9]; #return the best score
$perc_id = $tmp[10]; } } } $self->output([$score, $perc_id]); } 1;
query_type | description | prev | next | Top |
my ($self) = @_; return 'protein';}
target_type | description | prev | next | Top |
my ($self) = @_; return 'protein';}