2015-11-14 78 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

相關問題