Closed seb-mueller closed 5 years ago
Having done some more research, it seems both trimmmed_repaired_R1.fastq.gz
and trimmmed_repaired_R2.fastq.gz
were produced with the same number of lines despite the pigz: abort
.
This is in line with the above, with the stats being reported for both samples.
As a note, the culprit call invoking pigz seems repair.sh
:
repair.sh -Xmx30g in=results/samples/sample21/trimmmed_R1.fastq.gz in2=results/samples/sample21/trimmmed_R2.fastq.gz out1=results/samples/sample21/trimmmed_repaired_R1.fastq.gz out2=results/samples/sample21/trimmmed_repaired_R2.fastq.gz repair=t threads=4 2> results/logs/bbmap/sample21_repair.txt
Activating conda environment: /home/sm934/.conda/myevns/c77f6b18
I'm inclined to have plot_yield.R
to deal with those warnings, any objections?
So there is a warning but it doesn't change the output?
If so, just discarding the "pigz" lines in plot_yield should do the trick yes.
Yes, this should do the trick, I'll get on it next thing.
Still, there might still be a underlying issue which might or might not have effects on the processing, that why I provided all this informations to be aware of a potential problem.
Still not sure if it's sample specific or a bug in pigz.
I'd therefore advice to inspect the logs/bbmap/
files in case something is odd in the future.
The fix works for, so closing the issue.
Running the new develop branch, I get get the following error:
After a bit of debugging, I found this was caused by only 1 out of 3 samples. Turns out there are unexpected lines in the
logs/bbmap/sample1_repair.txt
which is read in byplot_yield.R
:Whereas this is for
sample2_repair.txt
which seems fine.Seems like one of the files couldn't be decompressed properly with pigz. Not sure if this is severe enough to contact the pigz developers, but others have seen this error before: https://github.com/madler/pigz/issues/44
I'll try to debug some more, but I suppose to add some sort of error handling if that happens for other data in the future either in
plot_adapter.R
or ideally fixing the pigz to not give that error in the first place.