This library provides easy computation of all the downloads per file for each EBI resource.
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:
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<String, Map<String, Map<String, Multiset<String>>>> dbDownloadInfo
= elasticSearchClient.getDownloadsData(ElasticSearchWsConfigProd.DB.Pride);
Be aware that this needs more than 12G memory.