@Test
public void testParseAnalysisStepIntervalFilterFromList() {

    Analysis analysis = instance.parseAnalysis(addStepToAnalysis("intervalFilter: {intervals: ['chr10:122892600-122892700', 'chr10:122892900-122893000']}"));
    List<ChromosomalRegion> expectedIntervals = ImmutableList.of(
            new GeneticInterval(10, 122892600, 122892700),
            new GeneticInterval(10, 122892900, 122893000)
    );
    analysisSteps.add(new IntervalFilter(expectedIntervals));
    assertThat(analysis.getAnalysisSteps(), equalTo(analysisSteps));
}