mango
mango copied to clipboard
Certain Reference Intervals Don't Load With Parquet Predicates
Issue is related to parquet filtering. Not providing a parquet predicate works fine
Issue is with incorrect Parquet FilterPredicate. NucleotideContigFragment has no length or end field, which does not allow the predicate to be specified correctly. Will be fixed by https://github.com/bigdatagenomics/bdg-formats/pull/61 and corresponding changes to ADAM.
Temporary fix is to use : val pred: FilterPredicate = ((LongColumn("fragmentStartPosition") >= viewRegion.start) || (LongColumn("fragmentStartPosition") <= viewRegion.end))
Will be resolved by bigdatagenomics/bdg-formats/#71 and corresponding changes to adam