X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fadd_ident;h=b15a86dbf7d6aa63f117574b36f756ca2a8c1e38;hb=ea737d66bd9dbc2f134c0809f026239ad4caf473;hp=57a644a445ec717cb7388dda2edc3743207b053a;hpb=9bf550c4335d8860c5f6f9c4db0f385f1b36c1dd;p=biopieces.git diff --git a/bp_bin/add_ident b/bp_bin/add_ident index 57a644a..b15a86d 100755 --- a/bp_bin/add_ident +++ b/bp_bin/add_ident @@ -40,6 +40,7 @@ $options = Maasha::Biopieces::parse_options( [ { long => 'key', short => 'k', type => 'string', mandatory => 'no', default => 'ID', allowed => undef, disallowed => undef }, { long => 'prefix', short => 'p', type => 'string', mandatory => 'no', default => 'ID', allowed => undef, disallowed => undef }, + { long => 'offset', short => 'o', type => 'uint', mandatory => 'no', default => '0', allowed => undef, disallowed => undef }, ] ); @@ -49,7 +50,7 @@ $out = Maasha::Biopieces::write_stream( $options->{ "stream_out" } ); $key = $options->{ "key" }; $prefix = $options->{ "prefix" }; -$i = 0; +$i = $options->{ "offset" }; while ( $record = Maasha::Biopieces::get_record( $in ) ) {