肺癌18基因生成报告python代码

rui.li a9fc7acc72 修复判断阅动逻辑错误 hace 1 año
builder 4eb7b11f43 放入builder和runner hace 1 año
design 6fb65d0b44 New lc18 template and kdb hace 2 años
fonts f3df09d729 添加黑体字体5.03 hace 1 año
pics 359c0d14d9 first commit hace 3 años
runner e197b99993 添加run.sh用于测试 hace 1 año
src a9fc7acc72 修复判断阅动逻辑错误 hace 1 año
var_anno cb0bfef843 version 0.2.0 hace 3 años
.gitignore 1d8a24ebff 删掉0.1-2.3版本的模板和配置文件 hace 1 año
README.md 48ff42db14 Fix pyinstaller compile bug. hace 2 años
pyproject.toml f2a96163f7 bug fixes and pyinstaller package hace 3 años
requirements.txt 716ad19738 Add missing package. hace 2 años
setup.py 0265437fc6 添加2.5.3模板,包版本设为0.7.16 hace 1 año

README.md

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' = ''
	'kdb_version' = ''
	'log_dir' = ''
	'debug_mode' = ''
	'add_suffix' = ''
}
run_server_mode(args)

Single sample mode (LC18 software mode)