switch (geneTraitAssociation.getSource().toLowerCase()) { case "hpo": traits.add("HP" + FIELD_SEP + geneTraitAssociation.getHpo() + FIELD_SEP + geneTraitAssociation.getId() + " -- " + geneTraitAssociation.getName()); break;
addNotNull(geneTraitName, geneTrait.getName()); addNotNull(geneTraitId, geneTrait.getId()); addNotNull(xrefs, geneTrait.getHpo()); addNotNull(xrefs, geneTrait.getId());
putNotNull(d, GENE_TRAIT_NAME_FIELD, geneTraitAssociation.getName()); putNotNull(d, GENE_TRAIT_SCORE_FIELD, geneTraitAssociation.getScore()); putNotNull(d, GENE_TRAIT_HPO_FIELD, geneTraitAssociation.getHpo()); if (StringUtils.isNotEmpty(geneTraitAssociation.getHpo())) { xrefs.add(convertXrefToStorage(geneTraitAssociation.getHpo(), "hpo"));