benben-miao
Articles71
Tags8
Categories0
Taxonomic Stat

Taxonomic Stat

约157字 预计需要1分钟

Source Code Repository

1.Run with conda or python environment

1.1 Create a conda environment

# Install python & pip for environment
conda create -n taxonomic-stat python=3.9
conda activate taxonomic-stat

# Install modules with pip for reducing execute file
pip install pandas
pip install numpy
pip install openpyxl
pip install xlrd

1.2 Runing the taxonomic-stat.py python script

# The input file of `example.xlsx` is neccecary
python taxonomic-stat.py example.xlsx

2. For users without conda or python environment

2.1 Compile a execution program

# Don't forget to activate the environment
conda activate taxonomic-stat

# Install pyinstaller module
pip install pyinstaller

# Compile the python script
pyinstaller -F taxonomic-stat.py

2.2 Run the executable file

# Execute the exe file after compiling by yourself or download from the release
./taxonomic-stat.exe example.xlsx

# The result file should be `example_result.xlsx` or `_result.xlsx`
×