X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fmatch_seq;h=d5362fa1a8f12dbd38dcc224aa8a50901c111260;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=bb95a3f14fd14fe70561ba75fdb8338e1755a4f6;hpb=9bf550c4335d8860c5f6f9c4db0f385f1b36c1dd;p=biopieces.git diff --git a/bp_bin/match_seq b/bp_bin/match_seq index bb95a3f..d5362fa 100755 --- a/bp_bin/match_seq +++ b/bp_bin/match_seq @@ -64,9 +64,9 @@ if ( @entries == 1 ) map { Maasha::Biopieces::put_record( $_, $out ) } @{ $results }; } -elsif ( @entries == 2 ) +else { - $results = Maasha::Match::match_mummer( [ $entries[ 0 ] ], [ $entries[ 1 ] ], $options, $tmp_dir ); + $results = Maasha::Match::match_mummer( [ shift @entries ], \@entries, $options, $tmp_dir ); map { Maasha::Biopieces::put_record( $_, $out ) } @{ $results }; }