X-Git-Url: https://git.donarmstrong.com/?p=function2gene.git;a=blobdiff_plain;f=bin%2Fcombine_results;h=76a4e0c044e47f3080f9949c1ed43cb066576ddc;hp=8125c11fb517f270e953bf30c0c42574b65e07ca;hb=79c0f28d89ba108bcfca68a8b5d4f0e3855455dc;hpb=672a430873e686b884bccb1b027321658c541b25 diff --git a/bin/combine_results b/bin/combine_results index 8125c11..76a4e0c 100755 --- a/bin/combine_results +++ b/bin/combine_results @@ -1,13 +1,10 @@ #! /usr/bin/perl -# parse_ncbi_results retreives files of search results from ncbi, -# and is released under the terms of the GPL version 2, or any later -# version, at your option. See the file README and COPYING for more -# information. +# combine_results, is part of the gene search suite, and is released +# under the terms of the GPL version 2, or any later version, at your +# option. See the file README and COPYING for more information. -# Copyright 2004 by Don Armstrong . - -# $Id: ss,v 1.1 2004/06/29 05:26:35 don Exp $ +# Copyright 2006,2007 by Don Armstrong . use warnings; @@ -19,15 +16,13 @@ use Pod::Usage; =head1 NAME - parse_ncbi_results [options] + combine_results -- combines parsed result files; outputs to stdout. =head1 SYNOPSIS + combine_results parsed_results_1.txt [parsedresultfiles ...] Options: - --dir, -D directory to stick results into [default .] - --name, -n file naming scheme [default ${search}_results.$format] - --terms, -t file of search terms [default -] --debug, -d debugging level [default 0] --help, -h display this help --man, -m display manual @@ -52,7 +47,7 @@ Display this manual. =head1 EXAMPLES - parse_ncbi_results -D ./ncbi_results/ -n '${search}_name.html' < search_parameters + combine_results foo_1.txt Will pretty much do what you want @@ -60,10 +55,9 @@ Will pretty much do what you want -use vars qw($DEBUG $REVISION); +use vars qw($DEBUG); BEGIN{ - ($REVISION) = q$LastChangedRevision: 1$ =~ /LastChangedRevision:\s+([^\s]+)/; $DEBUG = 0 unless defined $DEBUG; } @@ -75,8 +69,6 @@ use IO::File; my %options = (debug => 0, help => 0, man => 0, - dir => '.', - keyword => undef, ); GetOptions(\%options,'keyword|k=s','debug|d+','help|h|?','man|m');