Cytopipe is a going to be a python package that will contains extensive amount of workflows to processing cell morphology features from both CellProfiler and DeepProfiler.
This PR will introduces the very first working CLI interface for Cytopipe!
Diagram
Below is a simple diagram on how the CLI implementation is designed.
Usage
The CLI interface is easily executed by typing:
cytopipe <MODE> <MODE AGURMENTS>
The MODE is an argument that tells cytopipe's what type of action the user is performing. Each mode will serve a different purpose.
Currently, cytopipe contains three modes
init → initializes required files into the appropriate format (files, file directories, etc)
run → executing workflows
help → displays CLI usage documentation
Example
The first thing to do before trying to execute cytopipe's workflows is to format the files that are required for the processing.
This is done by using the init mode:
# example `[ ] ` indicates the parameter takes a list
# `< > ` indicates a string type
cytopipe init -d [ data1.sqlite, data2.sqlite ..], -m <metadata_dir> -p <platemap_path> -b <barcodes_path>
Once the files are appropriately formatted, the next step is to use the run mode and pick the desired workflow to process your data
cytopipe run <workflow_name>
work in progress:
To see what workflows are available, you can use the help option under the run mode and it will list all available workflows:
cytopipe run help
Note: This PR focuses on implementing the a work CLI for cytopipe ; however, more features will be developed in the future!
A future feature includes a test mode, which tests all the functionality of cytopipe before conducting any processes.
This includes checking the source code, software stack and versions, which is essential for both developers and users for debugging purposes!
Motivation
Cytopipe
is a going to be a python package that will contains extensive amount of workflows to processing cell morphology features from both CellProfiler and DeepProfiler.This PR will introduces the very first working CLI interface for
Cytopipe
!Diagram
Below is a simple diagram on how the CLI implementation is designed.
Usage
The
CLI
interface is easily executed by typing:The
MODE
is an argument that tellscytopipe
's what type of action the user is performing. Each mode will serve a different purpose.Currently,
cytopipe
contains three modesinit
→ initializes required files into the appropriate format (files, file directories, etc)run
→ executing workflowshelp
→ displays CLI usage documentationExample
The first thing to do before trying to execute
cytopipe
's workflows is to format the files that are required for the processing.This is done by using the
init
mode:Once the files are appropriately formatted, the next step is to use the
run
mode and pick the desired workflow to process your datawork in progress:
To see what workflows are available, you can use the
help
option under therun
mode and it will list all available workflows:Note: This PR focuses on implementing the a work CLI for
cytopipe
; however, more features will be developed in the future!A future feature includes a
test
mode, which tests all the functionality ofcytopipe
before conducting any processes.This includes checking the source code, software stack and versions, which is essential for both developers and users for debugging purposes!