forked from BV-BRC/Workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ws-template
43 lines (28 loc) · 994 Bytes
/
ws-template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
use strict;
use Getopt::Long::Descriptive;
use Data::Dumper;
use Bio::P3::Workspace::WorkspaceClient;
use Bio::P3::Workspace::Utils;
=head1 NAME
[% dashed_name %]
=head1 SYNOPSIS
[% dashed_name %]
=head1 DESCRIPTION
[% description %]
=head1 COMMAND-LINE OPTIONS
rast-annotate-proteins-kmer-v2 [-io] [long options...] < input > output
-i --input file from which the input is to be read
-o --output file to which the output is to be written
--help print usage message and exit
--min-hits minimum number of Kmer hits required for a call to be
made
--max-gap maximum size of a gap allowed for a call to be made
=cut
my @options = (["url=s", 'Service URL'],
["help|h", "Show this usage message"],
);
my($opt, $usage) = describe_options("%c %o",
@options);
print($usage->text), exit if $opt->help;
my $ws = Bio::P3::Workspace::WorkspaceClient->new($opt->url);
my $wsutil = Bio::P3::Workspace::Utils->new($ws);