Return true if the specified read ID is of a single-end read. */
| 663 | |
| 664 | /** Return true if the specified read ID is of a single-end read. */ |
| 665 | static bool |
| 666 | isSingleEnd(const string& id) |
| 667 | { |
| 668 | unsigned l = id.length(); |
| 669 | return endsWith(id, ".fn") || (l > 6 && id.substr(l - 6, 5) == ".part"); |
| 670 | } |
| 671 | |
| 672 | /** Return the mate ID of the specified read ID. */ |
| 673 | static string |
no test coverage detected