Hello everyone! I'm running nf-core on HPC, evryth...
# random
l
Hello everyone! I'm running nf-core on HPC, evrything seems good at first until this step. I've tried to modify the script in this part but when I run it, it goes back to the original script given by nf-core. It says that I can't overwrite a file. I did nextflow clean -f to make sure that no files are overwritten, but it still gives me the same error msg.
Copy code
Plus 23 more processes waiting for tasks… Execution cancelled -- Finishing pending tasks before exit
ERROR ~ Error executing process > 'NFCORE_RNASEQ:RNASEQ:DESEQ2_QC_STAR_SALMON'

Caused by:
  Process `NFCORE_RNASEQ:RNASEQ:DESEQ2_QC_STAR_SALMON` terminated with an error exit status (1)


Command executed:

  deseq2_qc.r \
      --count_file salmon.merged.gene_counts_length_scaled.tsv \
      --outdir ./ \
      --cores 6 \
      --outprefix deseq2 \
      --id_col 1 --sample_suffix '' --count_col 3 --vst TRUE
  
  if [ -f "R_sessionInfo.log" ]; then
      sed "s/deseq2_pca/star_salmon_deseq2_pca/g" <deseq2_pca_header.txt >tmp.txt
      sed -i -e "s/DESeq2 PCA/STAR_SALMON DESeq2 PCA/g" tmp.txt
      cat tmp.txt *.pca.vals.txt > star_salmon.pca.vals_mqc.tsv
  
      sed "s/deseq2_clustering/star_salmon_deseq2_clustering/g" <deseq2_clustering_header.txt >tmp.txt
      sed -i -e "s/DESeq2 sample/STAR_SALMON DESeq2 sample/g" tmp.txt
      cat tmp.txt *.sample.dists.txt > star_salmon.sample.dists_mqc.tsv
  fi
  
  cat <<-END_VERSIONS > versions.yml
  "NFCORE_RNASEQ:RNASEQ:DESEQ2_QC_STAR_SALMON":
      r-base: $(echo $(R --version 2>&1) | sed 's/^.*R version //; s/ .*$//')
      bioconductor-deseq2: $(Rscript -e "library(DESeq2); cat(as.character(packageVersion('DESeq2')))")
  END_VERSIONS

Command exit status:
  1

Command output:
  null device 
            1 

Command error:
  
      Filter, Find, Map, Position, Reduce, anyDuplicated, append,
      as.data.frame, basename, cbind, colnames, dirname, do.call,
      duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
      lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin,
      pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table,
      tapply, union, unique, unsplit, which, which.max, which.min
  
  
  Attaching package: 'S4Vectors'
  
  The following object is masked from 'package:base':
  
      expand.grid
  
  Loading required package: IRanges
  Loading required package: GenomicRanges
  Loading required package: GenomeInfoDb
  Loading required package: SummarizedExperiment
  Loading required package: Biobase
  Welcome to Bioconductor
  
      Vignettes contain introductory material; view with
      'browseVignettes()'. To cite Bioconductor, see
      'citation("Biobase")', and for packages 'citation("pkgname")'.
  
  Loading required package: DelayedArray
  Loading required package: matrixStats
  
  Attaching package: 'matrixStats'
  
  The following objects are masked from 'package:Biobase':
  
      anyMissing, rowMedians
  
  
  Attaching package: 'DelayedArray'
  
  The following objects are masked from 'package:matrixStats':
  
      colMaxs, colMins, colRanges, rowMaxs, rowMins, rowRanges
  
  The following objects are masked from 'package:base':
  
      aperm, apply, rowsum
  
  converting counts to integer mode
  null device 
            1 
  .command.sh: line 14: tmp.txt: cannot overwrite existing file
t
This seems to be the nf-core/rnaseq pipeline, so if you have any specific questions, #rnaseq is the best place to ask. How are you running the pipeline? What executor, which container engine, or Conda? Do you have a suitable configuration set up (some tips here)? I suspect the
tmp.txt
it apparently cannot overwrite is there from a previous failed run, so maybe cleaning up your
work
directory may help.
❤️ 1