Sudden IndexError

112 views
Skip to first unread message

oliver...@gmail.com

unread,
Jan 8, 2018, 4:49:20 AM1/8/18
to DaPars
Dear all,

I started using DaPars and ran it one some samples (all derived from the same experimental line). 3/4 DaPars runs work fine using the same settings but one fails with the following error. I can't get what is going wrong: The bed-files look the same as the others, the 3'UTR index file is the same which was functional previously.

[Mon 08 Jan 2018 10:13:48 AM ] Loading coverage ...
Traceback (most recent call last):
File "/root/Apps/dapars/src/DaPars_main.py", line 548, in <module>
De_Novo_3UTR_Identification_Loading_Target_Wig_for_TCGA_Multiple_Samples_Main(sys.argv)
File "/root/Apps/dapars/src/DaPars_main.py", line 154, in De_Novo_3UTR_Identification_Loading_Target_Wig_for_TCGA_Multiple_Samples_Main
All_samples_Target_3UTR_coverages, All_samples_sequencing_depths, UTR_events_dict = Load_Target_Wig_files(All_Sample_files, Annotated_3UTR_file)
File "/root/Apps/dapars/src/DaPars_main.py", line 499, in Load_Target_Wig_files
region_end = int(fields[2])
IndexError: list index out of range

Would me nice if you would have an idea what ight be the issue.

Kind regrads,
Oliver

孙海峰

unread,
Nov 16, 2018, 3:55:53 AM11/16/18
to DaPars
hi:
l have the same problem 。have u solved it?
haifeng sun

在 2018年1月8日星期一 UTC+8下午5:49:20,oliver...@gmail.com写道:

zhixia xiao

unread,
Nov 19, 2018, 12:09:39 AM11/19/18
to haife...@gmail.com, dap...@googlegroups.com
Dear Oliver,

There may be some format problems with your input wig file. Please carefully check the separate character of the input. (eg. a line has only three fields or not separated by tab).

Thanks,
Zhixia

--
You received this message because you are subscribed to the Google Groups "DaPars" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dapars+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

oliver...@gmail.com

unread,
Nov 19, 2018, 3:46:51 AM11/19/18
to DaPars
Nice to see, that the issue was seen.
Some time ago, I managed to figure out my mistakes and DaPars then worked fine.
Unfortunately I can't remember what I changed, but probably rerun some preparations and solved the formatting issue.

Kindly,
Oliver

Chen Jin

unread,
Feb 22, 2023, 10:24:51 PM2/22/23
to DaPars

Hello, I have encountered the same problem, but I still can't solve it after trying various methods. I hope you can share how to solve this problem and eagerly await your reply. Thank you!
Reply all
Reply to author
Forward
0 new messages