Skip to content

Commit

Permalink
Merge pull request #10233 from oplantalech/reference_genome_badge
Browse files Browse the repository at this point in the history
Create property to show reference genome in study list
  • Loading branch information
alisman authored Jun 21, 2023
2 parents f7189e4 + dbee688 commit 8bf1312
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/deployment/customization/portal.properties-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,13 @@ If _show\_unauthorized\_studies_ feature has been enabled, a message (template)
skin.home_page.unauthorized_studies_global_message=
```

### Show badge with reference genome
In instances with hg19 and hg38 studies you can show the reference genome in the home page next to the number of samples. This can be done setting this property to `true` (`false` by default):

```
skin.home_page.show_reference_genome=
```

### Control the appearance of the settings menu in study view and group comparison that controls custom annotation-based filtering

A settings menu that allows the user to filter alterations in study view and group comparison may be used when [custom driver annotations](/File-Formats.md#custom-driver-annotations) were loaded for the study or studies displayed in these sections. This menu will only appear, when setting the property _skin.show\_settings\_menu_ to _true_.
Expand Down
3 changes: 2 additions & 1 deletion portal/src/main/webapp/config_service.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@
"skin.patient_view.structural_variant_table.columns.show_on_init",
"comparison.categorical_na_values",
"skin.hide_download_controls",
"study_download_url"
"study_download_url",
"skin.home_page.show_reference_genome"
};
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/portal.properties.EXAMPLE
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ skin.study_view.link_text=To build your own case set, try out our enhanced Study
# skin.home_page.show_unauthorized_studies=false
## enable this to configure a global message for the studies that are unauthorized; the message can contain placecards like {$.Owner.email} for the studies that have the information in the study tags
# skin.home_page.unauthorized_studies_global_message=The study is unauthorized. You need to request access.
## enable this to show reference genome next to the samples
# skin.home_page.show_reference_genome=false

setting controlling whether Download tabs and download/copy-to-clipboard controls should be shown
# skin.hide_download_controls=true
Expand Down

0 comments on commit 8bf1312

Please sign in to comment.