Skip to content
Snippets Groups Projects
Commit c9231a25 authored by Aaron's avatar Aaron
Browse files

Changed newline to tab in bamToBed for -tag -bed12.

parent 363bce89
No related branches found
No related tags found
No related merge requests found
......@@ -443,7 +443,7 @@ void PrintBed12(const BamAlignment &bam, const RefVector &refs, bool useEditDist
else if (useEditDistance == false && bamTag != "") {
int32_t tagValue;
if (bam.GetTag(bamTag, tagValue)) {
printf("%s\t%d\t%d\t\%s\t%d\t%s\n", refs.at(bam.RefID).RefName.c_str(), bam.Position,
printf("%s\t%d\t%d\t\%s\t%d\t%s\t", refs.at(bam.RefID).RefName.c_str(), bam.Position,
alignmentEnd, name.c_str(), tagValue, strand.c_str());
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment