check if new annotation is already in the db
[phenome.git] / bin / dump_genotypes.pl
blobe788131d5b73b67fdd4ed75a3f2d30867cbe91ab
2 use strict;
4 use Getopt::Std;
5 use CXGN::DB::InsertDBH;
6 use CXGN::Phenome::DumpGenotypes;
8 our ($opt_H, $opt_D, $opt_f);
10 getopts('H:D:f:');
13 my $dbh = CXGN::DB::InsertDBH->new({
14 dbhost => $opt_H,
15 dbname => $opt_D,
16 });
18 my $file = $opt_f;
20 print STDERR "Dumping...\n";
22 CXGN::Phenome::DumpGenotypes::dump_genotypes($dbh, $file);
24 print STDERR "Done.\n";