Skip to content

Commit

Permalink
Merge pull request #267 from waveygang/cigar_pos
Browse files Browse the repository at this point in the history
be consistent with cigar position in the PAF
  • Loading branch information
AndreaGuarracino authored Aug 28, 2024
2 parents 064fafa + 9586c7a commit 9c401b3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/common/wflign/src/wflign_patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2269,17 +2269,15 @@ void write_alignment_paf(
<< "\t" << std::round(float2phred(1.0 - block_identity)) << "\t"
//<< "as:i:" << aln.score << "\t"
<< "gi:f:" << gap_compressed_identity << "\t"
<< "bi:f:"
<< block_identity
<< "bi:f:" << block_identity << "\t"
<< "md:f:" << mashmap_estimated_identity << "\t"
//<< "\t" << "ma:i:" << matches
//<< "\t" << "mm:i:" << mismatches
//<< "\t" << "ni:i:" << insertions
//<< "\t" << "bi:i:" << inserted_bp
//<< "\t" << "nd:i:" << deletions
//<< "\t" << "bd:i:" << deleted_bp
<< "\t"
<< "cg:Z:" << cigar << "\t"
<< "md:f:" << mashmap_estimated_identity;
<< "cg:Z:" << cigar << "\t";
if (with_endline) {
out << std::endl;
}
Expand Down

0 comments on commit 9c401b3

Please sign in to comment.