bed2annotation.pl fail

94 views
Skip to first unread message

Xiao Lei

unread,
Jun 21, 2019, 3:38:35 PM6/21/19
to CTK User Group
Dear Dr. Zhang,

I run bed2annotation.pl ( bieniaszs-ipro:hg19_NL4_3 bieniaszlab$ perl /usr/local/CTK/bed2annotation.pl -dbkey hg19 -ss -big -region -v -summary hnRNPU_hg19_tag.uniq.annot.summary.txt hnRNPU_hg19_tag.uniq.bed hnRNPU_hg19_tag.uniq.annot.txt ), this command runs around 15 minutes but it failed with message:


Use of uninitialized value $upstream_intergenicN_correct in subtraction (-) at /usr/local/CTK/bed2annotation.pl line 428.

Illegal division by zero at /usr/local/CTK/bed2annotation.pl line 434.

The summary files are:

Summary of region annotation
------------------------------

Region No. %
Total 6404037 100.0
Genic 0 0.0
Exon 0 0.0
CDS exon 0 0.0
5' UTR exon 0 0.0
3' UTR exon 0 0.0
Intron 0 0.0
Upstream 10K 0 0.0
Downstream 10K 0 0.0
Genic+ext10K        0 0.0
Deep intergeic 6404037 100.0

Percentage of intervals in each region (adjusted):
Region %


Any input would be much appreciated.

Xiao


coy...@gmail.com

unread,
Apr 6, 2020, 5:22:21 PM4/6/20
to CTK User Group
Hi Xiao,

I have encountered the same error:

Use of uninitialized value $upstream_intergenicN_correct in subtraction (-) at /usr/bin/CTK/bed2annotation.pl line 428.
Illegal division by zero at /usr/bin/CTK/bed2annotation.pl line 434.


I also see 100% deep intergenic in the summary file:

Summary of region annotation
------------------------------

Region  No.     %
Total   4353801 100.0

Genic   0       0.0
Exon    0       0.0
CDS exon        0       0.0
5' UTR exon     0       0.0
3' UTR exon     0       0.0
Intron  0       0.0
Upstream 10K    0       0.0
Downstream 10K  0       0.0
Genic+ext10K    0       0.0
Deep intergeic  4353801 100.0


Percentage of intervals in each region (adjusted):
Region  %


Did you ever discover how to fix this issue?

Kind regards,

Steve

Xiao Lei

unread,
Apr 6, 2020, 6:30:12 PM4/6/20
to coy...@gmail.com, CTK User Group
Hi, Steve,

Unfortunately, I never got any reply from this forum to solve my problem. After so much frustration, I switched to Paralyzer and wavCluste R to process my PAR-CLIP data, and they work. You can do the annotation following the instructions of wavCluste R, alternatively, if you have a cluster bed file, you can annotate with Homer.  

Best,

Xiao


--
You received this message because you are subscribed to the Google Groups "CTK User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ctk-user-grou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ctk-user-group/f3d6200a-e187-429b-bf69-df4c0edd5be1%40googlegroups.com.

Huijuan Feng

unread,
Apr 6, 2020, 6:50:15 PM4/6/20
to CTK User Group
Hi Xiao,
I am sorry we did not offer timely help on your issues.  But you are welcome to use CTK in the future and we will try our best to provide full support. Thanks!
Best,
Huijuan
To unsubscribe from this group and stop receiving emails from it, send an email to ctk-user-group+unsubscribe@googlegroups.com.

Huijuan Feng

unread,
Apr 6, 2020, 6:52:42 PM4/6/20
to CTK User Group
Hi Steve,
We can help take a look at this issue if you could kindly provide the input file and command line you used for bed2annotation.pl. Thanks!
Best,
Huijuan

coy...@gmail.com

unread,
Apr 7, 2020, 1:16:14 AM4/7/20
to CTK User Group
Hi Huijuan,

Thanks for the prompt reply.

Here is the command line that I've used:

perl /usr/bin/CTK/bed2annotation.pl -dbkey hg38 -ss -big -region -v -summary IGF2BP1_eclip_K562.tag.uniq.annot.summary.txt IGF2BP1_eclip_K562.tag.uniq.rgb.bed IGF2BP1_eclip_K562.tag.uniq.annot.txt 


Thanks for any help you can provide. This is eCLIP data from the Yeo lab published in the Van Nostrand 2016 paper.

Steve

xuan ye

unread,
Dec 7, 2021, 12:59:52 PM12/7/21
to CTK User Group
Hi,

How was this issue being solved?
I had the exact error with the top thread when annotating rgb.bed file using hg38 database.

Best,
Xuan

Chaolin Zhang

unread,
Dec 7, 2021, 1:26:39 PM12/7/21
to xuan ye, CTK User Group
Hi Xuan,

One thing you can check is the name of the chromosomes - they should be chrN instead of N, to match the names in the annotation files.

Chaolin


-- 
You received this message because you are subscribed to the Google Groups "CTK User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ctk-user-grou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ctk-user-group/174cd1a4-afcb-4ac0-bc78-6e3e8840d272n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages