You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue with the GC correction. I created the gc-file using the instructions to create a gc-file and provided the file in ref_genome_conf.py.
2024-11-15 10:23:01,081 - cnvpytor.root - INFO - Chromosome 'CM020500.1' bin size 100 stat - RD unique distribution gaussian fit: 8.39 +- 4.84
2024-11-15 10:23:01,081 - cnvpytor.root - INFO - Calculating global statistics.
2024-11-15 10:23:01,414 - cnvpytor.root - INFO - Calculating GC corrected RD histogram using bin size 100 for chromosome 'CM020439.1'.
Traceback (most recent call last):
File "/environment4CNVpytor/.pipeline-env/bin/cnvpytor", line 8, in <module>
sys.exit(main())
^^^^^^
File "/environment4CNVpytor/.pipeline-env/lib/python3.12/site-packages/cnvpytor/__main__.py", line 400, in main
app.calculate_histograms(args.his, chroms=args.chrom, gc_auto=args.gc_auto, gc_corr_rm_ol=args.gc_corr_rm_ol)
File "/environment4CNVpytor/.pipeline-env/lib/python3.12/site-packages/cnvpytor/root.py", line 1005, in calculate_histograms
his_p_corr = his_p / np.array(list(map(lambda x: gc_corr[int(x)], gcp_decompress(gcat, bin_ratio))))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/environment4CNVpytor/.pipeline-env/lib/python3.12/site-packages/cnvpytor/root.py", line 1005, in <lambda>
his_p_corr = his_p / np.array(list(map(lambda x: gc_corr[int(x)], gcp_decompress(gcat, bin_ratio))))
~~~~~~~^^^^^^^^
IndexError: list index out of range
I am facing an issue with the GC correction. I created the gc-file using the instructions to create a gc-file and provided the file in ref_genome_conf.py.
When running the following command
cnvpytor -conf ref_genome_conf.py -root file.pytor -his 10000 100000
I get the error message:
And the output of
cnvpytor -conf ref_genome_conf.py -root file.pytor -ls
was
Error message:
The text was updated successfully, but these errors were encountered: