ref/alt alleles

Implemented API to get ref/alt alleles for a variant record. Added tests. 
good point, I didn't catch that.


Mauricio Carneiro, Ph.D.
http://www.broadinstitute.org/~carneiro/


On Wed, Jul 2, 2014 at 10:23 AM, droazen <notifications@github.com> wrote:

> In gamgee/variant.cpp:
>
> > @@ -58,6 +58,17 @@ Variant& Variant::operator=(Variant&& other) noexcept {
> >    return *this;
> >  }
> >
> > +std::string Variant::ref() const {
> > +  bcf_unpack(m_body.get(), BCF_UN_ALL);
>
> Why are you unpacking the whole record here? Should only need to unpack up
> to BCF_UN_STR...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/broadinstitute/gamgee/pull/101/files#r14459179>.
>