1 package SGN
::Controller
::SolgwasTool
;
7 use Storable qw
| nstore retrieve
|;
8 use List
::Util qw
/sum/;
10 use CXGN
::Tools
::Text qw
/ sanitize_string /;
12 use URI
::FromHash
'uri';
14 use CXGN
::Blast
::SeqQuery
;
17 BEGIN { extends
'Catalyst::Controller'; }
22 SGN
::Schema
::BlastDb
->dbpath($c->config->{blast_db_path
});
25 sub index :Path
('/tools/solgwas/') :Args
(0) {
29 $c->res->redirect(uri
( path
=> '/user/login', query
=> { goto_url
=> $c->req->uri->path_query } ) );
32 $c->stash->{template
} = '/tools/solgwas/index.mas';