fast display of accessions of trial detail page
[sgn.git] / sgn.conf
blob8385c75ee487a02490a9e0c1c92be36e235c5b70
2 #### most commonly altered config variables ####
4 #is this a production server?
5 production_server         0
7 #default database connection info
8 dbhost   db.sgn.cornell.edu
9 dbname   cxgn-test
10 dbuser   web_usr
11 #dbpass   set_this_here
13 project_name SGN
15 disable_login 0
17 # the species that should be preselected in a list of species
19 preferred_species       
21 # who is the web server user for chowning and emailing.  need to set
22 # these manually under Apache mod_perl for example, because the server
23 # runs under a different user than when it starts.
24 www_user                 __USERNAME__
25 www_group                __GROUPNAME__
27 # when true, server removes its tempfiles when the app is started
28 clear_tempfiles_on_restart  1
30 solqtl /export/prod/tmp/solqtl/__USERNAME__
31 ##### other config variables #####
33 dbsearchpath   sgn
34 dbsearchpath   public
35 dbsearchpath   annotation
36 dbsearchpath   genomic
37 dbsearchpath   insitu
38 dbsearchpath   metadata
39 dbsearchpath   pheno_population
40 dbsearchpath   phenome
41 dbsearchpath   physical
42 dbsearchpath   tomato_gff
43 dbsearchpath   biosource
44 dbsearchpath   gem
45 dbsearchpath   sgn_people
47 <DatabaseConnection sgn_test>
48         #password   set_this_please
49         dsn   dbi:Pg:host=localhost;dbname=cxgn
50         user   postgres
51         search_path   public
52         search_path   sgn
53         search_path   annotation
54         search_path   genomic
55         search_path   insitu
56         search_path   metadata
57         search_path   pheno_population
58         search_path   phenome
59         search_path   physical
60         search_path   tomato_gff
61         search_path   biosource
62         search_path   gem
63         search_path   sgn_people
64 </DatabaseConnection>
66 ### Cview configuration parameters
67 <Controller::Cview>
68         cview_default_map_id 9
69 </Controller::Cview>
71 ## captcha keys for the production site
72 captcha_private_key  6Lc__9YSAAAAANcTczARhRnZRkKmzWjnhipyqI6f 
73 captcha_public_key   6Lc__9YSAAAAAH2ODL2FlR8jKa2Ms9i9d_0ziBWr
75 contact_form_human_question 2+3
76 contact_form_human_answer   5
78 ### backcompat variables for the various static content types
79 # relative URL and absolute path for static datasets
80 static_datasets_url       /data
81 static_datasets_path      /export/prod/public
83 # relative URL and absoluate path for static site content
84 static_content_url        /static_content
85 static_content_path       /export/prod/public/sgn_static_content
86 homepage_files_dir        /export/prod/public/sgn_static_content/homepage
88 # this needs to be here rather than in the CGI controller itself to
89 # work around a bug in all but the most recent
90 # Catalyst::Controller::CGIBin
91 <Controller::CGI>
92     cgi_dir   __path_to(cgi-bin)__
93 </Controller::CGI>
95 <Controller::Genomes::Tomato>
96    bac_publish_subdir tomato_genome/bacs
97 </Controller::Genomes::Tomato>
99 <Plugin::SmartURI>
100                disposition host-header   # application-wide
101                uri_class   URI::SmartURI # by default
102 </Plugin::SmartURI>
105 <View::Email::ErrorEmail>
106     <default>
107         content_type  text/plain
108         to            sgn-bugs@solgenomics.net
109         from          sgn-bugs@solgenomics.net
110         charset       utf-8
111     </default>
112     dump_skip_class   Catalyst Catalyst::Stats DBIx::Class::Schema DBIx::Class::ResultSet  DBIx::Class::Row  HTML::Mason::Interp
113 </View::Email::ErrorEmail>
115 # should we send emails, if we are a production server? this can be
116 # used to turn off emails if we are being bombarded.
117 admin_email              sgn-feedback@solgenomics.net
118 feedback_email           sgn-feedback@solgenomics.net
119 bugs_email               sgn-bugs@solgenomics.net
120 email                    sgn-feedback@solgenomics.net
121 contact_form_email       contactform@solgenomics.net
122 tokn_email               scp78@cornell.edu
123 disable_emails           0
125 # URL of the canonical, main production site
126 main_production_site_url  http://solgenomics.net
128 #is there a system message text file somewhere we should be displaying?
129 system_message_file       __HOME__/system_message.txt
130 # defaults to /tmp/<user>/SGN-site
131 #tempfiles_base            
134 tempfiles_base            ""
137 # where to run cluster jobs - nothing means "batch" queue
138 #web_cluster_queue             
141 # where to run cluster jobs
142 web_cluster_queue        batch      
145 #is this a mirror of SGN, or the real thing?
146 is_mirror                 0
148 # how to find cosii_files for markerinfo.pl
149 cosii_files               /export/cosii2
151 # log files, ABSOLUTE PATHS
152 error_log                 /var/log/sgn-site/error.log
153 access_log                /var/log/sgn-site/access.log
154 rewrite_log               /var/log/sgn-site/rewrite.log
155 blast_log                 /export/prod/tmp/blast/blast.log
157 # paths to stuff
158 hmmsearch_location        hmmsearch
159 intron_finder_database    /export/prod/public/intron_finder_database
161 trace_path                /export/prod/public/chromatograms
162 image_dir                 /images/image_files
163 image_path                /export/prod/public/images
164 tempfiles_subdir          /static/documents/tempfiles
165 submit_dir                /data/shared/submit-uploads
166 programs_subdir           /programs
167 documents_subdir          /documents
168 conf_subdir               /conf
169 support_data_subdir       /support_data
171 #stock tempfiles (for downloading phenotype and genotype raw data)
172 stock_tempfiles           /static/documents/tempfiles/stock
174 #currently our cookies encrypt stuff, so this is just a random string to use to do that
175 cookie_encryption_key     bo9yie2JeeVee6ouAhch9aomeesieJ3iShae8aa8
177 # where the genefamily info is stored
178 genefamily_dir            /export/prod/private/genomes/genefamily/
180 # the right ontology db name for the trait search
181 trait_ontology_db_name SP
182 onto_root_namespaces  GO (Gene Ontology), PO (Plant Ontology), SO (Sequence Ontology), PATO (Phenotype and Trait Ontology), SP (Solanaceae Ontology)
186 # stock properties that should be displayed and allowed to be edited in the "additional information" section
187 editable_stock_props variety,donor,donor institute,country,state,adaptation,notes
190 <feature SGN::Feature::FeaturePages>
191     enabled      1
192 </feature>
193 <feature SGN::Feature::LocusPages>
194     enabled      1
195 </feature>
197 # default GBrowse2 configuration, for a Debian gbrowse2 installation
198 <feature SGN::Feature::GBrowse2>
199     enabled      1
200     perl_inc     /usr/local/share/website/gbrowse/lib/perl5
201     tmp_dir      /usr/local/share/website/tmp/gbrowse
202     cgi_url      /gbrowse/bin
203     static_url   /gbrowse/static
204     run_mode     fastcgi
205     cgi_bin      /usr/lib/cgi-bin/gbrowse
206     static_dir   /usr/local/share/website/gbrowse/htdocs
207 </feature>
209 # default ITAG config
210 <feature SGN::Feature::ITAG>
211     enabled         1
212     pipeline_base   /export/shared/tomato_genome/itagpipeline/itag
213     releases_base   /export/prod/private/genomes/solanum_lycopersicum/annotation
214 </feature>
216 cview_db_backend    cxgn
219 #how to find blast stuff
220 blast_path                ""
221 blast_db_path             /export/prod/blast/databases/current
222 preselected_blastdb       224
223 jbrowse_path              /jbrowse_solgenomics/?data=data/json
226 #bin directory used by cluster nodes
227 cluster_shared_bindir /export/prod/bin
229 #the shared temp directory used by cluster nodes
230 cluster_shared_tempdir    /export/prod/tmp
231 gbs_temp_data  /export/prod/public
234 #how verbose we want the warnings to be in the apache error log
235 verbose_warnings          1
237 # Insitu file locations
238 insitu_fullsize_dir       /export/prod/public/images/insitu/processed
239 insitu_fullsize_url       /export/images/insitu/processed
240 insitu_display_dir        /export/prod/public/images/insitu/display
241 insitu_display_url        /export/images/insitu/display
242 insitu_input_dir          /export/prod/public/images/insitu/incoming
244 #path to our production_ftp site
245 ftpsite_root              /export/prod/public
246 ftpsite_url               ftp://ftp.solgenomics.net
247 #path to the pucebaboon temperature sensor file:
248 pucebaboon_file        /export/prod/public/digitemp.out
250 #path for archving uploaded files
251 archive_path     /export/prod/sgn_archive
253 #site overall identifier prefix used for site specific data
254 #such as stocks, unignes (yet to be implemented) and other datatypes
255 #for example, uploading barcode phenotyping data will not work without this key (see L<CXGN::Stock::StockBarcode> )
256 identifier_prefix   SGN
258 #default genotyping protocol to use:
259 default_genotyping_protocol undefined(set this in sgn_local.conf)
261 #HIDAP Shiny Server Support
262 hidap_enabled    0