bigdatagenomics / bdg-formats

Open source formats for scalable genomic processing systems using Avro. Apache 2 licensed.
Apache License 2.0
39 stars 35 forks source link

Default Strand uses wrong case #128

Closed heuermh closed 7 years ago

heuermh commented 7 years ago

It is not possible use Strand.newBuilder()

Cause: org.apache.avro.AvroRuntimeException: java.lang.NullPointerException
  at org.bdgenomics.formats.avro.Slice$Builder.build(Slice.java:737)

because the default value for strand is incorrect

-  union { Strand, null } strand = "Independent";
+  union { Strand, null } strand = "INDEPENDENT";