@Test
public void testLength1Feature() throws Exception {
String bedFile = TestUtils.DATA_DIR + "bed/snp_calls.bed";
TestUtils.createIndex(bedFile, IgvTools.LINEAR_INDEX, 10000);
FeatureCodec codec = CodecFactory.getCodec(bedFile, null);
AbstractFeatureReader<Feature, ?> bfr = AbstractFeatureReader.getFeatureReader(bedFile, codec);
for (Feature feat : bfr.iterator()) {
BasicFeature f = (BasicFeature) feat;
assertEquals(1, f.getLength());