Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added example.bam
Binary file not shown.
1,002 changes: 1,002 additions & 0 deletions example.sam

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions src/FastqStats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,16 @@ FastqStats::summarize() {
}
}


void
FastqStats::adjust_tile_maps_len() {
for (auto it = begin(tile_position_quality);
it != end(tile_position_quality); it++) {
it->second.resize(max_read_length); // Always increase space
}
for (auto it = begin(tile_position_count);
it != end(tile_position_count); it++) {
it->second.resize(max_read_length); // Always increase space
}
}

2 changes: 2 additions & 0 deletions src/FastqStats.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ struct FastqStats {

void summarize();

void adjust_tile_maps_len();

// Given an input fastqc_data.txt file, populate the statistics with it
void read(std::istream &is);
};
Expand Down
Loading