Lab utility for determining the maintenance of chlorophylls A and B in plant material
Run it in interactive mode
chloro
or run it with specified keys
chloro [options] -w <weight> -f <filt> -p <prob> -s <solv> --d665 <value> --d649 <value>
Using -df key you may write data to *.csv file for the next importing to LibreOffice Calc, MS Excell or Google Tables
.sh file example to run in terminal
#!/bin/bash
echo "measurement 1"
chloro -w 1.3 -f 25 -p 3 -s 5 --d665 1.25 --d649 0.45
echo ""
echo "measurement 2"
chloro -w 1 -f 25 -p 3 -s 5 --d665 1.1 --d649 0.41
echo ""
exec $SHELL
.sh file example for writing to .csv
#!/bin/bash
chloro -w 1 -f 25 -p 3 -s 1 --d665 1.256 --d649 0.8 -df
chloro -w 1.5 -f 25 -p 3 -s 1 --d665 1.1 --d649 0.7 -df
chloro -w 1.3 -f 25 -p 3 -s 1 --d665 0.9 --d649 0.6 -df
chloro -w 2 -f 25 -p 3 -s 1 --d665 0.965 --d649 0.65 -df
chloro -w 1.5 -f 25 -p 3 -s 1 --d665 1.025 --d649 0.6 -df
chloro -w 1.5 -f 25 -p 3 -s 1 --d665 0.984 --d649 0.625 -df
exec $SHELL
To build the project from source, you will need:
- A compiler with full C++23 support (GCC >= 14, verified with GCC 16)
- CMake (>= 3.31)
- RapidJSON - a fast, header-only JSON parser and generator library
- rpm-build - for Fedora/CentOS Stream
sudo dnf group install development-tools
sudo dnf install cmake rpm-build rapidjson-devel
sudo apt update
sudo apt install build-essential cmake rapidjson-dev
On other systems see the details of your distro
- Clone the Repository
git clone https://github.com/Evgenk2020/chlorophyll-linux
cd chlorophyll-linux
- Build the Project with
.rpmsetup package for Fedora/CentOS Stream by default
./build.sh
cd build
- Install
.rpmpackage from build folder
sudo dnf install *.rpm
- Run the application in terminal directly
chloro -h
- Clone the Repository
git clone https://github.com/Evgenk2020/chlorophyll-linux
cd chlorophyll-linux
- Change the string
set(assemble_tgz OFF)toset(assemble_tgz ON)in CMakeLists.txt
nano CMakeLists.txt
- Build the Project
./build.sh
-
Move
.tar.gzfile frombuildfolder to any folder and unpack it -
Run the program to check it from unpacked folder
./chloro -h
For more convenience add the application path into .bashrc file
export PATH="$PATH:/path/to/application/folder"
This will allow you to run the application in terminal directly
chloro -h
If you use this utility or code in your scientific research, lab analysis, or publications, please cite it using the following format.
GitHub automatically parses the CITATION.cff file, so you can easily copy the citation in APA or BibTeX format directly from the repository sidebar (look for the "Cite this repository" button).
@software{chlorophyll_linux_2026,
author = {Kopilov, Evheny},
title = {chlorophyll-linux: Chlorophyll A and B determination for laboratory analysis},
month = may,
year = 2026,
publisher = {GitHub},
version = {1.0.4},
url = {[Chlorophyll A and B maintenance](https://github.com/Evgenk2020/chlorophyll-linux)}
}