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

Filter out MACS results with zero peaks #58

Closed
orzechoj opened this issue Nov 1, 2018 · 1 comment
Closed

Filter out MACS results with zero peaks #58

orzechoj opened this issue Nov 1, 2018 · 1 comment
Labels
feature-request Request to add new functionality

Comments

@orzechoj
Copy link

orzechoj commented Nov 1, 2018

I'm getting this error when I'm running ChIP-Seq Best Practice v1.0 with nextflow v 0.31.1, on Uppmax/ bianca.

ERROR ~ Error executing process > 'chippeakanno (ALBB13_137_H3K27me3_peaks)'

Caused by:
  Process `chippeakanno (ALBB13_137_H3K27me3_peaks)` terminated with an error exit status (1)

Command executed:

  post_peak_calling_processing.r /usr/local/lib/R/library /home/jacke/bin/chipseq/blacklists/hg19-blacklist.bed genes.gtf <a lot of data sets here..>

Command exit status:
  1

Command output:
  (empty)

Command error:
      parLapplyLB, parRapply, parSapply, parSapplyLB
  
  The following objects are masked from ‘package:stats’:
  
      IQR, mad, sd, var, xtabs
  
  The following objects are masked from ‘package:base’:
  
      anyDuplicated, append, as.data.frame, cbind, colMeans, colnames,
      colSums, do.call, duplicated, eval, evalq, Filter, Find, get, grep,
      grepl, intersect, is.unsorted, lapply, lengths, Map, mapply, match,
      mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
      rbind, Reduce, rowMeans, rownames, rowSums, sapply, setdiff, sort,
      table, tapply, union, unique, unsplit, which, which.max, which.min
  
  Loading required package: S4Vectors
  
  Attaching package: ‘S4Vectors’
  
  The following object is masked from ‘package:base’:
  
      expand.grid
  
  Loading required package: IRanges
Loading required package: GenomeInfoDb
  Loading required package: ChIPpeakAnno
  Loading required package: grid
  Loading required package: Biostrings
  Loading required package: XVector
  
  Attaching package: ‘Biostrings’
  
  The following object is masked from ‘package:base’:
  
      strsplit
  
  Loading required package: VennDiagram
  Loading required package: futile.logger
  
  Warning message:
  In read.dcf(con) :
    URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'
  Loading required package: rtracklayer
  Loading required package: doParallel
  Loading required package: foreach
  Loading required package: iterators
  Error in S4Vectors:::normalize_names_replacement_value(value, x) : 
    attempt to set too many names (2) on IRanges object of length 0
  Calls: annotatePeakInBatch ... names<- -> names<- -> names<- -> names<- -> <Anonymous>
  Execution halted

I used the following command to run:

nohup nextflow run /home/jacke/bin/chipseq \
    --singleEnd \
     --reads '*.fastq.gz' \
     --genome GRCh37 \
     --project sens2017533 \
     --macsconfig 'macssetup.config' \
     -resume \
     -with-trace \
     -with-dag flowchart.pdf \
      --broad \
     --blacklist_filtering \
     -profile uppmax \
     -with-singularity /home/jacke/bin/singularity_images/nfcore-chipseq.img &

And most, but not all, MACS 2 jobs have finished ok.

EDIT: Two of the peak files from MACS contain no peaks. That is probably what gives the error.

@orzechoj orzechoj changed the title ChIPpeakanno error Chippeakanno error Nov 1, 2018
@ewels ewels added the feature-request Request to add new functionality label Dec 26, 2018
@ewels ewels changed the title Chippeakanno error Filter out MACS results with zero peaks Dec 26, 2018
jherrero pushed a commit to UCL-BLIC/chipseq that referenced this issue Apr 11, 2019
Change the method for counting mapped reads
@drpatelh
Copy link
Member

Closed in favour of #35

GenomicsNX pushed a commit to GenomicsNX/NGI-ChIPseq that referenced this issue Jun 21, 2021
Change the method for counting mapped reads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request to add new functionality
Projects
None yet
Development

No branches or pull requests

3 participants