Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peaks_to_linear error #14

Open
sdws1983 opened this issue May 11, 2023 · 0 comments
Open

peaks_to_linear error #14

sdws1983 opened this issue May 11, 2023 · 0 comments

Comments

@sdws1983
Copy link

sdws1983 commented May 11, 2023

Hi,

I'm using graph_peak_caller for graph-based ATAC-seq analysis, I followed the tutorial for profiling and all steps worked successfully. But when I finally got the peak file and I'd like to use the peaks_to_linear command to get the linear coordinates of the peak, the following error occurred:

$ graph_peak_caller peaks_to_linear 01_max_paths.intervalcollection index/01_linear_pathv2.interval 01 01_linear_peaks.bed
2023-05-11 20:01:29,104, INFO: Converting peak 0
Traceback (most recent call last):
  File "/share/home/miniconda3/bin/graph_peak_caller", line 33, in <module>
    sys.exit(load_entry_point('graph-peak-caller', 'console_scripts', 'graph_peak_caller')())
  File "/share/home/software/graph_peak_caller/graph_peak_caller/command_line_interface.py", line 39, in main
    run_argument_parser(sys.argv[1:])
  File "/share/home/software/graph_peak_caller/graph_peak_caller/command_line_interface.py", line 679, in run_argument_parser
    args.func(args)
  File "/share/home/software/graph_peak_caller/graph_peak_caller/analysis/analysis_interface.py", line 384, in peaks_to_linear
    linear_peaks = peaks.to_approx_linear_peaks(linear_path, args.chromosome)
  File "/share/home/software/graph_peak_caller/graph_peak_caller/peakcollection.py", line 249, in to_approx_linear_peaks
    linear_peaks.append(peak.to_approx_linear_peak(linear_path, chromosome))
  File "/share/home/software/graph_peak_caller/graph_peak_caller/peakcollection.py", line 73, in to_approx_linear_peak
    first_node = intersecting_nodes[0]
IndexError: list index out of range

Any suggestions?

Yumin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant