brentp / vcfanno

annotate a VCF with other VCFs/BEDs/tabixed files
https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-0973-5
MIT License
365 stars 56 forks source link

go build --> undefined: interfaces.RandomGetter #4

Closed seandavi closed 9 years ago

seandavi commented 9 years ago

Hi, Brent. This project is exactly what I have been looking for.

I'm just getting going with go, so this is probably my ignorance, but here is what the master branch shows on building....

$ go build
# github.com/brentp/vcfanno/api
../../brentp/vcfanno/api/api.go:164: o.Id undefined (type interfaces.IVariant has no field or method Id)
../../brentp/vcfanno/api/api.go:435: undefined: interfaces.RandomGetter
../../brentp/vcfanno/api/api.go:439: undefined: interfaces.RandomGetter
../../brentp/vcfanno/api/api.go:456: assignment count mismatch: 2 = 1
../../brentp/vcfanno/api/api.go:469: undefined: interfaces.RandomGetter

Any thoughts?

brentp commented 9 years ago

Hi Sean, I just saw this now. I've been breaking a lot of things and the master of this branch is relying on a non master branch of irelate.

If you either download the v0.0.7 binary or check out that tag, you should be good to go.

brentp commented 9 years ago

I just merged the stuff from the irelate that was causing this issue. You should be able to fix if you run

go get -u

seandavi commented 9 years ago

Thanks. That did the trick.