Skip to content

This library enables to trace the downloads of EBI resources

License

Notifications You must be signed in to change notification settings

OmicsDI/ebi-logs-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

    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.

About

This library enables to trace the downloads of EBI resources

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •