linux质控命令,采用RSeQC 对bam 文件进行质控分析时,用inner_distance.py报错。

谢谢omicsgene大神的回答

我学习了咱们的linux课了,都学了,大讲堂出的课我大部分都有。这个pysam包我也安装了,但还是存在问题。我尽量将我的问题都描述清楚。我用的组学大讲堂的biolinux。

安装pysam结果如下:

x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip_build_manager/pysam/htslib -I/tmp/pip_build_manager/pysam/samtools -I/tmp/pip_build_manager/pysam/samtools/lz4 -I/tmp/pip_build_manager/pysam/bcftools -I/tmp/pip_build_manager/pysam/pysam -I/tmp/pip_build_manager/pysam -I/usr/include/python2.7 -c pysam/libchtslib.c -o build/temp.linux-x86_64-2.7/pysam/libchtslib.o -Wno-unused -Wno-strict-prototypes -Wno-sign-compare -Wno-error=declaration-after-statement

pysam/libchtslib.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.

#error Do not use this file, it is the result of a failed Cython compilation.

^

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Cleaning up...

Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_manager/pysam/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-l7Jyzv-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_manager/pysam

Storing debug log for failure in /home/manager/.pip/pip.log

运行pip list 结果,里面有RSeQC,但是没有pysam 。这个好像是biolinux里面本来就有的

233ec6603afa0370be0274ffdd3553ea.png

搜索RSeqc ,在biolinux里面有两个文件夹

1./usr/local/lib/python2.7/dist-packages

2./biosoft/miniconda/miniconda2/lib/python2.7/site-packages

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值