Entering edit mode
                    11 months ago
        End
        
    
        •
    
    0
    Hello Biostars Community,
I am running a Nextflow pipeline, and it terminated with an error:
Error message:
Workflow execution completed unsuccessfully!  
The exit status of the task that caused the workflow execution to fail was: 137.  
Error executing process > 'pipeline:countReadsRegions (1)'  
Caused by:  
  Process `pipeline:countReadsRegions (1)` terminated with an error exit status (137)  
Command executed:  
  samtools view -q 1 -bh barcode01.bam | bedtools coverage -d -a TB_amplicons.bed -b - > barcode01.bedtools-coverage.bed  
Command exit status:  
  137  
Command output:  
  (empty)  
Command error:  
  .command.sh: line 2:    29 Broken pipe             samtools view -q 1 -bh barcode01.bam  
          30 Killed                  | bedtools coverage -d -a TB_amplicons.bed -b - > barcode01.bedtools-coverage.bed  
Work dir:  
  /home/hassan/epi2melabs/instances/wf-tb-amr_01JCGETWXPRWX7F3PFV8FZ5BMS/work/fc/d263ee6
Just to confirm. You are using barcoded samples and have provided a correct samplesheet file.