-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hello!
Could you help with the error below? I ran Severus 1.5 on a single sample/tumor sequenced by PacBio as follows:
/sched/software/python/conda/envs/severus_150/bin/severus --target-bam caVal-093.GRCh38.haplotagged.bam --out-dir caVal-093 -t 16 --min-support 1 --phasing-vcf caVal-093.GRCh38.deepvariant.phased.vcf.gz --vntr-bed human_GRCh38_no_alt_analysis_set.trf.bed
Below is the log:
[2025-06-26 22:47:28] INFO: Starting Severus 1.5
[2025-06-26 22:47:55] INFO: Parsing reads from caVal-093.GRCh38.haplotagged.bam
[2025-06-26 22:50:40] INFO: Total read length: 77398671581
[2025-06-26 22:50:40] INFO: Total aligned length: 74747628317 (0.97)
[2025-06-26 22:50:40] INFO: Read N50 / N90: 11112 / 5307
[2025-06-26 22:50:40] INFO: Alignments N50 / N90: 11047 / 5265
[2025-06-26 22:50:40] INFO: Read error rate (Q25 / Q50 / Q75): 0.0000 / 0.0020 / 0.0040
[2025-06-26 22:50:40] INFO: Read mismatch rate (Q25 / Q50 / Q75): 0.0000 / 0.0000 / 0.0010
[2025-06-26 22:51:27] INFO: Computing read quality
[2025-06-26 22:51:40] INFO: Annotating reads
[2025-06-26 22:51:48] INFO: Computing coverage histogram
[2025-06-26 22:51:49] INFO: Median coverage by PASS reads for caVal-093.GRCh38.haplotagged.bam (H1 / H2 / H0): 10.0 / 10.0 / 0.0
[2025-06-26 22:51:49] INFO: Extracting split alignments
[2025-06-26 22:51:52] INFO: Extracting clipped reads
[2025-06-26 22:51:52] INFO: Starting breakpoint detection
[2025-06-26 22:52:06] INFO: Clustering unmapped insertions
/sched/software/python/conda/envs/severus_150/lib/python3.12/site-packages/numpy/_core/fromnumeric.py:3860: RuntimeWarning: Mean of empty slice.
return _methods._mean(a, axis=axis, dtype=dtype,
/sched/software/python/conda/envs/severus_150/lib/python3.12/site-packages/numpy/_core/_methods.py:145: RuntimeWarning: invalid value encountered in scalar divide
ret = ret.dtype.type(ret / rcount)
[2025-06-26 22:52:29] INFO: Starting compute_bp_coverage
[2025-06-26 22:52:49] INFO: Filtering breakpoints
[2025-06-26 22:53:00] INFO: Writing breakpoints
[2025-06-26 22:53:06] INFO: Preparing outputs for all_SVs
[2025-06-26 22:53:06] INFO: Computing segment coverage
[2025-06-26 22:54:30] INFO: Total phased length: 2176060957
[2025-06-26 22:54:30] INFO: Phase blocks N50: 330693
Traceback (most recent call last):
File "/sched/software/python/conda/envs/severus_150/bin/severus", line 33, in
sys.exit(load_entry_point('severus==1.5', 'console_scripts', 'severus')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sched/software/python/conda/envs/severus_150/lib/python3.12/site-packages/severus/main.py", line 260, in main
output_graphs(double_breaks, coverage_histograms, thread_pool, target_genomes, control_genomes, genome_ids, ref_lengths, args)
File "/sched/software/python/conda/envs/severus_150/lib/python3.12/site-packages/severus/build_graph.py", line 655, in output_graphs
(genomic_segments, adj_segments) = get_genomic_segments(double_breaks, coverage_histograms, args.phase_vcf,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/sched/software/python/conda/envs/severus_150/lib/python3.12/site-packages/severus/breakpoint_finder.py", line 1741, in get_genomic_segments
calc_gen_segments(d_breaks, coverage_histograms,ref_lengths, min_ref_flank, max_genomic_length, db_segments, ref_adj)
File "/sched/software/python/conda/envs/severus_150/lib/python3.12/site-packages/severus/breakpoint_finder.py", line 1858, in calc_gen_segments
if db.bp_2.position == pos_ls[ind]:
~~~~~~^^^^^
IndexError: list index out of range