Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

MDCatch

Still in development, but you are welcome to try!

A simple PyQt5 app to fetch acquisition metadata from EPU session or SerialEM. It parses the first found xml/mrc (EPU) or mdoc file (SerialEM) associated with a data collection session. In case of SerialEM you need to enable saving mdoc file for each movie.

Installation

The app requires python3, numpy and PyQt5 to run.

  1. From pypi: pip install MDCatch (recommended)

  2. From sources - you have two options:

  1. Create python virtualenv:

    python3 -m venv mdcatch
    source mdcatch/bin/activate
    git clone https://github.com/azazellochg/MDCatch.git
    cd MDCatch
    pip install -e .
  2. Create conda virtualenv (requires miniconda3 installed):

    conda create -n mdcatch python=3.8
    conda activate mdcatch
    git clone https://github.com/azazellochg/MDCatch.git
    cd MDCatch
    pip install -e .

Configure

  • Relion 3.1 or Scipion 3.0 is in in your PATH

  • Preprocessing templates: Schedules folder for Relion, template.json for Scipion

  • Edit config.py to adjust it to your setup

Running

Simply type mdcatch

Working principle

The idea is to launch the app on a processing server as soon as EPU/SerialEM starts data collection and the first movie is acquired. The server has to have access to both EPU session folder and movies folder, or to SerialEM movie folder.

  1. check if username exists in the NIS database (ypmatch username passwd)

  2. find and parse the first xml/mdoc file, getting all acquisition metadata

  3. create a Relion/Scipion project folder username_microscope_date_time inside PROJECT_PATH (or inside Scipion default projects folder)

  4. create symlinks for movies, gain reference, defects file, MTF in the project folder

  5. modify existing Relion Schedules/Scipion templates then launch Relion/Scipion on-the-fly processing

Screenshots

https://user-images.githubusercontent.com/6952870/71741099-e2c6d200-2e55-11ea-9c98-66a14dc8cb2e.png https://user-images.githubusercontent.com/6952870/71741103-e5292c00-2e55-11ea-95c3-4cf51de7382c.png

TODO

  • beam tilt is parsed but not used since we parse only a single xml/mdoc for the whole session

  • SerialEM conversions: gain ref dm4->mrc, defects SerialEM->Relion

  • use GAIN_DICT from config

Metadata

Release files for MDCatch 0.9.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MDCatch 0.9.5
File Size Uploaded Provenance Actions
MDCatch-0.9.5.tar.gz 45.9 kB Without provenance Details for MDCatch-0.9.5.tar.gz

Release files / MDCatch-0.9.5.tar.gz

Download URL MDCatch-0.9.5.tar.gz
Size 45.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a10ba85b7932cbd1da2d10901d0d995591d5da00b358ed09866e4fdddd34c38f
BLAKE2b-256 checksum
How to use checksums
d6bc5a173ca1463f302954b9e4e3e260e9931a28071fc85f3188010e643d6a27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.3

Security for MDCatch 0.9.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page