File Coverage

lib/FSSM/SOAPClient/Config.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package FSSM::SOAPClient::Config;
2 1     1   8 use strict;
  1         1  
  1         32  
3 1     1   40 use warnings;
  1         5  
  1         35  
4              
5             =head1 NAME
6              
7             FSSM::SOAPClient::Config - Exports config vars to FSSM::SOAPClient
8              
9             =head1 SYNOPSIS
10              
11             Used by L.
12              
13             =head1 DESCRIPTION
14              
15             This module contains configuration information for L.
16              
17             =head1 AUTHOR - Mark A. Jensen
18              
19             Mark A. Jensen
20             Fortinbras Research
21             http://fortinbras.us
22              
23             =head1 COPYRIGHT
24              
25             This program is free software; you can redistribute
26             it and/or modify it under the same terms as Perl itself.
27              
28             The full text of the license can be found in the
29             LICENSE file included with this module.
30              
31             =head1 SEE ALSO
32              
33             L
34              
35             =cut
36              
37             BEGIN {
38 1     1   6 use Exporter ();
  1         1  
  1         19  
39 1     1   5 use vars qw($VERSION @ISA @EXPORT);
  1         1  
  1         85  
40 1     1   1 $VERSION = '0.01';
41 1         22 @ISA = qw(Exporter);
42             #Give a hoot don't pollute, do not export more than needed by default
43 1         152 @EXPORT = qw($SERVICE_URL $WSDL_NS $WSDL_URL %PARAM_VALUES %XPND_TBL);
44             }
45              
46             our $SERVICE_URL = 'http://fortinbras.us/cgi-bin/fssm/soap_adaptor.pl';
47             our $WSDL_NS = 'http://fortinbras.us/soap/fssm/1.0';
48             our $WSDL_URL = $WSDL_NS.'/fssm.wsdl';
49             our %PARAM_VALUES = (
50             'predictor' => ['subtype B X4/R5',
51             'subtype B SI/NSI',
52             'subtype B X4/R5 (Poveda2009)',
53             'subtype B SI/NSI (Poveda2009)',
54             'subtype C SI/NSI'],
55             'expansion' => ['none', 'avg', 'full'],
56             'search' => ['none', 'fast', 'align'],
57             'seqtype' => ['aa', 'nt']
58             );
59              
60             our %XPND_TBL = (
61             'none' => '',
62             'avg' => 'avg_only_q',
63             'full' => 'xseq_all_q'
64             );
65             1;