Trying to run a pipeline in python2.7, executed by a simple bash command. I am using conda and have created a python 2.7 environment in my EC2 instance and I am stuck troubleshooting this error. I am reading typically this is related to directory/location issues but all of the files and programs appear to be in the right place, I am very green and clearly missing something! One thing- the process 'work dir' referred to here is not actually in the path it says and I am confused about this.
Error executing process > 'map_reads (1)'
Caused by: Process
map_reads (1)terminated with an error exit status (127)Command executed:
clockwork map_reads --threads 8 --unsorted_sam sample_name /data/TB/varpipe_wgs_211124/tools/clockwork/OUT/ref.fa contam_sam /data/TB/varpipe_wgs_211124/data/B18-CDC_S1_L001_R1_001.fastq.gz /data/TB/varpipe_wgs_211124/data/B18-CDC_S1_L001_R2_001.fastq.gz
Command exit status: 127
Command output: (empty)
Command error: .command.sh: line 2: clockwork: command not found
Work dir:
/data/TB/varpipe_wgs_211124/data/work/a0/c3e6d06956e32d14ddcdff3170b6eaTip: you can replicate the issue by changing to the process work dir and entering the command
bash .command.run
Have you checked if the
clockworkcommand is working?clockwork is not in your $PATH. set the $PATH in the workflow process, ( or invoke module, conda, etc...)