We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca61d4e + 95ffc02 commit 8f93887Copy full SHA for 8f93887
src/lumpy/SV_Pair.cpp
@@ -52,6 +52,8 @@ SV_Pair(const BamAlignment &bam_a,
52
else
53
min_mapping_quality = bam_b.MapQuality;
54
55
+ read_id = bam_a.Name;
56
+
57
struct interval tmp_a, tmp_b;
58
tmp_a.start = bam_a.Position;
59
tmp_a.end = bam_a.GetEndPosition(false, false) - 1;
@@ -341,6 +343,7 @@ void
341
343
SV_Pair::
342
344
print_evidence()
345
{
346
+ cout << read_id << "\t";
347
print_bedpe(0);
348
}
349
//}}}
src/lumpy/SV_Pair.h
@@ -61,6 +61,7 @@ class SV_Pair: public SV_Evidence
61
struct interval read_r;
62
bool read_l_is_split, read_r_is_split;
63
SV_PairReader *reader;
64
+ std::string read_id;
65
66
67
SV_Pair(const BamAlignment &bam_a,
0 commit comments