htseq-count运行之前需要判断链特异性
查阅得知方法为RseQC软件
安装后报错
(rseqc) $ infer_experiment.py -h
Traceback (most recent call last):
File "/home/miniconda3/envs/rseqc/bin/infer_experiment.py", line 54, in <module>
from qcmodule import SAM
File "/home/miniconda3/envs/rseqc/lib/python2.7/site-packages/qcmodule/SAM.py", line 22, in <module>
import pysam
File "/home/miniconda3/envs/rseqc/lib/python2.7/site-packages/pysam/__init__.py", line 5, in <module>
from pysam.libchtslib import *
ImportError: libhts.so.2: cannot open shared object file: No such file or directory
conda install pysam
#安装成功后
(rseqc) $ infer_experiment.py --help
Usage: infer_experiment.py [options]
...
# 我的python版本
(rseqc) $ python -V
Python 2.7.18 :: Anaconda, Inc.