From a15dd8dc588f44ac8fe1c93131c3f87029ef207a Mon Sep 17 00:00:00 2001
From: Vitor Trovisco <vmt25@cam.ac.uk>
Date: Fri, 24 Sep 2021 15:28:57 +0000
Subject: [PATCH] Update canto_deploy.yaml - reverts d483c200

---
 canto_deploy.yaml | 127 ++++++++++++++++++++--------------------------
 1 file changed, 54 insertions(+), 73 deletions(-)

diff --git a/canto_deploy.yaml b/canto_deploy.yaml
index 9bc8250..6fb504f 100644
--- a/canto_deploy.yaml
+++ b/canto_deploy.yaml
@@ -1,18 +1,18 @@
 ---
 # Canto config file  -*- conf -*-
 name: Fly-Canto
-long_name: Fly-Canto: FlyBase phenotype curation @ flybase-vm
+long_name: FlyBase-pheno-test-local
 
 
 instance_organism:
-  taxonid: 7227
+  taxonid: 7227                                                                       
 
 flybase_mode: 1
 
 annotation_figure_field: 0
 
-# enable deletion buttons on allele creation table on genotype management page
-show_quick_deletion_buttons: 1
+# disable deletion buttons on allele creation table on genotype management page
+show_quick_deletion_buttons: 0
 
 Model::TrackModel:
   connect_info:
@@ -30,11 +30,11 @@ Model::ChadoModel:
     - PASSWORD
   schema_class: Canto::ChadoDB
 
-#This is required to enable connection to Chado database
+#This is required to enable the Chado database connection 
 chado:
   taxon_id_lookup_strategy: dbxref
   ignore_case_in_gene_query: 0
-#This is also required to enable connection to Chado database
+#This is also required to enable the Chado database connection 
 implementation_classes:
   gene_adaptor: Canto::Chado::GeneLookup
   go_adaptor: Canto::Track::OntologyLookup
@@ -42,14 +42,15 @@ implementation_classes:
 
 
 # configuration of alleles
+## trying to remove fields for strain and allele expression - did not seem to work on initial test
 alleles_have_expression: 0
 strains_mode: 0
 split_genotypes_by_organism: 0
-##this configures whether the allele creation table on the genotype management page is enabled or not (0 - disabled; 1 - enabled)
+##this enables/disables the allele creation table on the genotype management page (0 - disabled; 1 - enabled)
 show_genotype_management_genes_list: 1
-##this configures whether diploids are allowed or not
 diploid_mode: 1
-# configuration of internal notes on single alleles and config:
+
+## allow internal notes on single alleles and config:
 notes_on_single_allele_genotypes_only: 1
 allele_note_types:
   - name: phenotype
@@ -63,24 +64,10 @@ allele_note_types:
   - name: internal_note
     display_name: Internal note
 
+# The heading above the external_notes section on the front page of the publication session, if any (tis notes are external to canto but internal for FlyBase, hence the difference in labels)
+external_notes_label: Internal notes
 
-# Publication-level private notes configuration (i.e. FlyBase's internal notes)
-## Imported pre-existent publication-level internal notes
-### The heading for the pre-existing publication-level internal notes section on the front page (if any); please note that these notes are 'external' to Canto (made upstream of pheno curation), which is why the filed is labelled 'external_notes'
-external_notes_label: Internal notes from JSON
-### if there are no notes we show "[none]" instead of hiding the section
-always_show_external_notes_section: 1
-## publication-level internal notes created by the curator within the session
-### if 1, show the internal notes on the front page
-show_message_for_curators_on_front_page: 1
-### header for the message to curators section on the front page (if enabled)
-message_to_curators_label: Internal notes from session
-
-
-# put the genotype lists in the same order as the allele_type_list
-sort_genotype_management_page_by_allele_type: 1
-
-## display wildtype 'alleles' simply as '+', e.g. w[+]
+## display wildtype 'alleles' simply as '+'
 wildtype_name_template: '@@gene_display_name@@[+]'
 
 ## configuration of allele types
@@ -118,7 +105,7 @@ database_name: Fly-Canto
 
 database_url: www.flybase.org
 
-instance_front_subtitle: Fly-Canto - Canto for FlyBase Phenotype Curation
+instance_front_subtitle: Canto for FlyBase
 
 available_annotation_type_list:
   - name: phenotypic_class
@@ -134,7 +121,6 @@ available_annotation_type_list:
     can_have_conditions: 0
     #allow_annotation_transfer - use true/false
     allow_annotation_transfer: true
-    annotation_table_columns_to_hide: [term_ontid]
     broad_term_suggestions: >
       lethal, sterile, visible, cell number defective, locomotor behavior defective
     specific_term_examples: >
@@ -160,7 +146,6 @@ available_annotation_type_list:
     can_have_conditions: 0
     #allow_annotation_transfer - use true/false
     allow_annotation_transfer: true
-    annotation_table_columns_to_hide: [term_ontid]
     broad_term_suggestions: >
       embryo, wing, eye, ovary, wing disc, neuromuscular junction
     specific_term_examples: >
