Skip to content

Conversation

@hmusta
Copy link
Collaborator

@hmusta hmusta commented Feb 7, 2022

This format reports the node IDs of alignment paths.

See "The Graph Alignment Format (GAF)" and "Sequence Alignment/Map Optional Fields Specification"

Copy link
Member

@karasikov karasikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add integration / unit tests.

md_string += std::to_string(match_count);
match_count = 0;
}
md_string += std::string(ref_it, ref_it + num);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

string_view would be enough. Why do you create a new string?

Comment on lines +313 to +314
for (size_t i = 0; i < paths.size(); ++i) {
const auto &path = paths[i];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for (size_t i = 0; i < paths.size(); ++i) {
const auto &path = paths[i];
for (const auto &path : paths) {

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had it set up this way because a bug in GCC-8 was causing the compilation to crash because of this kind of for-loop. Let's see if it happens this time.

@hmusta hmusta marked this pull request as draft June 12, 2023 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants