本家様 https://github.com/kekexinz/2DTM_postprocess_tool
A modular Python package for postprocessing 2D template matching results from cryo-EM workflows (e.g., cisTEM), including 2DTM p-value calculation, particle extraction and filtering.
deepL様翻訳 「クライオ電子顕微鏡(cryo-EM)ワークフロー(例:cisTEM)から得られる2Dテンプレートマッチング結果の後処理を行うためのモジュール式Pythonパッケージ。2DTMのp値の算出、粒子の抽出、フィルタリングなどの機能を含む。」
[root@rockylinux9 ~]# source /apps/pyenv/versions/miniforge3-26.3.2-3/etc/profile.d/conda.sh
[root@rockylinux9 ~]# conda create -n 2DTM python
[root@rockylinux9 ~]# conda activate 2DTM
(2DTM) [root@rockylinux9 ~]#
(2DTM) [root@rockylinux9 ~]# cd /apps/src/
(2DTM) [root@rockylinux9 src]# git clone https://github.com/kekexinz/2DTM_postprocess_tool.git
(2DTM) [root@rockylinux9 src]# cd 2DTM_postprocess_tool/
(2DTM) [root@rockylinux9 2DTM_postprocess_tool]#
(2DTM) [root@rockylinux9 2DTM_postprocess_tool]# pip install -e .
(2DTM) [root@rockylinux9 2DTM_postprocess_tool]# conda deactivate
[root@rockylinux9 2DTM_postprocess_tool]#environment-modules:
「/apps/modulefiles/2DTM」
#%Module1.0
set root /apps/pyenv/versions/miniforge3-26.3.2-3/envs/2DTM
prepend-path PATH $root/bin
prepend-path LD_LIBRARY_PATH $root/lib[saber@rockylinux9 ~]$ module use /apps/modulefiles/
[saber@rockylinux9 ~]$ module load 2DTM
[saber@rockylinux9 ~]$ extract-particles
usage: extract-particles [-h] --db_file DB_FILE --tm_job_id TM_JOB_ID --ctf_job_id CTF_JOB_ID [--min_peak_radius MIN_PEAK_RADIUS]
[--exclude_borders EXCLUDE_BORDERS] [--local_max_filter {zscore,snr}] [--metric {pval,zscore,snr}]
[--metric_cutoff METRIC_CUTOFF] --pixel_size PIXEL_SIZE [--threads THREADS] [--quadrants QUADRANTS] --output OUTPUT
extract-particles: error: the following arguments are required: --db_file, --tm_job_id, --ctf_job_id, --pixel_size, --output
[saber@rockylinux9 ~]$