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

edgeR_mirna error #31

Closed
mshulewitz opened this issue Dec 19, 2019 · 8 comments
Closed

edgeR_mirna error #31

mshulewitz opened this issue Dec 19, 2019 · 8 comments
Labels
bug Something isn't working

Comments

@mshulewitz
Copy link

mshulewitz commented Dec 19, 2019

Running smrnaseq on an AWS EC2 (Ubuntu 18.04, 64 GB memory, 16 cpu) with the following command line:

nextflow run nf-core/smrnaseq -r 1.0.0 -profile docker \
--reads 'sample1.*' \
--genome 'GRCh37' \
--max_memory '60.GB' \
 --outdir smrnaseq_output \
--protocol cats

gives the following error:

Error executing process > 'edgeR_mirna'

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

Command executed:

  edgeR_miRBase.r Kit4RNA3.mature.stats Kit4RNA3.hairpin.stats

Command exit status:
  1

Command output:
  $mature
  [1] "sample1.mature.stats"

  $hairpin
  [1] "sample1.hairpin.stats"

Command error:
  WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
  Loading required package: limma
  Loading required package: edgeR
  Loading required package: statmod
  Loading required package: data.table
  Loading required package: gplots

  Attaching package: ‘gplots’

  The following object is masked from ‘package:stats’:

      lowess

  Error in apply(data, 1, function(row) all(row == 0)) :
    dim(X) must have a positive length
  Execution halted

Running edgeR_miRBase.r locally also gives same error.

@lpantano
Copy link
Contributor

Hi,

I think something is wrong with the input. Can you go into the working folder and check the input files, if they are not empty?

maybe try to run the R script in an interactive version helps more as well.

@mshulewitz
Copy link
Author

mshulewitz commented Dec 20, 2019

I pulled the test fastq and reference files using the paths in test.config and rerun with the following command line and was successful:

nextflow run nf-core/smrnaseq -r 1.0.0 -profile docker \
--reads 'fastq_repo/sample_*' \
--max_memory '60.GB' \
--mature 'smrnaseq_ref/mature.fa' \
--hairpin 'smrnaseq_ref/hairpin.fa' \
--bit_index 'reference/genome' \
--fasta 'smrnaseq_ref/genes.gtf' \
--gtf 'smrnaseq_ref/hsa.gff3' \
--mirtrace_species 'hsa' \
--outdir smrnaseq_output

However, if I only process a single fastq (eg: --reads 'fastq_repo/sample_1.fastq.gz') I receive the error message. In this case, the input files sample_1.hairpin.stats and sample_1.mature.stats are in the working directory for edgeR_mirna process.

@lpantano
Copy link
Contributor

lpantano commented Jan 9, 2020 via email

@ewels ewels added the bug Something isn't working label Nov 7, 2020
@rakeshponnala
Copy link

I'm getting the same error.. was this issue fixed... I'm trying to run 98 samples.. the pipeline runs great.. but at the end throws similar error message:

Error executing process > 'edgeR_mirna'

Caused by:
Process edgeR_mirna terminated with an error exit status (1)

Command executed:

Command error:
Loading required package: limma
Loading required package: edgeR
Loading required package: statmod
Loading required package: data.table
Loading required package: gplots

Attaching package: ‘gplots’

The following object is masked from ‘package:stats’:

  lowess

Error in if (nr_keep > 0) { : argument is of length zero
Execution halted

@lpantano
Copy link
Contributor

Hi, what version of the pipeline are you using?

@rakeshponnala
Copy link

r 1.1.0 is the version I am using...

@lpantano
Copy link
Contributor

could you try running the dev branch instead?

@apeltzer
Copy link
Member

Goign to close this as the issue is very likely not there anymore in the current dev and soon release - please retest again 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants