diff --git a/jbrowse2/bin/make_global_config.pl b/jbrowse2/bin/make_global_config.pl index 03c1e2b5..b311c742 100755 --- a/jbrowse2/bin/make_global_config.pl +++ b/jbrowse2/bin/make_global_config.pl @@ -126,6 +126,14 @@ # but darkened to improve contrast in some JB2 UI elements $$json{'configuration'}{'theme'}{'palette'}{'tertiary'}{'main'} = '#9da9b6'; +#add config for sorting/collapsing categories +$$json{'configuration'}{'hierarchical'}{'sort'}{'trackNames'} = $JSON::true; +$$json{'configuration'}{'hierarchical'}{'sort'}{'categories'} = $JSON::true; +$$json{'configuration'}{'hierarchical'}{'defaultCollapsed'}{'subCategories'} = $JSON::true; +$$json{'configuration'}{'hierarchical'}{'defaultCollapsed'}{'topLevelCategories'} = $JSON::true; + + + my $plugin; my $hex; $$hex{'name'} = "HexJexlPlugin"; @@ -139,6 +147,7 @@ my @plugins = ($hex, $vColor, $help); $$json{'plugins'} = \@plugins; + #that might be all that's needed #I dont think we need several of the things that are empty arrays #in the existing config diff --git a/jbrowse2/config/track_configs/rnaseq_splice.json b/jbrowse2/config/track_configs/rnaseq_splice.json deleted file mode 120000 index 6a567519..00000000 --- a/jbrowse2/config/track_configs/rnaseq_splice.json +++ /dev/null @@ -1 +0,0 @@ -c_elegans_PRJNA13758_rnaseq_splice.json \ No newline at end of file