ReadEnds( ::libmaus2::bambam::BamAlignment const & p, header_type const & header, bool const copyAlignment = false, uint64_t const rtagId = 0 ) { reset(); fillFrag(p,header,*this,rtagId); if ( copyAlignment ) this->p = p.sclone(); }
ReadEnds( ::libmaus::bambam::BamAlignment const & p, ::libmaus::bambam::BamHeader const & header, ::libmaus::bambam::ReadEnds & RE, bool const copyAlignment = false ) { reset(); fillFrag(p,header,RE); if ( copyAlignment ) this->p = p.sclone(); }
ReadEnds( uint8_t const * pD, uint64_t const pblocksize, header_type const & header, bool const copyAlignment = false, uint64_t const rtagId = 0 ) { reset(); fillFrag(pD,pblocksize,header,*this,rtagId); if ( copyAlignment ) { BamAlignment::shared_ptr_type salgn(new libmaus2::bambam::BamAlignment); salgn->copyFrom(pD,pblocksize); this->p = salgn; } }