https://github.com/omicsdi/ebi-logs-reader
This library enables to trace the downloads of EBI resources
https://github.com/omicsdi/ebi-logs-reader
Last synced: 8 months ago
JSON representation
This library enables to trace the downloads of EBI resources
- Host: GitHub
- URL: https://github.com/omicsdi/ebi-logs-reader
- Owner: OmicsDI
- License: apache-2.0
- Created: 2018-10-04T10:16:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-06-27T16:09:55.000Z (12 months ago)
- Last Synced: 2025-07-29T04:12:13.337Z (11 months ago)
- Language: Java
- Size: 61.5 MB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This library provides easy computation of all the downloads per file for each EBI resource.
How to use it:
--------------
The name of the databases can be found here:
| Database Name | Database URL |
|------------------|:----------------------------:|
| Pride | www.ebi.ac.uk/pride |
| ExpressionAtlas | www.ebi.ac.uk/gxa |
| ArrayExpress | www.ebi.ac.uk/arrayexpress |
| EVA | www.ebi.ac.uk/eva |
| Metabolights | www.ebi.ac.uk/metabolights |
| ENA | www.ebi.ac.uk/ena |
Code:
```java
ElasticSearchWsClient elasticSearchClient = new ElasticSearchWsClient(new ElasticSearchWsConfigProd(port,machine,user, port));
elasticSearchClient.initialiseData(fromDate, toDate);
// ACCESSION_TO_PERIOD_TO_ANONYMISED_IP_ADDRESS_TO_FILE_NAME
Map>>> dbDownloadInfo
= elasticSearchClient.getDownloadsData(ElasticSearchWsConfigProd.DB.Pride);
```
Be aware that this needs more than 12G memory.