Skip to main content

Suma de numero

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

example_package_anavarro2-0.0.3.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

example_package_anavarro2-0.0.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for example_package_anavarro2-0.0.3.tar.gz
Algorithm Hash digest
SHA256 34139ca8859cbde7a241472a328189729bd2aa41b5103593f18b8b554ed70e34
MD5 268ce40033ccaf0058a26b2f5e90a734
BLAKE2b-256 89278f18390ff367cb3528b3f3491009720de697787696cea2425160d7da4ff8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for example_package_anavarro2-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b122dc218d68130e4375e9d86378c7dac282a8eaa0c048df88389ec28c8626d6
MD5 0585ba9a736ba78d5ac9cff55ece3b76
BLAKE2b-256 5b063027a654da4aeaa59c9dca02af7f61dd60f8877531b16fa103f0c9629111

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