Skip to main content

Reticle pipeline

Project description

Python-Fiji-Pipeline

This repository includes code related to Lysosome and Reticle pipeline.

----- Reticle Pipeline -----

This pipeline includes the following steps:

  1. Difference of Gauss.
  2. Calculate Binary mask of the step 1 (DoG).
  3. Remove Outliers.
  4. Normalize result of Binary Mask.
  5. Calculate Regions of interest (ROIS), F0, log2(pixel/F0). In this step paralellism code is added.

The pipeline is composed by one main file <main.py>, and a secondary file <utils.py> where the functions are defined.

<main.py> requires to run with the following seven parameters

  • input_folder
  • output_path
  • sigma1
  • sigma2
  • remove_outliers
  • roi_size
  • frame_range

This code will consider all the data inside subfolders too, from the main folder that is passing as input_folder.

Example on how to run the pipeline

Locally:

python3 main.py --input_folder "/Users/alvaro/Desktop/pyimagej/macro_reticulo/data" --output_path "/Users/alvaro/Desktop/pyimagej/macro_reticulo/output" --sigma1 1.0 --sigma2 3.0 --remove_outliers_filter_size 4 --roi_size 20 20 --frame_range 30 34

Remote Patagon (outside of container):

Without sbatch:
    srun -p rtx -c 1 --mem=16G --container-workdir=${PWD} --container-name=cuda-11.2.2 /home/brauchilab/anaconda3/bin/python3 /home/brauchilab/Macros/Macro_Reticulo/pipeline_modular.py --input_folder "/home/brauchilab/Macros/Macro_Reticulo/data/" --output_path "/home/brauchilab/Macros/Macro_Reticulo/output" --sigma1 1.0 --sigma2 2.0 --remove_outliers_filter_size 4 --roi_size 20 20 --frame_range 30 34

With sbatch: The file job.sh must be created and contain all the parameters required to run the job, once job.sh is set, execute:
    sbatch job.sh  

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

reticle_analysis-0.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reticle_analysis-0.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file reticle_analysis-0.0.1.tar.gz.

File metadata

  • Download URL: reticle_analysis-0.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.16

File hashes

Hashes for reticle_analysis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a52ddabd4d76c18474d98afedc6b424dc5782f239b0e73ca6acdc1b6639218af
MD5 53609b52474ac85999ab383de8580bcb
BLAKE2b-256 b470cd4da5ae946037343ed591b7c2134b78cd6e4dc04d30f8c68a5cd840cc38

See more details on using hashes here.

File details

Details for the file reticle_analysis-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for reticle_analysis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4737d91f3a55d0624e7e58450faab0c4edc29b11129c77f30579b23625725a6c
MD5 daf17c6b7620c4ffeacadd95ecef376e
BLAKE2b-256 fc43221258aa5ca5e866e20e4529901db19dd748322e027edf969a7ab9449b74

See more details on using hashes here.

Supported by

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