2015-11-14 27 views
0

我正在运行shellfish.py来执行主体组件分析。不过,我在下面得到这个错误。我该如何解决?如何删除由shellfish.py创建的temp .bed文件

17:18:39 Found .bed format data data_WTCCC_f_650.bed 
17:18:39 Found binary mapfile data_WTCCC_f_650.bim 
17:18:39 shellfish error: Trying to create link to original data file data_WTCCC_f_650.bed, but link file shellfish-temp-16297/848716990677.bed already exists, presumably from a previous shellfish run. Delete any such files before running again. 

回答

0

您可以从Python程序删除此文件:

import os 
os.remove('path/to/bed/file') 

当然你也可以随时手动删除该文件。只需在文件资源管理器(或您使用的工具)中找到它并将其删除即可。

+0

谢谢。由于我不熟悉python,我必须将它添加到原始的shellfish.py脚本中,还是通过命令行来执行? – MAPK

相关问题