&& CollectionUtils.isNotEmpty(variantAnnotation.getGeneTraitAssociation())) { for (GeneTraitAssociation geneTraitAssociation : variantAnnotation.getGeneTraitAssociation()) { switch (geneTraitAssociation.getSource().toLowerCase()) { case "hpo": traits.add("HP" + FIELD_SEP + geneTraitAssociation.getHpo() + FIELD_SEP
putNotNull(d, GENE_TRAIT_TYPES_FIELD, geneTraitAssociation.getAssociationTypes()); putNotNull(d, GENE_TRAIT_SOURCES_FIELD, geneTraitAssociation.getSources()); putNotNull(d, GENE_TRAIT_SOURCE_FIELD, geneTraitAssociation.getSource());