sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot1", vs.getId(),
new ObjectMap("NAME", "s_1").append("AGE", 6).append("ALIVE", true).append("PHEN", "CONTROL"))));
s_1 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot1", vs.getId(),
new ObjectMap("NAME", "s_2").append("AGE", 10).append("ALIVE", false).append("PHEN", "CASE"))));
s_2 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot1", vs.getId(),
new ObjectMap("NAME", "s_3").append("AGE", 15).append("ALIVE", true).append("PHEN", "CONTROL"))));
s_3 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot1", vs.getId(),
new ObjectMap("NAME", "s_4").append("AGE", 22).append("ALIVE", false).append("PHEN", "CONTROL"))));
s_4 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot1", vs.getId(),
new ObjectMap("NAME", "s_5").append("AGE", 29).append("ALIVE", true).append("PHEN", "CASE"))));
s_5 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot2", vs.getId(),
new ObjectMap("NAME", "s_6").append("AGE", 38).append("ALIVE", true).append("PHEN", "CONTROL"))));
s_6 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot2", vs.getId(),
new ObjectMap("NAME", "s_7").append("AGE", 46).append("ALIVE", false).append("PHEN", "CASE"))));
s_7 = catalogManager.getSampleManager().create(studyFqn, sample, new QueryOptions(), sessionIdUser).first().getId();
sample.setAnnotationSets(Collections.singletonList(new AnnotationSet("annot2", vs.getId(),