脚本调试: gzip ** unexpected end of file perl
来源:互联网 发布:小鸡模拟器支持java 编辑:程序博客网 时间:2024/05/16 23:54
错误提示: gzip: myfile.clean.fq.gz : unexpected end of file
程序描述: 利用perl脚本过滤 fastq 格式的 reads 文件. 解压读取文件时出错.
原因猜测: myfile.clean.fq.gz 文件的结尾没有标准的文件结束标识符.
诊断过程: 百度搜索 unexpected end of file 得知,这个错误一般发生在window下写好的脚本,拷贝到 linux 运行是出错,是由不同系统文件格式引起的. 我的情况似乎不存在这个问题, 因为reads文件都是在服务器生成的.
果断换 google 搜索, 看到帖子http://superuser.com/questions/279201/unexpected-end-of-file-gzip-compressed-file, Xan的回答, 可能是文件没有下载完全.突然恍然大悟的去检查了 MD5check的结果, 果然发现有两个文件没有通过校验. 可能是中途断网了, 文件都没有上传完全, 当然不会有标准的文件结尾了. 重新检查原始数据的MD5, 也证明原始数据没错. 重新上传文件. 解决问题!! 还是有点儿大意了, MD5check一直都是通过的, 就放松警惕了. 一定要严格按照流程来操作, 不能偷懒.
0 0
- 脚本调试: gzip ** unexpected end of file perl
- 【原创】gzip: stdin:unexpected end of file
- gzip: stdin:unexpected end of file
- gzip: stdin: unexpected end of file tar
- gzip: stdin: unexpected end of file 错误
- gzip: stdin: unexpected end of file 错误
- Linux gzip: stdin: unexpected end of file 硬盘没有空间
- : gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive
- unexpected end of file
- shell脚本调试报错:"syntax error: unexpected end of file"
- gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpect
- shell脚本“syntax error:unexpected end of file”解决方案
- shell脚本“syntax error:unexpected end of file”解决方案
- SHELL脚本“SYNTAX ERROR:UNEXPECTED END OF FILE”解决方案
- gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive ta
- unexpected end of file found
- bash: unexpected end of file
- unexpected end of file found
- 20150527
- MVN命令行创建工程及注意事项
- 关于感知学习模型机中空间任一点到超平面的距离公式的推导过程
- 移动端真机调试终极利器-BrowserSync
- ECC加密算法入门介绍
- 脚本调试: gzip ** unexpected end of file perl
- SNR信噪比
- MySQL和PHP页面同时正确显示中文 & PHP date函数的用法
- PintOS, kernel panic with -v option bochs on ubuntu
- POJ1635【树的同构】【hash】
- mysql大数据高并发处理
- 简单介绍Matrix的图形特效
- 磁盘与Linux基础
- IOS开发-使用Storyboard进行界面跳转