Skip to content

Commit

Permalink
fixed PG tag bug
Browse files Browse the repository at this point in the history
  • Loading branch information
alshai committed Dec 19, 2019
1 parent 5936977 commit 30c3bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liftover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void lift_run(lift_opts args) {
ks_free(&s);
*/
char* prev_pg = get_PG(hdr);
fprintf(out_sam_fp, "%s", prev_pg);
fprintf(out_sam_fp, "%s\n", prev_pg);
free(prev_pg);
fprintf(out_sam_fp, "@PG\tID:liftover\tPN:liftover\tCL:\"%s\"\n", args.cmd.data());
while (sam_read1(sam_fp, hdr, aln) >= 0) {
Expand Down

0 comments on commit 30c3bb1

Please sign in to comment.