Merge branch 'master' into topic/fix-vcf-download
[sgn.git] / sgn.conf
bloba53b7560a7b19ba99db82b7be4e33fcaf7d18354
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 solqtl /export/prod/tmp/solqtl/__USERNAME__
78 ##### other config variables #####
80 dbsearchpath   sgn
81 dbsearchpath   public
82 dbsearchpath   annotation
83 dbsearchpath   genomic
84 dbsearchpath   insitu
85 dbsearchpath   metadata
86 dbsearchpath   pheno_population
87 dbsearchpath   phenome
88 dbsearchpath   physical
89 dbsearchpath   tomato_gff
90 dbsearchpath   biosource
91 dbsearchpath   gem
92 dbsearchpath   sgn_people
94 <DatabaseConnection sgn_test>
95         #password   set_this_please
96         dsn   dbi:Pg:host=localhost;dbname=cxgn
97         user   postgres
98         search_path   public
99         search_path   sgn
100         search_path   annotation
101         search_path   genomic
102         search_path   insitu
103         search_path   metadata
104         search_path   pheno_population
105         search_path   phenome
106         search_path   physical
107         search_path   tomato_gff
108         search_path   biosource
109         search_path   gem
110         search_path   sgn_people
111 </DatabaseConnection>
113 ### Cview configuration parameters
114 <Controller::Cview>
115         cview_default_map_id 9
116 </Controller::Cview>
118 ##Github access token used for contact form posting of issues
119 github_access_token NULL
121 ##NOAA National Climatic Data Center Access token
122 noaa_ncdc_access_token NULL
124 ## captcha keys for the production site
125 #captcha_private_key  6Lc__9YSAAAAANcTczARhRnZRkKmzWjnhipyqI6f
126 #captcha_public_key   6Lc__9YSAAAAAH2ODL2FlR8jKa2Ms9i9d_0ziBWr
128 ### backcompat variables for the various static content types
129 # relative URL and absolute path for static datasets
130 static_datasets_url       /data
131 static_datasets_path      /export/prod/public
133 # relative URL and absoluate path for static site content
134 static_content_url        /static_content
135 static_content_path       /export/prod/public/sgn_static_content
136 homepage_files_dir        /export/prod/public/sgn_static_content/homepage
138 # this needs to be here rather than in the CGI controller itself to
139 # work around a bug in all but the most recent
140 # Catalyst::Controller::CGIBin
141 <Controller::CGI>
142     cgi_dir   __path_to(cgi-bin)__
143 </Controller::CGI>
145 <Controller::Genomes::Tomato>
146    bac_publish_subdir tomato_genome/bacs
147 </Controller::Genomes::Tomato>
149 <Plugin::SmartURI>
150                disposition host-header   # application-wide
151                uri_class   URI::SmartURI # by default
152 </Plugin::SmartURI>
155 <View::Email::ErrorEmail>
156     <default>
157         content_type  text/plain
158         to            sgn-bugs@solgenomics.net
159         from          sgn-bugs@solgenomics.net
160         charset       utf-8
161     </default>
162     dump_skip_class   Catalyst Catalyst::Stats DBIx::Class::Schema DBIx::Class::ResultSet  DBIx::Class::Row  HTML::Mason::Interp
163 </View::Email::ErrorEmail>
165 # should we send emails, if we are a production server? this can be
166 # used to turn off emails if we are being bombarded.
167 admin_email              sgn-feedback@solgenomics.net
168 feedback_email           sgn-feedback@solgenomics.net
169 bugs_email               sgn-bugs@solgenomics.net
170 email                    sgn-feedback@solgenomics.net
171 contact_form_email       contactform@solgenomics.net
172 cluster_job_email        cluster-jobs@solgenomics.net
173 tokn_email               scp78@cornell.edu
174 disable_emails           0
176 # External SMTP Server to send emails
177 smtp_server
178 smtp_layer  ssl
179 smtp_auth   AUTO
180 smtp_port
181 smtp_login
182 smtp_pass
183 smtp_from
185 # URL of the canonical, main production site
186 main_production_site_url  http://solgenomics.net
188 #is there a system message text file somewhere we should be displaying?
189 system_message_file       __HOME__/system_message.txt
190 # defaults to /tmp/<user>/SGN-site
191 #tempfiles_base
194 tempfiles_base            ""
197 # where to run cluster jobs - nothing means "batch" queue
198 #web_cluster_queue
201 # where to run cluster jobs
202 web_cluster_queue        batch
205 #is this a mirror of SGN, or the real thing?
206 is_mirror                 0
208 # how to find cosii_files for markerinfo.pl
209 cosii_files               /export/cosii2
211 # log files, ABSOLUTE PATHS
212 error_log                 /var/log/sgn-site/error.log
213 access_log                /var/log/sgn-site/access.log
214 rewrite_log               /var/log/sgn-site/rewrite.log
215 blast_log                 /export/prod/tmp/blast/blast.log
216 image_analysis_log        /tmp/image_analysis.log
219 # paths to stuff
220 hmmsearch_location        hmmsearch
221 intron_finder_database    /export/prod/public/intron_finder_database
223 trace_path                /export/prod/public/chromatograms
224 image_dir                 /images/image_files
225 image_path                /export/prod/public/images
226 tempfiles_subdir          /static/documents/tempfiles
227 submit_dir                /data/shared/submit-uploads
228 programs_subdir           /programs
229 documents_subdir          /documents
230 conf_subdir               /conf
231 support_data_subdir       /support_data
233 #stock tempfiles (for downloading phenotype and genotype raw data)
234 stock_tempfiles           /static/documents/tempfiles/stock
235 #weblogo tempfiles for motifs finder tools
236 tmp_weblogo_path          /static/documents/tempfiles/
238 #currently our cookies encrypt stuff, so this is just a random string to use to do that
239 cookie_encryption_key     bo9yie2JeeVee6ouAhch9aomeesieJ3iShae8aa8
241 # where the genefamily info is stored
242 genefamily_dir            /export/prod/private/genomes/genefamily/
246 # 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
247 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
249 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
252 ## Cross properties that should be displayed and allowed to be added to crosses on cross detail page.
253 ## Cross properties for cassavabase
254 cross_properties Tag Number,Pollination Date,Number of Bags,Number of Flowers,Number of Fruits,Number of Seeds
256 ##Cross properties for yambase
257 ##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
259 ##Cross properties for musabase
260 ##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
263 ## Cross additional info
264 cross_additional_info female_focus_trait,male_focus_trait,female_source_trial,male_source_trial
265 cross_additional_info_header Female Focus Trait,Male Focus Trait,Female Source Trial,Male Source Trial
268 genotyping_facilities None,Cornell IGD,DArT,Intertek,IBRC Japan,BGI
271 sampling_facilities In-lab,Cornell IGD,DArT,Intertek,IBRC Japan,BGI
275 management_factor_types Fertilizer,Fungicide,Irrigation,Drought,Herbicide,Weeding,Pruning,Hormone treatment,Light treatment
279 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
283 trial_activities Started Phenotyping, Phenotyping Completed, Data Cleaning Completed, Data Analysis Completed
286 <feature SGN::Feature::FeaturePages>
287     enabled      1
288 </feature>
289 <feature SGN::Feature::LocusPages>
290     enabled      1
291 </feature>
293 # default GBrowse2 configuration, for a Debian gbrowse2 installation
294 <feature SGN::Feature::GBrowse2>
295     enabled      1
296     perl_inc     /usr/local/share/website/gbrowse/lib/perl5
297     tmp_dir      /usr/local/share/website/tmp/gbrowse
298     cgi_url      /gbrowse/bin
299     static_url   /gbrowse/static
300     run_mode     fastcgi
301     cgi_bin      /usr/lib/cgi-bin/gbrowse
302     static_dir   /usr/local/share/website/gbrowse/htdocs
303 </feature>
305 # default ITAG config
306 <feature SGN::Feature::ITAG>
307     enabled         1
308     pipeline_base   /export/shared/tomato_genome/itagpipeline/itag
309     releases_base   /export/prod/private/genomes/solanum_lycopersicum/annotation
310 </feature>
312 cview_db_backend    cxgn
314 #how to find blast stuff
315 blast_path                ""
316 blast_db_path             /export/prod/blast/databases/current
317 preselected_blastdb       224
318 jbrowse_path              /jbrowse_solgenomics/?data=data/json
320 # Set the the Blast DB (by species and reference genome) used for getting the marker flanking sequence
321 # flanking_sequence_blast_db  Triticum aestivum|RefSeq_v1|4,Triticum durum|Triticum durum|5
322 flanking_sequence_blast_db
324 #bin directory used by cluster nodes
325 cluster_shared_bindir /export/prod/bin
327 #the shared temp directory used by cluster nodes
328 cluster_shared_tempdir    /export/prod/tmp
329 gbs_temp_data  /export/prod/public
331 cluster_host ""
334 #how verbose we want the warnings to be in the apache error log
335 verbose_warnings          1
337 # Insitu file locations
338 insitu_fullsize_dir       /export/prod/public/images/insitu/processed
339 insitu_fullsize_url       /export/images/insitu/processed
340 insitu_display_dir        /export/prod/public/images/insitu/display
341 insitu_display_url        /export/images/insitu/display
342 insitu_input_dir          /export/prod/public/images/insitu/incoming
344 #path to our production_ftp site
345 ftpsite_root              /export/prod/public
346 ftpsite_url               ftp://ftp.solgenomics.net
347 #path to the pucebaboon temperature sensor file:
348 pucebaboon_file        /export/prod/public/digitemp.out
350 #path for archving uploaded files
351 archive_path     /export/prod/sgn_archive
353 #path for Cache::File system. used by CXGN::Dataset::Cache
354 cache_file_path /export/prod/sgn_cache
356 #site overall identifier prefix used for site specific data
357 #such as stocks, unignes (yet to be implemented) and other datatypes
358 #for example, uploading barcode phenotyping data will not work without this key (see L<CXGN::Stock::StockBarcode> )
359 identifier_prefix   SGN
361 #default genotyping protocol to use:
362 default_genotyping_protocol undefined(set this in sgn_local.conf)
364 genotyping_server_host NULL
365 genotyping_server_username NULL
366 genotyping_server_password NULL
367 genotyping_server_token NULL
369 #HIDAP Shiny Server Support
370 hidap_enabled    0
372 #BrAPI params
373 supportedCrop    Cassava
374 brapi_require_login 0
376 #Expression Atlas Connection
377 has_expression_atlas    0
378 expression_atlas_url    0
380 #Homepage controller customization
381 homepage_display_phenotype_uploads 0
383 ## banana ordering system
384 ordering_service_name NULL
385 ordering_service_url https://ona.io
386 ordering_service_username ONAUSER
387 ordering_service_password ONAPASS
389 #ODK Services
390 odk_crossing_data_service_name NULL
391 odk_crossing_data_service_url https://ona.io
392 odk_crossing_data_service_username ONAUSER
393 odk_crossing_data_service_password ONAPASS
394 odk_crossing_data_test_form_name NULL
395 odk_crossing_data_separate_wishlist_by_location 0
396 odk_phenotyping_data_service_name NULL
397 odk_phenotyping_data_service_url https://bio.smap.com.au
398 odk_phenotyping_data_service_username SMAPUSER
399 odk_phenotyping_data_service_password SMAPPASS
400 crontab_file NULL
401 crontab_log_filepath NULL
403 #Authorized Clients for SSO
404 authorized_clients_JSON {"TEST://":"TEST","fieldbook://":"FieldBook App","https://apps.cipotato.org/hidap_sbase/":"HIDAP","https://fieldbook.phenoapps.org/":"fieldbook"}