Comments (2)
Dear @ramiromagno,
Thank you for your suggestions.
Regarding these suggestions here are our comments:
As general remarks, the aim of the endpoint rest/info
is to list diverse "generic" information regarding the PGS Catalog.
This endpoint is a good place to know the current release date and numbers, the current REST API version, the latest PGS paper, etc ...
Suggestion 1
The rest/release
endpoints are only here to list the number of new data on each release.
We are hesitant to add the number of new Traits as this particular type of data can change with the ontolgies (merged traits, new traits, obsolete traits).
Furthermore, we think that the total number of entries is more suitable for the rest/info
endpoint.
Suggestion 2
As I wrote it above, we view the rest/info
as a place to put different type of information regarding the Catalog. Therefore we think that this is a decent place for the citation and the terms_of_use.
Suggestion 3
It makes sense to have a dedicated endpoint listing the different REST API versions and their changelogs.
Note that the changelog is already available in the https://www.pgscatalog.org/rest page (under REST API version changelog).
Although it would make sense to have it in the same way as the rest/release
endpoint, we think it will be a bit overkilling to have 3 endpoints that (e.g. all/current/1.7). We believe that there won't be that many new versions in the future (at least less than the number of new releases) and therefore it should be easy to parse and filter.
The idea would be to have a unique endpoint (e.g. rest/api_versions
) and a structure like this:
{
"current": {
"version": 1.7,
"date": "2021-04",
"changelog": [
"New data 'ancestry_distribution' in the `/rest/score` endpoints, providing information about ancestry distribution on each stage of the PGS",
"New endpoint `/rest/ancestry_categories` providing the list of ancestry symbols and names."
]
},
"previous": [
{
"version": 1.6,
"date": "2021-03",
"changelog": [
"New endpoint `/rest/info` with data such as the REST API version, latest release date and counts, PGS citation, ...",
"New endpoint `/rest/cohort/all` returning all the Cohorts and their associated PGS.",
"New endpoint `/rest/sample_set/all` returning all the Sample Set data."
]
},
{
"version": 1.5,
"date": "2021-02",
"changelog": [
"Split the array of the field 'associated_pgs_ids' (from the `/rest/publication/` endpoint) in 2 arrays 'development' and 'evaluation'.",
"New flag parameter 'include_parents' for the endpoint `/rest/trait/all` to display the traits in the catalog + their parent traits (default: 0)."
]
},
...
]
}
I hope this makes sense.
Best regards,
Laurent
from pgs_catalog.
Thank you Laurent for taking the time to explain. Makes perfect sense!
from pgs_catalog.
Related Issues (20)
- Litsuggest duplicate entries
- Handle user permissions for file imports
- Making curation tracker curation_status read-only
- Update validator and doc to allow scoring files without effect_weight column but with dosage_#_weight column
- QC of the variant positions and reported traits during import
- Improving the reported trait QC during import
- Remove windows carriage returns from scoring files during import HOT 1
- Add new traits to release dashboard HOT 1
- Ref genome validator: Add support for indels
- Add link to EBI data preservation in footer
- Filter scores by minimum number of variants rather than exact number
- Update effect/other_allele scoring file schema
- Potential duplicated study names in Curation Tracker from the same Litsuggest import
- Curation: Show lifted embargos in ready-for-release table
- New traits count discrepancy
- Improve import_studies error reporting
- Ancestries filters not working together with "show european" or "only multi-ancestry"
- Make the list of eligible publications visible
- Add scores evaluated on the sample on Sample Set page
- Search by SNP Not Available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgs_catalog.