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
Use public oncokb instance for portal without token #7457
Conversation
@@ -1,13 +1,23 @@ | |||
# Introduction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jjgao could you take a look these instructions? Thank you.
@@ -41,12 +44,11 @@ public void afterPropertiesSet() throws Exception { | |||
} | |||
|
|||
private void checkOncokbInfo() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jjgao I still remained the message. But let me know if you think it's no longer needed.
@@ -132,7 +132,7 @@ The Network tab was retired on November 1, 2019. We will soon release a new feat | |||
#### Does the portal contain cancer study X? | |||
Check out the [Data Sets Page](https://www.cbioportal.org/data_sets.jsp) for the complete set of cancer studies currently stored in the portal. If you do not see your specific cancer study of interest, please [contact us](mailto:cbioportal@googlegroups.com), and we will let you know if it's in the queue. | |||
#### Which resources are integrated for variant annotation? | |||
cBioPortal supports the annotation of variants from several different databases. These databases provide information about the recurrence of, or prior knowledge about, specific amino acid changes. For each variant, the number of occurrences of mutations at the same amino acid position present in the COSMIC database are reported. Furthermore, variants are annotated as “hotspots” if the amino acid positions were found to be recurrent linear hotspots, as defined by the Cancer Hotspots method ([cancerhotspots.org](http://www.cancerhotspots.org/)), or three-dimensional hotspots, as defined by 3D Hotspots ([3dhotspots.org](https://www.3dhotspots.org/)). Prior knowledge about variants, including clinical actionability information, is provided from three different sources: OncoKB ([oncokb.org](http://oncokb.org/)), CIViC ([civicdb.org](https://civicdb.org/)), as well as My Cancer Genome ([mycancergenome.org](https://www.mycancergenome.org/)). For OncoKB, exact levels of clinical actionability are displayed in cBioPortal, as defined by [the OncoKB paper](http://ascopubs.org/doi/full/10.1200/PO.17.00011). | |||
cBioPortal supports the annotation of variants from several different databases. These databases provide information about the recurrence of, or prior knowledge about, specific amino acid changes. For each variant, the number of occurrences of mutations at the same amino acid position present in the COSMIC database are reported. Furthermore, variants are annotated as “hotspots” if the amino acid positions were found to be recurrent linear hotspots, as defined by the Cancer Hotspots method ([cancerhotspots.org](http://www.cancerhotspots.org/)), or three-dimensional hotspots, as defined by 3D Hotspots ([3dhotspots.org](https://www.3dhotspots.org/)). Prior knowledge about variants, including clinical actionability information, is provided from three different sources: OncoKB ([www.oncokb.org](https://www.oncokb.org/)), CIViC ([civicdb.org](https://civicdb.org/)), as well as My Cancer Genome ([mycancergenome.org](https://www.mycancergenome.org/)). For OncoKB, exact levels of clinical actionability are displayed in cBioPortal, as defined by [the OncoKB paper](http://ascopubs.org/doi/full/10.1200/PO.17.00011). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't spot the change in this line, am I missing something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@onursumer only changing http:oncokb.org to https://www.oncokb.org
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhx828 Could you list all the configuration parameters in portal.properties for OncoKB? Maybe we can make some changes, e.g. reduce or consolidate some of them.
@@ -165,7 +165,7 @@ segfile.url=http://cbio.mskcc.org/cancergenomics/gdac-portal/seg/ | |||
show.oncokb=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to specify the API URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see below. oncokb.public_api.url
can be used
docs/OncoKB-Data-Access.md
Outdated
Following properties can be edited in the `portal.properties` file or set in system variables if you are using docker. | ||
- `show.oncokb` should be set to `true` | ||
- `oncokb.token` should be set to a valid OncoKB access token value | ||
- `oncokb.public_api.url` should be set to `https://www.oncokb.org` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a different parameter for authenticated API?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jjgao no, there are only three parameters for oncokb and all listed here. As long as they supply the token, we will attach that to the authentication header.
docs/OncoKB-Data-Access.md
Outdated
- `show.oncokb` should be set to `true` | ||
- `oncokb.token` should be set to a valid OncoKB access token value | ||
- `oncokb.public_api.url` should be set to `https://www.oncokb.org` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we have a default value: DEFAULT_ONCOKB_URL = "https://public.api.oncokb.org/api/v1", any difference between public.api.oncokb.org/api/v1
and www.oncokb.org
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leexgh we actually changed the default to public.api.oncokb.org which does not require authentication. But good catch! Here should be www.oncokb.org/api/v1
@@ -30,6 +32,7 @@ public void contextInitialized(ServletContextEvent arg0) { | |||
|
|||
this.showOncokb = Boolean.parseBoolean(getProperty("show.oncokb", "true")); | |||
this.oncokbToken = getProperty("oncokb.token", ""); | |||
this.oncokbURL = getProperty("oncokb.public_api.url", ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zhx828 do you think we need to set a default url for this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leexgh I don't think so. We use its empty status for later printing out the warning message.
5313ddf
to
d0db996
Compare
Update documentation for using oncokb token to access therapeutic info Update all oncokb url to https Co-authored-by: Onur Sumer <s.onur.sumer@gmail.com> Signed-off-by: Hongxin Zhang <hongxin@cbio.mskcc.org>
8bce47f
to
b06888b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This is a part of fix for oncokb/oncokb#1975