use of io.repseq.core.VDJCLibrary in project repseqio by repseqio.
the class VDJCGenesTest method serializationDeserializationTest.
@Test
public void serializationDeserializationTest() throws Exception {
VDJCLibrary library = VDJCLibraryRegistry.getDefaultLibrary("hs");
VDJCGene v = library.getSafe("TRBV12-3*00");
VDJCGene d = library.getSafe("TRBD1*00");
VDJCGene j = library.getSafe("TRBJ1-2*00");
VDJCGene c = library.getSafe("TRBC1*00");
TestUtil.assertJson(new VDJCGenes(v, d, j, c));
TestUtil.assertJson(new VDJCGenes(v, null, j, c));
}
Aggregations