phipsonlab/NextClone

Getting it to run locally

cnk113 opened this issue · 1 comments

I'm having issues with getting it to run on our local server, I've overwritten the config's executor to local however the first step extracting the unmapped reads fails:

N E X T F L O W  ~  version 23.10.1
Launching `/home/chang/NextClone/main.nf` [stoic_lalande] DSL2 - revision: 93e5963b89
executor >  local (1)
ERROR ~ Error executing process > 'sc_get_unmapped_reads (1)'

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

Command executed:

  sambamba view -t 12 -F "unmapped" -f bam -o soloAligned.sortedByCoord.out_reads_unmapped.bam soloAligned.sortedByCoord.out.bam

Command exit status:
  127

Command output:
  (empty)

Command error:
  .command.run: line 18: module: command not found

Work dir:
  /media/sdc/sticr/vascular_sticr/ec/out/work/5d/bded72073154366fac6a039810c9ca

Tip: you can replicate the issue by changing to the process work dir and entering the command `bash .command.run`

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

I can't seem to get Nextclone to take the local binaries which are in my path (local)
I even tried to add sambamba to the bin folder in the local NextClone folder and calling main.nf locally still gives the above error.

Nevermind I had to drop the module sambamba in the script to run my local version