make_pair.patch 1.3 KB

12345678910111213141516171819202122232425
  1. diff -uBw -aur tophat-2.1.1/src/juncs_db.cpp tophat-2.1.1-patched/src/juncs_db.cpp
  2. --- tophat-2.1.1/src/juncs_db.cpp 2016-02-14 19:21:17.354079000 +0100
  3. +++ tophat-2.1.1-patched/src/juncs_db.cpp 2016-06-02 11:26:34.097425159 +0200
  4. @@ -338,7 +338,7 @@
  5. uint32_t left_coord = atoi(scan_left_coord);
  6. uint32_t right_coord = atoi(scan_right_coord);
  7. bool antisense = *orientation == '-';
  8. - junctions.insert(make_pair<Junction, JunctionStats>(Junction(ref_id, left_coord, right_coord, antisense), JunctionStats()));
  9. + junctions.insert(make_pair(Junction(ref_id, left_coord, right_coord, antisense), JunctionStats()));
  10. }
  11. }
  12. diff -uBw -aur tophat-2.1.1/src/tophat_reports.cpp tophat-2.1.1-patched/src/tophat_reports.cpp
  13. --- tophat-2.1.1/src/tophat_reports.cpp 2016-02-23 22:20:44.320710000 +0100
  14. +++ tophat-2.1.1-patched/src/tophat_reports.cpp 2016-06-02 11:26:22.057239478 +0200
  15. @@ -2705,7 +2705,7 @@
  16. junction_stat.gtf_match = true;
  17. junction_stat.accepted = true;
  18. - gtf_junctions.insert(make_pair<Junction, JunctionStats>(Junction(ref_id, left_coord, right_coord, antisense), junction_stat));
  19. + gtf_junctions.insert(make_pair(Junction(ref_id, left_coord, right_coord, antisense), junction_stat));
  20. }
  21. }
  22. fprintf(stderr, "Loaded %d GFF junctions from %s.\n", (int)(gtf_junctions.size()), gtf_juncs.c_str());