// try to parse as annotation.
boolean isAnnotation = (format == null || format
.equalsIgnoreCase("PFAM")) ? new AnnotationFile()
- .readAnnotationFile(viewport.getAlignment(), file, protocol)
+ .annotateAlignmentView(viewport, file, protocol)
: false;
if (!isAnnotation)