在利用lumpyexpress进行SV鉴定时:
lumpyexpress -P -B ../data/S1.sort.markdup.bam -S S1.splitters.bam -D S1.discordants.bam -o $sample.lumpy.vcf
Sourcing executables from /data/home/hgzhong/home/software_set/python27/lumpy_sv/lumpy-sv/bin/lumpyexpress.config ...
Checking for required python modules (/data/home/hgzhong/miniconda3/envs/python27/bin/python)...
/data/home/hgzhong/miniconda3/envs/python27/bin/python: can't open file '/data/home/hgzhong/home/software_set/python27/lumpy_sv/lumpy-sv//scripts/bamkit/bamlibs.py': [Errno 2] No such file or directory
出现上述报错,显示“/data/home/hgzhong/home/software_set/python27/lumpy_sv/lumpy-sv//scripts/bamkit/bamlibs.py”这个文件不存在。因此,自己前往此目录下检查,发现scripts目录下bamkit目录不存在,自己是通过以下方式进行下载和安装lumpy-sv:
## 下载lumpy软件并安装
git clone --recursive https://github.com/arq5x/lumpy-sv.git
cd lumpy-sv
make
与官网 lumpy-sv版相比,结果显示自己通过git clone下载和编译的lumpy-sv缺少了scripts/bamkit/,于是自己就将此目录复制至/data/home/hgzhong/home/software_set/python27/lumpy_sv/lumpy-sv//scripts/下
##复制整个目录需加 -r参数
cp -r ./bamkit target_dictionary/scripts
最后,成功解决此问题,获得S1.lumpy.vcf文件