fix typo.
[sgn.git] / sgn.conf
blobec02d91dfc8c10035bf30c8c6b296a8bd3c371b4
2 #### most commonly altered config variables ####
4 #is this a production server?
5 production_server         0
7 #default database connection info
8 dbhost   localhost
9 dbname   fixture
10 dbuser   web_usr
11 #dbpass   set_this_here
13 rootpath /home/vagrant/cxgn
14 basepath /home/vagrant/cxgn/sgn
16 python_executable /home/vagrant/.virtualenvs/cv/bin/python3.5
17 python_executable_maskrcnn_env /home/vagrant/.virtualenvs/cv/bin/python3.5
19 composable_cvs trait,object,tod,toy,unit,method
20 composable_cvs_allowed_combinations Agronomic|trait+toy,Metabolic|trait+object+tod+toy+unit+method
21 composable_cvterm_delimiter |
22 composable_cvterm_format concise
23 composable_tod_root_cvterm "time of day|TIME:0000001"
24 composable_toy_root_cvterm "time of year|TIME:0000005"
25 composable_gen_root_cvterm "generation|TIME:0000072"
26 composable_evt_root_cvterm "event|TIME:0000477"
27 allow_observation_variable_submission_interface 0
28 trait_ontology_db_name SP
29 # For displaying ontologies in Ontology Browser
30 onto_root_namespaces  GO (Gene Ontology), PO (Plant Ontology), SO (Sequence Ontology), PATO (Phenotype and Trait Ontology), SP (Solanaceae Ontology), UO (Units), CASSTISS (Cass tissues)
32 # Seedlot Maintenance Events
34 # seedlot_maintenance_event_ontology_root
35 # The DB:Accession of the root term of the ontology used to define the Seedlot Maintenance categories, events, and values
36 # seedlot_maintenance_event_ontology_root SEEDLOT_MAINTENANCE:0000000
37 seedlot_maintenance_event_ontology_root
39 # seedlot_maintenance_info_cvterms
40 # The cvterm_id(s) of event(s) displayed as seedlot information on the record page
41 # seedlot_maintenance_info_cvterms 78211,78168
42 seedlot_maintenance_info_cvterms
44 project_name SGN
46 user_registration_join_breeding_programs 0  # when enabled, a new user can choose which breeding programs to join during registration
47 disable_login 0
48 default_login_janedoe 0
49 require_login 0
50 brapi_require_login 0
51 brapi_GET any
52 brapi_POST submitter,curator
53 brapi_PUT submitter,curator
54 brapi_OPTIONS any
56 # Cluster backend
57 backend Slurm
59 # crossing prediction tool - should the sex of the plants be taken into account? (for diecieous plants such as Yam)
60 # if yes, provide the name of the variable that is used to score the sex of the plant
62 plant_sex_variable_name  "Plant sex estimation 0-4"
64 # the species that should be preselected in a list of species
66 preferred_species
68 # who is the web server user for chowning and emailing.  need to set
69 # these manually under Apache mod_perl for example, because the server
70 # runs under a different user than when it starts.
71 www_user                 __USERNAME__
72 www_group                __GROUPNAME__
74 # when true, server removes its tempfiles when the app is started
75 clear_tempfiles_on_restart  1
77 show_grafting_interface 0
78 graft_separator_string "+"
80 solqtl /export/prod/tmp/solqtl/__USERNAME__
81 ##### other config variables #####
83 dbsearchpath   sgn
84 dbsearchpath   public
85 dbsearchpath   annotation
86 dbsearchpath   genomic
87 dbsearchpath   insitu
88 dbsearchpath   metadata
89 dbsearchpath   pheno_population
90 dbsearchpath   phenome
91 dbsearchpath   physical
92 dbsearchpath   tomato_gff
93 dbsearchpath   biosource
94 dbsearchpath   gem
95 dbsearchpath   sgn_people
97 <DatabaseConnection sgn_test>
98         #password   set_this_please
99         dsn   dbi:Pg:host=localhost;dbname=cxgn
100         user   postgres
101         search_path   public
102         search_path   sgn
103         search_path   annotation
104         search_path   genomic
105         search_path   insitu
106         search_path   metadata
107         search_path   pheno_population
108         search_path   phenome
109         search_path   physical
110         search_path   tomato_gff
111         search_path   biosource
112         search_path   gem
113         search_path   sgn_people
114 </DatabaseConnection>
116 ### Cview configuration parameters
117 <Controller::Cview>
118         cview_default_map_id 9
119 </Controller::Cview>
121 ##Github access token used for contact form posting of issues
122 github_access_token NULL
124 ##NOAA National Climatic Data Center Access token
125 noaa_ncdc_access_token NULL
127 ## captcha keys for the production site
128 #captcha_private_key  6Lc__9YSAAAAANcTczARhRnZRkKmzWjnhipyqI6f
129 #captcha_public_key   6Lc__9YSAAAAAH2ODL2FlR8jKa2Ms9i9d_0ziBWr
131 ### backcompat variables for the various static content types
132 # relative URL and absolute path for static datasets
133 static_datasets_url       /data
134 static_datasets_path      /export/prod/public
136 # relative URL and absoluate path for static site content
137 static_content_url        /static_content
138 static_content_path       /export/prod/public/sgn_static_content
139 homepage_files_dir        /export/prod/public/sgn_static_content/homepage
141 # this needs to be here rather than in the CGI controller itself to
142 # work around a bug in all but the most recent
143 # Catalyst::Controller::CGIBin
144 <Controller::CGI>
145     cgi_dir   __path_to(cgi-bin)__
146 </Controller::CGI>
148 <Controller::Genomes::Tomato>
149    bac_publish_subdir tomato_genome/bacs
150 </Controller::Genomes::Tomato>
152 <Plugin::SmartURI>
153                disposition host-header   # application-wide
154                uri_class   URI::SmartURI # by default
155 </Plugin::SmartURI>
158 <View::Email::ErrorEmail>
159     <default>
160         content_type  text/plain
161         to            sgn-bugs@solgenomics.net
162         from          sgn-bugs@solgenomics.net
163         charset       utf-8
164     </default>
165     dump_skip_class   Catalyst Catalyst::Stats DBIx::Class::Schema DBIx::Class::ResultSet  DBIx::Class::Row  HTML::Mason::Interp
166 </View::Email::ErrorEmail>
168 # should we send emails, if we are a production server? this can be
169 # used to turn off emails if we are being bombarded.
170 admin_email              sgn-feedback@solgenomics.net
171 feedback_email           sgn-feedback@solgenomics.net
172 bugs_email               sgn-bugs@solgenomics.net
173 email                    sgn-feedback@solgenomics.net
174 contact_form_email       contactform@solgenomics.net
175 cluster_job_email        cluster-jobs@solgenomics.net
176 tokn_email               scp78@cornell.edu
177 disable_emails           0
179 # External SMTP Server to send emails
180 smtp_server
181 smtp_layer  ssl
182 smtp_auth   AUTO
183 smtp_port
184 smtp_login
185 smtp_pass
186 smtp_from
188 # URL of the canonical, main production site
189 main_production_site_url  http://solgenomics.net
191 #is there a system message text file somewhere we should be displaying?
192 system_message_file       __HOME__/system_message.txt
193 # defaults to /tmp/<user>/SGN-site
194 #tempfiles_base
197 tempfiles_base            ""
200 # where to run cluster jobs - nothing means "batch" queue
201 #web_cluster_queue
204 # where to run cluster jobs
205 web_cluster_queue        batch
208 #is this a mirror of SGN, or the real thing?
209 is_mirror                 0
211 # how to find cosii_files for markerinfo.pl
212 cosii_files               /export/cosii2
214 # log files, ABSOLUTE PATHS
215 error_log                 /var/log/sgn-site/error.log
216 access_log                /var/log/sgn-site/access.log
217 rewrite_log               /var/log/sgn-site/rewrite.log
218 blast_log                 /export/prod/tmp/blast/blast.log
219 image_analysis_log        /tmp/image_analysis.log
222 # paths to stuff
223 hmmsearch_location        hmmsearch
224 intron_finder_database    /export/prod/public/intron_finder_database
226 trace_path                /export/prod/public/chromatograms
227 image_dir                 /images/image_files
228 image_path                /export/prod/public/images
229 tempfiles_subdir          /static/documents/tempfiles
230 submit_dir                /data/shared/submit-uploads
231 programs_subdir           /programs
232 documents_subdir          /documents
233 conf_subdir               /conf
234 support_data_subdir       /support_data
236 #stock tempfiles (for downloading phenotype and genotype raw data)
237 stock_tempfiles           /static/documents/tempfiles/stock
238 #weblogo tempfiles for motifs finder tools
239 tmp_weblogo_path          /static/documents/tempfiles/
241 #currently our cookies encrypt stuff, so this is just a random string to use to do that
242 cookie_encryption_key     bo9yie2JeeVee6ouAhch9aomeesieJ3iShae8aa8
244 # where the genefamily info is stored
245 genefamily_dir            /export/prod/private/genomes/genefamily/
249 # stock properties that should be displayed and allowed to be edited in the "additional information" section and can be used in the accession file upload
250 editable_stock_props variety,released_variety_name,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,ncbi_taxonomy_id,transgenic,introgression_parent,introgression_backcross_parent,introgression_map_version,introgression_chromosome,introgression_start_position_bp,introgression_end_position_bp
252 editable_stock_props_definitions released_variety_name:offical variety name of the accession or stock,location_code:location code(s) for the accession,ploidy:a number(s) indicating the ploidy (e.g. 2 for diploid or 3 for triploid),genome_structure:genome structure(s) for accession which take into account ploidy and ancestral genome info e.g. AAA or AB,variety:variety(s) can be defined as a group of individuals or plants having similar traits that can be reproduced true to type from generation to generation,donor:the accession_name(s) of the donor accession and should be used in conjunction with donor institute and donor PUI,donor institute:the institute(s) of the donor accession(s),donor PUI:the permanent unique identifier(s) of the donor accession,country of origin:the country(s) of origin,state:the state(s) of origin,institute code: the institute code(s) of origin,institute name:the institute name(s) of origin,biological status of accession code:code(s) indicating the state of accession,notes:free text for notes,accession number:accession number(s) for accession from germplasm bank,PUI:permanent unique identifier(s) of the accession,seed source:origin(s) of seed source,type of germplasm storage code:code(s) indicating the type of germplasm storage,acquisition date:date(s) of acquisition YYYYMMDD for accession,transgenic:indicates if accession is transgenic. Please indicate 1 if transgenic and empty if otherwise.,introgression_parent:if the accession you are adding has an introgression that originated from one of the parents you can specify the parent here,introgression_backcross_parent:the backcross parent for introducing an introgression into the accession being added,introgression_map_version:the map version for identifying the start and stop position of the introgression. e.g. AGPv2,introgression_chromosome:the chromosome number that the introgression is on,introgression_start_position_bp:the start position of the introgression in base pairs,introgression_end_position_bp:the end position of the introgression in base pairs
255 ## Cross properties that should be displayed and allowed to be added to crosses on cross detail page.
256 ## Cross properties for cassavabase
257 cross_properties Tag Number,Pollination Date,Number of Bags,Number of Flowers,Number of Fruits,Number of Seeds
259 ##Cross properties for yambase
260 ##cross_properties Number of Flowers,Pollination Date,Harvest Date,Number of Seeds Harvested,Days to Maturity,Seed Extraction Date,Number of Seeds Extracted,Number of Viable Seeds,Number of Nonviable Seeds, Days from Harvest to Extraction
262 ##Cross properties for musabase
263 ##cross_properties First Pollination Date,Repeat Pollination Date,Harvest Date,Seed Extraction Date,Number of Seeds Extracted,Embryo Rescue Good Seeds,Embryo Rescue Bad Seeds,Embryo Rescue Total Seeds,Embryo Rescue Date,Subculture Date,Subcultures Count,Subcultures Multiplication Number,Rooting Date,Rooting Plantlet,Germinating After 2 Weeks Date,Active Germinating After 2 Weeks,Germinating Afte 8 Weeks Date,Active Germinating After 8 Weeks,Screenhouse Transfer Date,Hardening Date
266 ## Cross additional info
267 cross_additional_info female_focus_trait,male_focus_trait,female_source_trial,male_source_trial
268 cross_additional_info_header Female Focus Trait,Male Focus Trait,Female Source Trial,Male Source Trial
271 genotyping_facilities None,Cornell IGD,DArT,Intertek,IBRC Japan,BGI
274 sampling_facilities In-lab,Cornell IGD,DArT,Intertek,IBRC Japan,BGI
278 management_factor_types Fertilizer,Fungicide,Irrigation,Drought,Herbicide,Weeding,Pruning,Hormone treatment,Light treatment
282 design_types Completely Randomized,Complete Block,Resolvable Row-Column,Doubly-Resolvable Row-Column,Augmented Row-Column,Alpha Lattice,Lattice,Augmented,Modified Augmented Design,Nursery/Greenhouse,Split Plot,Partially Replicated,Westcott
286 trial_activities Started Phenotyping, Phenotyping Completed, Data Cleaning Completed, Data Analysis Completed
289 <feature SGN::Feature::FeaturePages>
290     enabled      1
291 </feature>
292 <feature SGN::Feature::LocusPages>
293     enabled      1
294 </feature>
296 # default GBrowse2 configuration, for a Debian gbrowse2 installation
297 <feature SGN::Feature::GBrowse2>
298     enabled      1
299     perl_inc     /usr/local/share/website/gbrowse/lib/perl5
300     tmp_dir      /usr/local/share/website/tmp/gbrowse
301     cgi_url      /gbrowse/bin
302     static_url   /gbrowse/static
303     run_mode     fastcgi
304     cgi_bin      /usr/lib/cgi-bin/gbrowse
305     static_dir   /usr/local/share/website/gbrowse/htdocs
306 </feature>
308 # default ITAG config
309 <feature SGN::Feature::ITAG>
310     enabled         1
311     pipeline_base   /export/shared/tomato_genome/itagpipeline/itag
312     releases_base   /export/prod/private/genomes/solanum_lycopersicum/annotation
313 </feature>
315 cview_db_backend    cxgn
317 #how to find blast stuff
318 blast_path                ""
319 blast_db_path             /export/prod/blast/databases/current
320 preselected_blastdb       224
321 jbrowse_path              /jbrowse_solgenomics/?data=data/json
323 # Set the the Blast DB (by species and reference genome) used for getting the marker flanking sequence
324 # flanking_sequence_blast_db  Triticum aestivum|RefSeq_v1|4,Triticum durum|Triticum durum|5
325 flanking_sequence_blast_db
327 #bin directory used by cluster nodes
328 cluster_shared_bindir /export/prod/bin
330 #the shared temp directory used by cluster nodes
331 cluster_shared_tempdir    /export/prod/tmp
332 gbs_temp_data  /export/prod/public
334 cluster_host ""
337 #how verbose we want the warnings to be in the apache error log
338 verbose_warnings          1
340 # Insitu file locations
341 insitu_fullsize_dir       /export/prod/public/images/insitu/processed
342 insitu_fullsize_url       /export/images/insitu/processed
343 insitu_display_dir        /export/prod/public/images/insitu/display
344 insitu_display_url        /export/images/insitu/display
345 insitu_input_dir          /export/prod/public/images/insitu/incoming
347 #path to our production_ftp site
348 ftpsite_root              /export/prod/public
349 ftpsite_url               ftp://ftp.solgenomics.net
350 #path to the pucebaboon temperature sensor file:
351 pucebaboon_file        /export/prod/public/digitemp.out
353 #path for archving uploaded files
354 archive_path     /export/prod/sgn_archive
356 #path for Cache::File system. used by CXGN::Dataset::Cache
357 cache_file_path /export/prod/sgn_cache
359 #site overall identifier prefix used for site specific data
360 #such as stocks, unignes (yet to be implemented) and other datatypes
361 #for example, uploading barcode phenotyping data will not work without this key (see L<CXGN::Stock::StockBarcode> )
362 identifier_prefix   SGN
364 #default genotyping protocol to use:
365 default_genotyping_protocol undefined(set this in sgn_local.conf)
367 genotyping_server_host NULL
368 genotyping_server_username NULL
369 genotyping_server_password NULL
370 genotyping_server_token NULL
372 #HIDAP Shiny Server Support
373 hidap_enabled    0
375 #BrAPI params
376 supportedCrop    Cassava
377 brapi_require_login 0
379 #Expression Atlas Connection
380 has_expression_atlas    0
381 expression_atlas_url    0
383 #Homepage controller customization
384 homepage_display_phenotype_uploads 0
386 ## banana ordering system
387 ordering_service_name NULL
388 ordering_service_url https://ona.io
389 ordering_service_username ONAUSER
390 ordering_service_password ONAPASS
392 #ODK Services
393 odk_crossing_data_service_name NULL
394 odk_crossing_data_service_url https://ona.io
395 odk_crossing_data_service_username ONAUSER
396 odk_crossing_data_service_password ONAPASS
397 odk_crossing_data_test_form_name NULL
398 odk_crossing_data_separate_wishlist_by_location 0
399 odk_phenotyping_data_service_name NULL
400 odk_phenotyping_data_service_url https://bio.smap.com.au
401 odk_phenotyping_data_service_username SMAPUSER
402 odk_phenotyping_data_service_password SMAPPASS
403 crontab_file NULL
404 crontab_log_filepath NULL
406 #Authorized Clients for SSO
407 authorized_clients_JSON {"TEST://":"TEST","fieldbook://":"FieldBook App","https://apps.cipotato.org/hidap_sbase/":"HIDAP","https://fieldbook.phenoapps.org/":"fieldbook"}