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:
- Difference of Gauss.
- Calculate Binary mask of the step 1 (DoG).
- Remove Outliers.
- Normalize result of Binary Mask.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f886dbf19faecf1dd71f1b7706b112cd0466f826c985717b1cee8d446f64d3f
|
|
| MD5 |
487111859efef034429c15a860e15fb1
|
|
| BLAKE2b-256 |
8ce593f8df8f8d2127e296f78b384d64897afc03c7899d7516ce3991a40f768a
|
File details
Details for the file reticle_analysis-0.0.3-py3-none-any.whl.
File metadata
- Download URL: reticle_analysis-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae4d18fc70de23dea9960f47b7036504fb03eba1b7e06a3d77f0a674ee004695
|
|
| MD5 |
b722bf3594f27f37deba85966cc14127
|
|
| BLAKE2b-256 |
f0345c484a036ee2f06da9030fee863a29e454388941da5525e7a9c94a94b394
|