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

Command not found #1295

Closed
me-orlov opened this issue May 8, 2024 · 2 comments
Closed

Command not found #1295

me-orlov opened this issue May 8, 2024 · 2 comments
Labels
question Further information is requested
Milestone

Comments

@me-orlov
Copy link

me-orlov commented May 8, 2024

Description of the bug

Hello everyone,

A year ago I have successfully installed nextflow and used the scrnaseq pipeline. Today I have tried to run the basic test for the rnaseq pipeline, and I am getting an error (127) that says either the fastq or the trim_galore command cannot be found. Which command it is depends on the run. They switch if I retry. The error persists regardless of whether I use singularity (what I used a year ago), docker (installed today) or apptainer (also installed today). I have even tried an install of nextflow as a dedicated conda environment, and am still getting the same error. I would be very grateful if someone could help me shed some light on this, as these pipelines are a great tool. Thank you in advance!

Command used and terminal output

nextflow run nf-core/rnaseq -profile test, docker --outdir ~/Bioinformatics/BulkRnaSeqNfTest

-[nf-core/rnaseq] Pipeline completed with errors-
ERROR ~ Error executing process > 'NFCORE_RNASEQ:RNASEQ:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (RAP1_UNINDUCED_REP1)'

Caused by:
  Process `NFCORE_RNASEQ:RNASEQ:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE (RAP1_UNINDUCED_REP1)` terminated with an error exit status (127)

Command executed:

  [ ! -f  RAP1_UNINDUCED_REP1.fastq.gz ] && ln -s SRR6357073_1.fastq.gz RAP1_UNINDUCED_REP1.fastq.gz
  trim_galore \
      --fastqc_args '-t 2' \
      --cores 1 \
      --gzip \
      RAP1_UNINDUCED_REP1.fastq.gz
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RNASEQ:RNASEQ:FASTQ_FASTQC_UMITOOLS_TRIMGALORE:TRIMGALORE":
      trimgalore: $(echo $(trim_galore --version 2>&1) | sed 's/^.*version //; s/Last.*$//')
      cutadapt: $(cutadapt --version)
  END_VERSIONS

Command exit status:
  127

Command output:
  (empty)

Command error:
  .command.sh: line 4: trim_galore: command not found

Work dir:
  /home/mgoiko/work/6f/9d1d0c3b77e45f3166fe47dc09ece3

Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`

 -- Check '.nextflow.log' file for details

Relevant files

System information

Ubuntu 22.04.4 LTS

@me-orlov me-orlov added the bug Something isn't working label May 8, 2024
@me-orlov
Copy link
Author

me-orlov commented May 8, 2024

Hello everyone, I have finally sorted out the issue. Want to leave this up for people in case it helps someone. If you are getting the error, please make sure there is no space between the words in

profile -test,docker

@drpatelh drpatelh added question Further information is requested and removed bug Something isn't working labels May 13, 2024
@drpatelh drpatelh added this to the 3.15.0 milestone May 13, 2024
@drpatelh
Copy link
Member

Great you figured it out and thanks for confirming here for everyones benefit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants