smithlabcode / falco

A C++ drop-in replacement of FastQC to assess the quality of sequence read data
https://falco.readthedocs.io
GNU General Public License v3.0
98 stars 11 forks source link

Checking that we do not access past the end of the adapter summary stats #60

Closed andrewdavidsmith closed 4 months ago

andrewdavidsmith commented 4 months ago

When reporting adapter contamination, the code used the final summary stats entry to pad out the report if the adapter was too short, but in some cases it seems like no stats collected means there is no data to print -- there is no final element to use to pad out the rest. This is now checked, but likely the source of the problem is elsewhere.