.. figure:: /docs/images/scipion_logo.gif :width: 250 :alt: scipion logo .. _facilities: ===================== On-the-fly processing ===================== For facilities --------------- Currently, scipion is being used every day in several facilities in Europe, US, Canada, Israel, Australia... If you are running a Cryo EM facility and want more info, please :ref:`contact us `. We will be happy to help you run Scipion there. Also, we have a `Slack `_ framework to maintain a direct communication channel. .. figure:: /docs/images/facilities_map.png :align: center :width: 900 :alt: facilities map `Facilities map `_ Streaming processing -------------------- Scipion is able to process data in streaming, i.e, at the same time movies (or micrographs) are coming from the microscope PC. It can also be called on-the-fly or on-line processing. This allows to overlap computing time with the acquisition. This is interesting for two main reasons: (i) to save processing time and provide users with more than movies and (ii) to monitor the acquisition in order to be able to take decisions in very early stages. This idea is implemented in different labs mainly by using custom-made scripts, but also it can be implemented using templates in a very easy way. The advantage of Scipion solution is that you have the usual flexibility to choose what operations to do and the traceability to re-do some of the steps later. It is basically the same Scipion interface with one key change: the output is produced as soon as the first element is available, and it is later updated with new output elements. This allows concatenating several operations before the first one is completed, resulting in a whole workflow running at once. Learn `how to create, import, export and launch streaming workflows `_. Scipion v.3.0 - Diocletian `updates/introduce a big number of streaming tools `_ (`CHECK LINK`). We review and analyze in deep the use and the combination of these on-the-fly tools and protocols for facilities in the `D. Maluenda et.al. 'Flexible workflows for on-the-fly electron microscopy single particle image processing using Scipion' Acta Cryst. (2019). D75, 882-894 `_ paper. On top of that, we have paid special attention to data flow management and acquisition monitoring, for that Scipion includes a `Trigger data `_ protocol, the `Movie max shift `_ protocol, the `CTF consensus `_ protocol, the `Extract coordinates `_ protocol in streaming and `2D classification in streaming `_ (see also `GL2D-static `_ and `GL2D-streaming `_). But also we have included general streaming tools, such as enabling to *Continue* and *Restart* workflows from a certain protocol, providing more stability in streaming protocols keeping processing new data even if a certain bunch fails for some reason, etc. In addition, we have work more in the concept of consensus protocols, for merging and combining different approaches (from different EM software) to do the same tasks, in order to get an improved result based on that different results. The consensus protocols family are for *CTF estimation*, *Picking*, *Initial Volume* and *3D classes*, so far. Moreover, we are also working in the monitor protocols, those special protocols that constantly check how the execution of other protocols is going on. We have developed several GUIs that are refreshed periodically and produce a graphical summary (e.g, CTF estimated values, system load, etc). Examples of monitors reports generated in *HTML* format can be seen at `http://scipion.cnb.csic.es/scipionbox/lastHTMLReport `_, while you can see a Grafana based report in the URL `http://scipion.cnb.csic.es:3000/lastHTMLReport `_. (Unfortunately, at present, Grafana server can only be accessed from within our local area network). Learn `how to customize the reports `_ according to your facilities' needs.