@Test
public void testParseAnalysisCanSetAlternativeGenomeAssemblyUsingUcscName() {

    AnalysisParser hg19And38SupportedParser = getHg19and38SupportedParser();
    Analysis hg38Analysis = hg19And38SupportedParser.parseAnalysis(
            "analysis:\n"
                    + "    vcf: test.vcf\n"
                    + "    genomeAssembly: hg38\n"
                    + "    ");
    assertThat(hg38Analysis.getGenomeAssembly(), equalTo(GenomeAssembly.HG38));
    Analysis hg19Analysis = hg19And38SupportedParser.parseAnalysis(
            "analysis:\n"
                    + "    vcf: test.vcf\n"
                    + "    genomeAssembly: hg19\n"
                    + "    ");
    assertThat(hg19Analysis.getGenomeAssembly(), equalTo(GenomeAssembly.HG19));
}