}
}
-
while ( $record = Maasha::Biopieces::get_record( $in ) )
{
if ( $options->{ "genome" } and not $record->{ "SEQ" } )
$beg = $record->{ "S_BEG" } + $index_beg;
$len = $record->{ "S_END" } - $record->{ "S_BEG" } + 1;
}
+ elsif ( $record->{ "REC_TYPE" } eq "VMATCH" and exists $lookup_hash{ $record->{ "S_ID" } } )
+ {
+ ( $index_beg, $index_len ) = @{ $lookup_hash{ $record->{ "S_ID" } } };
+
+ $beg = $record->{ "S_BEG" } + $index_beg;
+ $len = $record->{ "S_END" } - $record->{ "S_BEG" } + 1;
+ }
elsif ( $record->{ "REC_TYPE" } eq "BLAST" and exists $lookup_hash{ $record->{ "S_ID" } } )
{
( $index_beg, $index_len ) = @{ $lookup_hash{ $record->{ "S_ID" } } };