1. ERROR happened when I run fastspar and fastspar_bootstrap command
- ERROR: fastspar: /home/×××/miniconda3/bin/…/lib/libgomp.so.1: version ‘GOMP_4.0’ not found (required by fastspar)
- SOLUTION:
conda install -c conda-forge libgomp
- ERROR: libmkl_rt.so: cannot open shared object file: No such file or directory
- SOLUTION:
conda install mkl
2. Python运行脚本
import os
chd = os.chdir('/home/hutianlong/Desktop/')
CURR_DIR = os.getcwd()
print(CURR_DIR)
%%bash
fastspar --otu_table ./nifh.txt \
--correlation median_correlation.tsv \
--covariance median_covariance.tsv \
--iterations 50 \
--threads 10
mkdir bootstrap_counts
fastspar_bootstrap --otu_table ./nifh.txt \
--number 1000 \
--prefix bootstrap_counts/nifh_data \
--threads 10
fastspar_pvalues --otu_table tests/data/fake_data.tsv \
--correlation median_correlation.tsv \
--prefix bootstrap_correlation/cor_fake_data_ \
--permutations 1000 \
--outfile pvalues.tsv \
--threads 10