README.md 1.1 KB

Build linux package

python setup.py bdist_wheel

Build powershell package

.\build.ps1

Build cli executable

python -m venv venv
.\venv\Scripts\Activate.ps1
python -m pip install dist/lc18report-[version]-cp[py-version]-cp[py-version]-win_amd64.whl
python -m pip install tinyaes
pyinstaller.exe pyinstaller_folder.spec
pyinstaller.exe pyinstaller_onefile.spec
deactivate

Batch running mode

To run this script from cli

python3 -m venv venv
source venv/bin/activate
python3 -m pip install dist/lc18report-[version]-cp[py-version]-cp[py-version]-win_amd64.whl
python3 run.py server_mode -i /path/to/18gene/excel_input.excel -o /ngs/BDA/18gene/自动报告/
deactivate

To run this script within python program

from lc18report import run_server_mode
args = {
	'input_xlsx' = ''
	'output_dir' = ''
	'template_version' = ''
	'log_dir' = ''
	'debug_mode' = ''
	'add_suffix' = ''
}
run_server_mode(args)

Single sample mode (LC18 software mode)