This is a test version of Biostars. For the public version, visit https://www.biostars.org.
CNVkit error message

Hi all, I am trying to run a CNV analysis using the CNVkit, but I am getting this error below when PSCBS package is running. Does anybody have an idea what it s about? Thank you in advance!

Attaching package: ‘PSCBS’

The following objects are masked from ‘package:base’:

    append, load

Loading probe coverages into a data frame
Pre-processing the probe data for segmentation
Segmenting the probe data
[2016-03-23 11:01:06] Exception: Argument 'w' contains 50774 NA value(s).

  at #09. getNumerics.Arguments(static, ..., asMode = "double", disallow = disallow)
          - getNumerics.Arguments() is in environment 'R.utils'

  at #08. getNumerics(static, ..., asMode = "double", disallow = disallow)
          - getNumerics() is in environment 'R.utils'

  at #07. getDoubles.Arguments(static, ...)
          - getDoubles.Arguments() is in environment 'R.utils'

  at #06. getDoubles(static, ...)
          - getDoubles() is in environment 'R.utils'

  at #05. Arguments$getDoubles(w, range = c(0, 1), length = length2, disallow = disallow)
          - Arguments$getDoubles() is local of the calling function

  at #04. segmentByCBS.default(y = y, chromosome = data$chromosome, x = data$x, 
              index = data$index, w = data$w, ...)
          - segmentByCBS.default() is in environment 'PSCBS'

  at #03. segmentByCBS(y = y, chromosome = data$chromosome, x = data$x, 
              index = data$index, w = data$w, ...)
          - segmentByCBS() is in environment 'PSCBS'

  at #02. segmentByCBS.data.frame(cna, alpha = 1e-04, undo = 0, min.width = 2, 
              joinSegments = FALSE, knownSegments = knownsegs, seed = 679661)
          - segmentByCBS.data.frame() is in environment 'PSCBS'

  at #01. segmentByCBS(cna, alpha = 1e-04, undo = 0, min.width = 2, joinSegments = FALSE, 
              knownSegments = knownsegs, seed = 679661)
          - segmentByCBS() is in environment 'PSCBS'

Error: Argument 'w' contains 50774 NA value(s).
Execution halted
software error

1 answer

Seems that your input is wrong, what was the command you used?

Log in to answer this question.