Question: TarSeqQC TargetExperiment() Error- failed to stop SOCKcluster cluster-error writing to connection
gravatar for bioinf
8 months ago by
bioinf0 wrote:


TarSeqQC seems to be a wonderful package for TS. I ran it successfully on extdata (test data) on Windows 8.1 64-bit PC as well as Rstudio server, but getting following error while running on my data on Rstudio server (bam=1.2GB, fasta file=1.4GB, bed file=25MB):

org_panel <- TargetExperiment(org_bed, org_bam, org_fasta, attribute="coverage", feature="cds", pileupP=PileupParam(max_depth=100))

Error: failed to stop ‘SOCKcluster’ cluster: error writing to connection

I think the issue may be related to BiocParallel. I am using BiocParallel 1.8.2

​Kindly guide.


ADD COMMENTlink modified 8 months ago by Martin Morgan ♦♦ 21k • written 8 months ago by bioinf0
gravatar for Martin Morgan
8 months ago by
Martin Morgan ♦♦ 21k
United States
Martin Morgan ♦♦ 21k wrote:

This may indicate an error trying to move too much data from the worker back to the master; you could try BiocParallel::register(BiocParallel::SerialParam()) before the call to TargetExperiment() to run in serial mode.

ADD COMMENTlink written 8 months ago by Martin Morgan ♦♦ 21k

Thanks. I ran it again with the option you mentioned, but TargetExperiment() is taking a lot of time. Do you have an idea how much time it should take to process 1GB bam and 1GB fasta for TargetExperiment()? I am trying to run it from last few days, sometimes it ran for full day too.


ADD REPLYlink written 8 months ago by bioinf0

Its running since yesterday and got the following error now:

Error in `[.data.frame`(info, , "chr") : undefined columns selected

In addition: Warning messages:
1: In .local(.Object, ...) :
  Your bed file have duplicated features. Removing 
            duplicated ...
2: In (function (..., deparse.level = 1)  :
  number of columns of result is not a multiple of vector length (arg 2)
ADD REPLYlink written 8 months ago by bioinf0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 156 users visited in the last hour