@@ -180,7 +165,6 @@ available_annotation_type_list:
     interaction_term_required: 1
     #allow_annotation_transfer - use true/false
     allow_annotation_transfer: true
-    annotation_table_columns_to_hide: [term_ontid]
     hide_extension_relations: [qual,dv_qual]
     display_name: 'phenotype class interaction'
     very_short_display_name: 'phen-class interaction'
@@ -202,7 +186,6 @@ available_annotation_type_list:
     interaction_term_required: 1
     #allow_annotation_transfer - use true/false
     allow_annotation_transfer: true
-    annotation_table_columns_to_hide: [term_ontid]
     hide_extension_relations: [qual,dv_qual]
     display_name: 'phenotype anatomy interaction'
     very_short_display_name: 'anatomy interaction'
@@ -225,7 +208,7 @@ available_annotation_type_list:
     interaction_same_locus: false
     #allow_annotation_transfer - use true/false
     allow_annotation_transfer: true
-    annotation_table_columns_to_hide: [term_ontid]
+    show_quick_deletion_buttons: 0
     category: interaction
     display_name: 'complementation'
     feature_type: 'metagenotype'
@@ -236,13 +219,11 @@ available_annotation_type_list:
       - Fails to complement
   - name: rescue
     can_have_conditions: 0
+    allow_annotation_transfer: 1
     #single_locus_only -  use true/false
     single_locus_only: true
     #interaction_same_locus -  use true/false
     interaction_same_locus: true
-    #allow_annotation_transfer - use true/false
-    allow_annotation_transfer: true
-    annotation_table_columns_to_hide: [term_ontid]
     category: interaction
     display_name: 'rescue'
     feature_type: 'metagenotype'
@@ -253,7 +234,7 @@ available_annotation_type_list:
       - Fails to rescue
 
 
-# define which annotation types are enabled
+# restrict the list of annotation types
 enabled_annotation_type_list:
   - phenotypic_class
   - anatomy
@@ -263,7 +244,41 @@ enabled_annotation_type_list:
   - rescue
 
 
-#configure which interaction evidence codes can be used with which phenotype classes
+ontology_namespace_config:
+  subsets_to_ignore:
+    primary_autocomplete:
+      - "is_a(Grouping_terms)"
+    primary_select:
+      - "is_a(Grouping_terms)"
+      - "is_a(qc_do_not_annotate)"
+    extension:
+# - add the ash to allow top/root terms (while still disallowing 'do not annotate' terms):
+      # - "is_a(canto_root_subset)"
+      - "is_a(qc_do_not_annotate)"
+  do_not_annotate_subsets:
+    - "is_a(canto_root_subset)"
+    - "is_a(qc_do_not_annotate)"
+
+
+# configuration for annotation extensions in the user interface
+# See: https://github.com/pombase/canto/wiki/AnnotationExtensionConfig
+extension_conf_files:
+   - extension_config.tsv
+
+
+# to show the gene list on the genotype management gene list, un-comment the next three lines - i.e. remove the #. The spaces before "taxonid:" are needed
+#show_genotype_management_genes_list: 1
+#instance_organism:
+#   taxonid: 7227
+
+
+cache:
+  memcached:
+    servers:
+      - 127.0.0.1:11211
+
+
+#which interaction evidence codes can be used with which phenotype classes
 namespace_term_evidence_codes:
   phenotypic_class:
     # viable (minus partially lethal - majority live)
@@ -354,41 +369,6 @@ namespace_term_evidence_codes:
        - suppressible
        - non-suppressible
 
-
-ontology_namespace_config:
-  subsets_to_ignore:
-    primary_autocomplete:
-      - "is_a(Grouping_terms)"
-    primary_select:
-      - "is_a(Grouping_terms)"
-      - "is_a(qc_do_not_annotate)"
-    extension:
-# - add the ash to allow top/root terms (while still disallowing 'do not annotate' terms):
-      # - "is_a(canto_root_subset)"
-      - "is_a(qc_do_not_annotate)"
-  do_not_annotate_subsets:
-    - "is_a(canto_root_subset)"
-    - "is_a(qc_do_not_annotate)"
-
-
-# configuration for annotation extensions in the user interface
-# See: https://github.com/pombase/canto/wiki/AnnotationExtensionConfig
-extension_conf_files:
-   - extension_config.tsv
-
-
-# to show the gene list on the genotype management gene list, un-comment the next three lines - i.e. remove the #. The spaces before "taxonid:" are needed
-#show_genotype_management_genes_list: 1
-#instance_organism:
-#   taxonid: 7227
-
-
-cache:
-  memcached:
-    servers:
-      - 127.0.0.1:11211
-
-
 class_info:
   track:
     cv:
@@ -1157,7 +1137,8 @@ reports:
 
 
 curs_config:
-  # List of possible reasons for a paper to have no phenotype annotation in the case although there are associated genes
+  # Possible reasons for a paper to have no phenotype annotation in the case
+  # where genes are mentioned.
   no_annotation_reasons:
     - No phenotypic data
     - Only pheno_chem data
-- 
GitLab