Consturct a single-end alignment. */
| 235 | |
| 236 | /** Consturct a single-end alignment. */ |
| 237 | explicit SAMRecord(const SAMAlignment& a = SAMAlignment(), |
| 238 | const std::string& qname = "*", |
| 239 | #if SAM_SEQ_QUAL |
| 240 | const std::string& seq = "*", |
| 241 | const std::string& qual = "*", |
| 242 | const std::string& tags = "" |
| 243 | #else |
| 244 | const std::string& /*seq*/ = "*", |
| 245 | const std::string& /*qual*/ = "*", |
| 246 | const std::string& /*tags*/ = "" |
| 247 | #endif |
| 248 | ) : |
| 249 | SAMAlignment(a), |
| 250 | qname(qname), |
| 251 | mrnm("*"), |
| 252 | mpos(-1), |
| 253 | isize(0) |
| 254 | #if SAM_SEQ_QUAL |
| 255 | , |
| 256 | seq(seq), |
| 257 | qual(qual), |
| 258 | tags(tags) |
| 259 | #endif |
| 260 | { |
| 261 | } |
| 262 | |
| 263 | /** Construct a paired-end alignment. */ |
| 264 | SAMRecord(const Alignment& a0, const Alignment& a1) |
nothing calls this directly
no test coverage detected