Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ensembl URL template property #6870

Merged
merged 1 commit into from
Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/portal.properties-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ This page describes the main properties within portal.properties.

- [Database Settings](#database-settings)
- [cBioPortal Customization](#cbioportal-customization)
- [Ensembl transcript lookup URL](#ensembl-transcript-lookup)
- [Segment File URL](#segment-file-url)
- [Bitly API Username and Key](#bitly-api-username-and-key)
- [Google Analytics](#google-analytics)
Expand Down Expand Up @@ -147,6 +148,13 @@ Different samples of a patient may have been analyzed with different gene panels
```
skin.patientview.filter_genes_profiled_all_samples=
```
# Ensembl transcript lookup URL
The Mutations tab contains various links, redirecting the user to external information resources regarding the displayed transcript. The Ensembl template URL can be customized by modifying the property:
```
ensembl.transcript_url=
```
The default setting is `http://ensembl.org/homo_sapiens/Transcript/Summary?t=<%= transcriptId %>`. The `<%= transcriptId %>` is substituted by the frontend code into respective transcript ID.


# Segment File URL

Expand Down Expand Up @@ -339,4 +347,4 @@ For a list of counts of keys in cache per repository class:

For more information on Ehcache, refer to the official documentation [here](https://www.ehcache.org/documentation/3.7/index.html)

For more information on how Ehcache is implemented in cBioPortal refer to the [Caching](Caching.md) documentation.
For more information on how Ehcache is implemented in cBioPortal refer to the [Caching](Caching.md) documentation.
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 @@ -102,7 +102,8 @@
"bitly.api_key",
"bitly.user",
"bitly.access.token",
"oncoprint.custom_driver_annotation.tiers.default"
"oncoprint.custom_driver_annotation.tiers.default",
"ensembl.transcript_url"

};

Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/portal.properties.EXAMPLE
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,6 @@ matchminer.token=
# see: https://github.com/vy/hrrs/blob/master/README.md
#hrrs.logging.filepath=
#hrrs.enable.logging=false

# ensembl URL template for transcript lookup in Mutations tab. Default is http://grch37.ensembl.org/homo_sapiens/Transcript/Summary?t=<%= transcriptId %>
#ensembl.transcript_url=http://ensembl.org/homo_sapiens/Transcript/Summary?t=<%= transcriptId %>