value error

54 views
Skip to first unread message

menon...@gmail.com

unread,
Oct 20, 2017, 1:14:34 PM10/20/17
to DaPars
When I run DaPars_main.py I get an error. I have copied the stderr below:

File "./DaPars_main.py", line 548, in <module>
De_Novo_3UTR_Identification_Loading_Target_Wig_for_TCGA_Multiple_Samples_Main(sys.argv)
File "./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 "./DaPars_main.py", line 507, in Load_Target_Wig_files
curr_sample_All_chroms_coverage_dict[chrom_name][1].append(int(fields[-1]))
ValueError: invalid literal for int() with base 10: '0.2479'

I was wondering if some one can tell me whats going wrong.

Thank you.
Debu

Xin....@bcm.edu

unread,
Nov 1, 2017, 10:26:39 AM11/1/17
to DaPars
please check your wiggle file, it has to be the format of bedgraph.
chr19 49302000 49302300 -1.0
chr19 49302300 49302600 -0.75
chr19 49302600 49302900 -0.50
Reply all
Reply to author
Forward
0 new messages