The first thing I tried when I seeing this was installing with conda. I also read in the documentation that installation did not include the clockwork scripts (not sure why this would be?) so I cloned the github repo. I later realized nextflow/conda was already there, in the directory where the full pipeline is located. I tried adding both this directory and the one where I re-installed to $PATH, still not working. this is the nextflow command within the pipeline:
nextflow run /data/TB/varpipe_wgs_211124/tools/clockwork/nextflow/remove_contam.nf --ref_fasta /data/TB/varpipe_wgs_211124/tools/clockwork/OUT/ref.fa --ref_metadata_tsv /data/TB/varpipe_wgs_211124/tools/clockwork/OUT/remove_contam_metadata.tsv --reads_in1 B18-CDC_S1_L001_R1_001.fastq.gz --reads_in2 B18-CDC_S1_L001_R2_001.fastq.gz --outprefix Output_10_12_2022/B18-CDC_S1_L001/clockwork/B18-CDC_S1_L001 --mapping_threads 8
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...)