Open giuliafrrn opened 1 year ago
Thanks @giuliafrrn for reporting the issue. I found out that the error appears when there are NO reads mapped to the HBV genome. To solve the issue, we will add checks whether the BAM files are empty; if so, we will terminate the workflow gracefully.
I tried to run the pipeline with a dataset, but had several problems.
Firts I ran the pipeline without adjusting the config, except for the sample annotation file. After that I tried to set
doPerSamp
toTrue
. With both configurations these files are empty and the pipeline fails. (See error message below)02_Sample_mapped_reads_1.fq.gz
02_Sample_mapped_reads_2.fq.gz
I also tried to set
doInputRef
anddoPerSamp
toTrue
, but then the pipeline couldn't start at all.As a reference I used the
sampleAnnotation
file under the.test
folder and with this file the pipeline always worked.