case "hpo": traits.add("HP" + FIELD_SEP + geneTraitAssociation.getHpo() + FIELD_SEP + geneTraitAssociation.getId() + " -- " + geneTraitAssociation.getName()); break;
if (variant.getAnnotation().getGeneTraitAssociation() != null) { for (GeneTraitAssociation geneTrait : variant.getAnnotation().getGeneTraitAssociation()) { ids.add(geneTrait.getId()); names.add(geneTrait.getName()); if (StringUtils.isNotEmpty(geneTrait.getHpo())) {
if (geneTraitAssociation != null) { Document d = new Document(); putNotNull(d, GENE_TRAIT_ID_FIELD, geneTraitAssociation.getId()); putNotNull(d, GENE_TRAIT_NAME_FIELD, geneTraitAssociation.getName()); putNotNull(d, GENE_TRAIT_SCORE_FIELD, geneTraitAssociation.getScore());