SnpEffSummarySerialiser { @NotNull public static List<String> worstDetails(@NotNull final SnpEffSummary summary) { return Lists.newArrayList(summary.worstGene(), summary.worstTranscript(), writeEffect(summary.worstEffect()), summary.worstCodingEffect().toString(), String.valueOf(summary.genesAffected())); }  @NotNull static SnpEffSummary fromDetails(@NotNull final List<String> worst, @NotNull final List<String> canonical); @NotNull static List<String> worstDetails(@NotNull final SnpEffSummary summary); @NotNull static List<String> canonicalDetails(@NotNull final SnpEffSummary summary);  }
@Test public void testEffect() { SnpEffSummary random = createRandom(new Random()).worstEffect("multiple effects; with spaces").build(); List<String> worst = SnpEffSummarySerialiser.worstDetails(random); assertEquals("multiple_effects&with_spaces", worst.get(2)); }