Skip to main content

Workflows used for morphology processing.

Project description

workflow Logo

Version Build status Coverage License Documentation status

Morphology Workflows

This project contains several workflows for processing morphologies:

  • Fetch: download morphologies from online database (like Allen, NeuroMorpho or MouseLight).
  • Curate: from raw morphologies, ensures that morphologies can be used with the rest of BBP codes
  • Annotate: create various annotations on morphologies needed by specific BBP codes
  • Repair: process morphologies to correct for artifacts of in-vitro reconstruction

In a nutshell, the user provides a list of morphologies in a .csv file, with their names and paths and a luigi.cfg configuration file. Each workflow is run independently and creates an output folder, with one subfolder per task. In each, there will be a report.csv and a data folder containing the output files of the task if any. In the report.csv file, columns contain paths to these files, additional information, error messages if the task failed on that morphologies, as well as a flag is_valid, used in subsequent tasks to filter valid morphologies. At the end of each workflow, another report.csv file is created, with the main output columns of each tasks, and a report.pdf containing a human readable summary of the result of the workflow.

The complete documentation can be found here:

Installation

This should be installed using pip:

pip install morphology-workflows

Usage

This workflow is based on the luigi library but can be run via the command line interface:

morphology_workflows --local-scheduler Curate

NOTE This command must be executed from a directory containing a luigi.cfg file. An example of such file is given in the examples directory.

More details can be found in the command line interface section of the documentation.

Examples

The examples folder contains a simple example that will process a set of morphologies. A dataset.csv file is provided which is taken as input for the workflows. A luigi.cfg file is also provided to give a default configuration for the workflows. This example can simply be run using the following command:

./run_curation.sh

This script will create a new directory out_curated which will contain the report and all the results.

Funding & Acknowledgment

The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.

For license and authors, see LICENSE.txt and AUTHORS.md respectively.

Copyright © 2021-2022 Blue Brain Project/EPFL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

morphology-workflows-0.3.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

morphology_workflows-0.3.2-py3-none-any.whl (41.8 kB view details)

Uploaded Python 3

File details

Details for the file morphology-workflows-0.3.2.tar.gz.

File metadata

  • Download URL: morphology-workflows-0.3.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for morphology-workflows-0.3.2.tar.gz
Algorithm Hash digest
SHA256 d8f31411b615f2c2daa7a98a392e66204a29b305310c2b54290804f0e892cbfc
MD5 9170f3d4b51525050ae98fee56e68039
BLAKE2b-256 6a0ff11e91c57a811f486c18abc429ec8be8484e92e60224204790cef9d99c0d

See more details on using hashes here.

File details

Details for the file morphology_workflows-0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for morphology_workflows-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c33110df2fae35e6706190e323d57f91cb53c6482067bb31e8fee12dca5734e
MD5 b07a5e1c9988f033d37fe5d9caa38a89
BLAKE2b-256 eb0d732b38f5b7845bcd22cf223fff4b32d71a906576a72c7d242c7000e22bdb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page