fix to comments in patch
[sgn.git] / sgn.conf
blob9a4fa620e38e372d6159d66d926c3280999c31cf
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 composable_cvs trait,object,tod,toy,unit,method
14 composable_cvs_allowed_combinations Agronomic|trait+toy,Metabolic|trait+object+tod+toy+unit+method
15 composable_cvterm_delimiter |
16 composable_cvterm_format concise
17 composable_tod_root_cvterm "time of day|TIME:0000001"
18 composable_toy_root_cvterm "time of year|TIME:0000005"
19 composable_gen_root_cvterm "generation|TIME:0000072"
21 trait_cv_name cassava_trait
23 project_name SGN
25 disable_login 0
27 # the species that should be preselected in a list of species
29 preferred_species
31 # who is the web server user for chowning and emailing.  need to set
32 # these manually under Apache mod_perl for example, because the server
33 # runs under a different user than when it starts.
34 www_user                 __USERNAME__
35 www_group                __GROUPNAME__
37 # when true, server removes its tempfiles when the app is started
38 clear_tempfiles_on_restart  1
40 solqtl /export/prod/tmp/solqtl/__USERNAME__
41 ##### other config variables #####
43 dbsearchpath   sgn
44 dbsearchpath   public
45 dbsearchpath   annotation
46 dbsearchpath   genomic
47 dbsearchpath   insitu
48 dbsearchpath   metadata
49 dbsearchpath   pheno_population
50 dbsearchpath   phenome
51 dbsearchpath   physical
52 dbsearchpath   tomato_gff
53 dbsearchpath   biosource
54 dbsearchpath   gem
55 dbsearchpath   sgn_people
57 <DatabaseConnection sgn_test>
58         #password   set_this_please
59         dsn   dbi:Pg:host=localhost;dbname=cxgn
60         user   postgres
61         search_path   public
62         search_path   sgn
63         search_path   annotation
64         search_path   genomic
65         search_path   insitu
66         search_path   metadata
67         search_path   pheno_population
68         search_path   phenome
69         search_path   physical
70         search_path   tomato_gff
71         search_path   biosource
72         search_path   gem
73         search_path   sgn_people
74 </DatabaseConnection>
76 ### Cview configuration parameters
77 <Controller::Cview>
78         cview_default_map_id 9
79 </Controller::Cview>
81 ## captcha keys for the production site
82 #captcha_private_key  6Lc__9YSAAAAANcTczARhRnZRkKmzWjnhipyqI6f
83 #captcha_public_key   6Lc__9YSAAAAAH2ODL2FlR8jKa2Ms9i9d_0ziBWr
85 ### backcompat variables for the various static content types
86 # relative URL and absolute path for static datasets
87 static_datasets_url       /data
88 static_datasets_path      /export/prod/public
90 # relative URL and absoluate path for static site content
91 static_content_url        /static_content
92 static_content_path       /export/prod/public/sgn_static_content
93 homepage_files_dir        /export/prod/public/sgn_static_content/homepage
95 # this needs to be here rather than in the CGI controller itself to
96 # work around a bug in all but the most recent
97 # Catalyst::Controller::CGIBin
98 <Controller::CGI>
99     cgi_dir   __path_to(cgi-bin)__
100 </Controller::CGI>
102 <Controller::Genomes::Tomato>
103    bac_publish_subdir tomato_genome/bacs
104 </Controller::Genomes::Tomato>
106 <Plugin::SmartURI>
107                disposition host-header   # application-wide
108                uri_class   URI::SmartURI # by default
109 </Plugin::SmartURI>
112 <View::Email::ErrorEmail>
113     <default>
114         content_type  text/plain
115         to            sgn-bugs@solgenomics.net
116         from          sgn-bugs@solgenomics.net
117         charset       utf-8
118     </default>
119     dump_skip_class   Catalyst Catalyst::Stats DBIx::Class::Schema DBIx::Class::ResultSet  DBIx::Class::Row  HTML::Mason::Interp
120 </View::Email::ErrorEmail>
122 # should we send emails, if we are a production server? this can be
123 # used to turn off emails if we are being bombarded.
124 admin_email              sgn-feedback@solgenomics.net
125 feedback_email           sgn-feedback@solgenomics.net
126 bugs_email               sgn-bugs@solgenomics.net
127 email                    sgn-feedback@solgenomics.net
128 contact_form_email       contactform@solgenomics.net
129 tokn_email               scp78@cornell.edu
130 disable_emails           0
132 # URL of the canonical, main production site
133 main_production_site_url  http://solgenomics.net
135 #is there a system message text file somewhere we should be displaying?
136 system_message_file       __HOME__/system_message.txt
137 # defaults to /tmp/<user>/SGN-site
138 #tempfiles_base
141 tempfiles_base            ""
144 # where to run cluster jobs - nothing means "batch" queue
145 #web_cluster_queue
148 # where to run cluster jobs
149 web_cluster_queue        batch
152 #is this a mirror of SGN, or the real thing?
153 is_mirror                 0
155 # how to find cosii_files for markerinfo.pl
156 cosii_files               /export/cosii2
158 # log files, ABSOLUTE PATHS
159 error_log                 /var/log/sgn-site/error.log
160 access_log                /var/log/sgn-site/access.log
161 rewrite_log               /var/log/sgn-site/rewrite.log
162 blast_log                 /export/prod/tmp/blast/blast.log
164 # paths to stuff
165 hmmsearch_location        hmmsearch
166 intron_finder_database    /export/prod/public/intron_finder_database
168 trace_path                /export/prod/public/chromatograms
169 image_dir                 /images/image_files
170 image_path                /export/prod/public/images
171 tempfiles_subdir          /static/documents/tempfiles
172 submit_dir                /data/shared/submit-uploads
173 programs_subdir           /programs
174 documents_subdir          /documents
175 conf_subdir               /conf
176 support_data_subdir       /support_data
178 #stock tempfiles (for downloading phenotype and genotype raw data)
179 stock_tempfiles           /static/documents/tempfiles/stock
181 #currently our cookies encrypt stuff, so this is just a random string to use to do that
182 cookie_encryption_key     bo9yie2JeeVee6ouAhch9aomeesieJ3iShae8aa8
184 # where the genefamily info is stored
185 genefamily_dir            /export/prod/private/genomes/genefamily/
187 # the right ontology db name for the trait search
188 trait_ontology_db_name SP
189 onto_root_namespaces  GO (Gene Ontology), PO (Plant Ontology), SO (Sequence Ontology), PATO (Phenotype and Trait Ontology), SP (Solanaceae Ontology)
193 # stock properties that should be displayed and allowed to be edited in the "additional information" section
194 editable_stock_props variety,donor,donor institute,donor PUI,country of origin,state,institute code,institute name,biological status of accession code,notes,accession number,PUI,seed source,type of germplasm storage code,acquisition date,organization,location_code,ploidy_level,genome_structure,transgenic,introgression_parent,introgression_backcross_parent,introgression_map_version,introgression_chromosome,introgression_start_position_bp,introgression_end_position_bp
197 <feature SGN::Feature::FeaturePages>
198     enabled      1
199 </feature>
200 <feature SGN::Feature::LocusPages>
201     enabled      1
202 </feature>
204 # default GBrowse2 configuration, for a Debian gbrowse2 installation
205 <feature SGN::Feature::GBrowse2>
206     enabled      1
207     perl_inc     /usr/local/share/website/gbrowse/lib/perl5
208     tmp_dir      /usr/local/share/website/tmp/gbrowse
209     cgi_url      /gbrowse/bin
210     static_url   /gbrowse/static
211     run_mode     fastcgi
212     cgi_bin      /usr/lib/cgi-bin/gbrowse
213     static_dir   /usr/local/share/website/gbrowse/htdocs
214 </feature>
216 # default ITAG config
217 <feature SGN::Feature::ITAG>
218     enabled         1
219     pipeline_base   /export/shared/tomato_genome/itagpipeline/itag
220     releases_base   /export/prod/private/genomes/solanum_lycopersicum/annotation
221 </feature>
223 cview_db_backend    cxgn
226 #how to find blast stuff
227 blast_path                ""
228 blast_db_path             /export/prod/blast/databases/current
229 preselected_blastdb       224
230 jbrowse_path              /jbrowse_solgenomics/?data=data/json
233 #bin directory used by cluster nodes
234 cluster_shared_bindir /export/prod/bin
236 #the shared temp directory used by cluster nodes
237 cluster_shared_tempdir    /export/prod/tmp
238 gbs_temp_data  /export/prod/public
241 #how verbose we want the warnings to be in the apache error log
242 verbose_warnings          1
244 # Insitu file locations
245 insitu_fullsize_dir       /export/prod/public/images/insitu/processed
246 insitu_fullsize_url       /export/images/insitu/processed
247 insitu_display_dir        /export/prod/public/images/insitu/display
248 insitu_display_url        /export/images/insitu/display
249 insitu_input_dir          /export/prod/public/images/insitu/incoming
251 #path to our production_ftp site
252 ftpsite_root              /export/prod/public
253 ftpsite_url               ftp://ftp.solgenomics.net
254 #path to the pucebaboon temperature sensor file:
255 pucebaboon_file        /export/prod/public/digitemp.out
257 #path for archving uploaded files
258 archive_path     /export/prod/sgn_archive
260 #site overall identifier prefix used for site specific data
261 #such as stocks, unignes (yet to be implemented) and other datatypes
262 #for example, uploading barcode phenotyping data will not work without this key (see L<CXGN::Stock::StockBarcode> )
263 identifier_prefix   SGN
265 #default genotyping protocol to use:
266 default_genotyping_protocol undefined(set this in sgn_local.conf)
268 #HIDAP Shiny Server Support
269 hidap_enabled    0
271 #BrAPI params
272 supportedCrop    Cassava
274 #Expression Atlas Connection
275 has_expression_atlas    0
276 expression_atlas_url    0
278 #Homepage controller customization
279 homepage_display_phenotype_uploads 0
281 #ONA API Authentication (Used for ODK tablet application being developed by Trushar/Margaret)
282 ona_username ONAUSER
283 ona_password ONAPASS
284 ona_form_id NULL