Bio-Gonzales
view release on metacpan or search on metacpan
bin/self_dot_plot.pl view on Meta::CPAN
use GD;
use strict;
use vars qw/$VERSION/;
our $VERSION = '1.0';
use Getopt::Long;
sub usage();
sub main();
sub print_dots ($$$$$$$$);
sub print_png ($$);
main();
sub usage() {
print qq/
USAGE: $0 -w <word size> -s <step length>
-i <in file> -o <out file> -d <dot file>
-t <title>
[ -h ]
Create a PNG ("portable network graphics") file
that displays a triangular dot plot of the input
sequence against itself.
bin/self_dot_plot.pl view on Meta::CPAN
<title> is a title to place in the output.
-h causes this message to printed.
(Version $VERSION)
/;
}
sub main() {
my ($seqfile, $word, $step, $outfile, $title, $dotfile, $help);
if (!GetOptions('infile=s' => \$seqfile,
'wordlen=i' => \$word,
'step=i' => \$step,
'outfile=s' => \$outfile,
'title=s' => \$title,
'dotfile=s' => \$dotfile,
'help' => \$help)) {
( run in 1.159 second using v1.01-cache-2.11-cpan-65fba6d93b7 )