Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 35598b072376fbd6c129775068b347cc > files > 17

perl-Ace-1.92-10.fc16.noarch.rpm

#!/usr/bin/perl

use lib '..','../blib/lib','../blib/arch';
use Ace;

use constant HOST => $ENV{ACEDB_HOST} || 'stein.cshl.org';
use constant PORT => $ENV{ACEDB_PORT} || 200005;

die <<END if -t STDOUT;
Pipe the output to a file or a GIF displaying program.
 Examples:
           gif.pl | xv -
           gif.pl > output.gif
END

$ace = Ace->connect(-host=>HOST,-port=>PORT);
$m4 = $ace->fetch('Sequence', 'AC3' );
($gif,$box) = $m4->asGif;
print $gif;