

file-list : A list of files, one per line, that should be loaded by the Images module and then analyzed by CellProfiler. data-file : A CSV designed to work with the LoadData module (See module help for more details). Unless using a batch file, CellProfiler will additionally scan all the files in this folder and try to make them into image sets for your pipeline - great if you don't want to otherwise specify input sets with one of the methods below, but be warned it can be very slow if you point it at a huge directory! i : Specifies the Default Input Directory (if any modules in your pipeline are using files you've told it will be in the Default Input Directory). Your input component can be one of a few different things - or might be omitted entirely, if you're using a batch file.

p : Your pipeline file (or batch file created with the CreateBatchFiles module) you want to execute See Adapting CellProfiler to a LIMS environment for more information. c -r : Flags you need to use to run CellProfiler headless. You can drag and drop the executable into your terminal window, which is typically easier than typing it out.
#CELLPROFILER ANALYST PC#
If NOT, this needs to be the path to your existing CellProfiler executable, which for a PC will look something like C:\Users\UserName\ProgramFiles\CellProfiler\CellProfiler.exe , and for a Mac will look something like /Applications/CellProfiler/Contents/MacOS/cp . ComponentsĬellprofiler -c -r -p /path/to/pipeline/file.cppipe -o /path/where/the/output/goesĬellprofiler : If you've installed CellProfiler from source, rather than downloading it prebuilt from our website, just typing cellprofiler is how you'll call it from the terminal. If you're willing to script some ways to scatter the CellProfiler jobs, though, or don't mind running one job at a time, headless processing can be incredibly helpful!Ī general CellProfiler headless command will have a few common pieces, and a few that will change depending on your exact setup. It also has a major potential disadvantage in that while CellProfiler running graphically on your desktop will automatically use as many cores on your computer as you permit, CellProfiler running headlessly from the command line will only run one job at a time. Running CellProfiler from the command line has a major advantage - you don't need to spend computational power or memory creating the graphical user interface (GUI) that you're used to using in CellProfiler! Cross posted from our GitHub wiki - check there for any future updates!
