easYGet¶
easYGet comes with easYPipe.
easYGet makes it possible to download all at once the mx ‘PROCESSED_DATA’ from a synchrotron for a given beamline (several dates possible) and a given acronym.
Downloaded processed datasets are organized by dataset folders, ready to launch easypipe.
For the moment, only works for data from Grenoble ESRF and Barcelone ALBA synchrotrons.
easYGet usage¶
easyget.py [-h] [-s {ESRF}] [-l LOGIN] [[-m MX] [-b BEAMLINE] [-d DATES [DATES …]] [-p PROTEIN] [-g GROUP]
optional arguments |
description |
---|---|
-h, –help |
show this help message and exit |
-s {ESRF}, –synchrotron {ESRF,ALBA} |
which synchrotron? (default = ERSF) |
-l LOGIN, –login LOGIN |
synchrotron login (your personal SMIS login) |
-m MX, –mx MX |
name of mx proposal synchrotron login (Example: ‘mx—-‘) |
-b BEAMLINE, –beamline BEAMLINE |
name of the beamline |
-d DATES [DATES …], –dates DATES [DATES …] |
date of the run (format AAAAMMJJ) or list of dates for the same run (format AAAAMMJJ AAAAMMJJ) |
-p PROTEIN, –protein PROTEIN |
protein acronym or space if no acronym (manual collections) |
-g GROUP, –group GROUP |
group added via MxCube3 as a supplementary folder level before acronym |
Information can be provided either in command line or in interactive mode in a terminal, or mix.
For example, you can simply run:
$ easyget.py
or:
$ easyget.py --login anna2502 --mx mx1000
or:
$ easyget.py --login anna2502 --mx mx1000 --protein myprot --beamline id30a1 --dates 20210131 20210201
other commands are possible …
Note
test also the day after each date given (useful for 24h experiments …)
What does it do ?¶
Processed data @ESRF: for each crystal collected, several proccesses can succeed and for each a zip is available for download
All these processed data are copied this way by easYGet:
- dataset folder for each dataset
PROC_1, PROC_2, … if run 1, run 2 …
process sub-folder, with processed data for each process