注册 登录
编程论坛 Perl论坛

代码报错 求好人解答

孟大可 发布于 2019-10-16 20:05, 3489 次点击
你好 我初学perl 遇到报错 请好人看下代码哪里有错
只有本站会员才能查看附件,请 登录

报错是:Use of uninitialized value $tcgaId in hash element at tcgaATAC.prepareData.pl line 36, <RF> line 1.
Illegal division by zero at tcgaATAC.prepareData.pl line 51, <RF> line 2.
2 回复
#2
fall_bernana2019-11-29 17:55
以下是引用孟大可在2019-10-16 20:05:54的发言:

你好 我初学perl 遇到报错 请好人看下代码哪里有错
报错是:Use of uninitialized value $tcgaId in hash element at tcgaATAC.prepareData.pl line 36, <RF> line 1.
Illegal division by zero at tcgaATAC.prepareData.pl line 51, <RF> line 2.


line 36 $tcgaId没有获取到值. uninitialized  value
line 51 $peakNum等于0 .即被if($samp1e[4]>3){next;} 跳过去了.
#3
里昂是红毛怪2022-02-22 23:07
回复 楼主 孟大可
请问解决了吗,我也是这个atac-seq.pl报错呜呜呜
1