open FP, '<', shift or die "Can't open input file: $!\n";
while (<FP>) {
-
+ my ($lead,$sub) = split /\t/;
+ print $sub if $sub > 6999999)
}
sub initialize {
binmode(STDIN, ':utf8');
my $rc = GetOptions( $c,
- 'prefix|p=s',
+ 'filter|f=i'
+ 'output|o=s',
'help|h',
);
show_help() unless $rc;
my @keys = keys %{$c};
show_help() unless (@ARGV and @keys);
- for my $key ('prefix')
+ for my $key ('output', 'filter')
{ push @missing, $key unless $c->{$key} }
if (@missing) {
print "Required option: ", join(', ', @missing), " missing!\n";
sub show_help {
print <<HELP;
-Usage is: compress_fingerprints -p PREFIX INPUTFILE
+Usage is: extract_loadset [ARGS] INPUTFILE
+
+ --filter -f Record ID lower bound for
+ --output -o
HELP
exit;
}