public AnnotationConverterConfig() { // always exclude negative, Intra-molecular and modelled addExcludeAnnotationTopic(new CvTopic(InteractionConverter.NEGATIVE)); addExcludeAnnotationTopic(new CvTopic(InteractionConverter.INTRA_MOLECULAR)); addExcludeAnnotationTopic(new CvTopic(InteractionConverter.MODELLED)); }
public Annotation psiToIntact(Attribute psiObject) { psiStartConversion(psiObject); CvTopic cvTopic = new CvTopic(getInstitution(), psiObject.getName()); // all name Acs should be from psi mi controlled vocabularies if (psiObject.getNameAc() != null) { cvTopic.setIdentifier(psiObject.getNameAc()); psiMiPopulator.populateWithPsiMi(cvTopic, psiObject.getNameAc()); } Annotation annotation = new Annotation(getInstitution(), cvTopic, psiObject.getValue()); psiEndConversion(psiObject); return annotation; }
CvTopic cvAddress = new CvTopic("postaladdress");
CvTopic cvAddress = new CvTopic("postaladdress");