cnv_facets icon indicating copy to clipboard operation
cnv_facets copied to clipboard

Error in value[[3L]](cond) : index build failed

Open grrompala opened this issue 4 months ago • 1 comments

Hi, I am using the latest biocontainer with cnv_facets: 0.16.1 installed.

From a set of 11 samples, I just have one sample that has the issue pasted below when the output vcf is being indexed. Notably, this sample worked fine with a different common_vcf (dbsnp v138 and all 11 samples worked fine). Any ideas what this issue could be as it appears to be an interaction between this sample (on the larger side, but still WES) and the common vcf file. Thank you.

Log output

ERROR ~ Error executing process > 'NFCORE_PTMB:PTMB:PTMB_CALC:CNV_FACETS (Pt54)'

Caused by:
  Essential container in task exited

Command executed:

  cnv_facets.R \
      -t SRR5134918.bam \
      -n SRR5134810.bam \
      -vcf grch37p13_b151_common_all.vcf.gz \
      -o Pt54

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_PTMB:PTMB:PTMB_CALC:CNV_FACETS":
      cnv_facets: 0.16.1
  END_VERSIONS

Command exit status:
  1

Command output:
  Finished in 47.245254 seconds.
  Finished in 40.036761 seconds.
  Finished in 32.643367 seconds.
  Finished in 23.012509 seconds.
  Finished in 33.495188 seconds.
  Finished in 28.543038 seconds.
  Finished in 27.459674 seconds.
  Finished in 21.483552 seconds.
  Finished in 20.754085 seconds.
  Finished in 22.572316 seconds.
  Finished in 23.328891 seconds.
  Finished in 25.109737 seconds.
  Finished in 11.718143 seconds.
  Finished in 14.816947 seconds.
  Finished in 19.538375 seconds.
  Finished in 21.196791 seconds.
  Finished in 25.414224 seconds.
  Finished in 10.239452 seconds.
  Finished in 22.892129 seconds.
  Finished in 11.709455 seconds.
  Finished in 5.674101 seconds.
  Finished in 10.128706 seconds.
  Finished in 13.615722 seconds.
  Finished in 1.192682 seconds.

Command error:
  [2024-10-08 22:09:11.029507] Loading file Pt54.csv.gz...
  [2024-10-08 22:09:27.732201] Plotting histogram of coverage...
  [2024-10-08 22:10:26.701633] Preprocessing sample...
  [2024-10-08 22:10:31.911083] Processing sample...
  [2024-10-08 22:10:37.445002] Fitting model...
  [2024-10-08 22:11:06.733148] Writing output
  [E::hts_idx_push] Unsorted positions on sequence #17: 19533999 followed by 2
  Error in value[[3L]](cond) : index build failed
    file: Pt54.vcf.gz
  Calls: indexTabix ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous>
  Execution halted
  Finished in 47.245254 seconds.
  Finished in 40.036761 seconds.
  Finished in 32.643367 seconds.
  Finished in 23.012509 seconds.
  Finished in 33.495188 seconds.
  Finished in 28.543038 seconds.

grrompala avatar Oct 08 '24 23:10 grrompala