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.3.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.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reticle_analysis-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6f886dbf19faecf1dd71f1b7706b112cd0466f826c985717b1cee8d446f64d3f
MD5 487111859efef034429c15a860e15fb1
BLAKE2b-256 8ce593f8df8f8d2127e296f78b384d64897afc03c7899d7516ce3991a40f768a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reticle_analysis-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ae4d18fc70de23dea9960f47b7036504fb03eba1b7e06a3d77f0a674ee004695
MD5 b722bf3594f27f37deba85966cc14127
BLAKE2b-256 f0345c484a036ee2f06da9030fee863a29e454388941da5525e7a9c94a94b394

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