*/
package jalview.io;
-import jalview.datamodel.Alignment;
import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceI;
seqs.add(sequenceElements[i]);
}
- // create an alignment based on the sequences
- Alignment a = new Alignment(sequenceElements);
- // add annotations - although comments say addAnnotations
- // is used by AppletFormatAdapter, it doesn't say other
- // classes should/can not use it
- addAnnotations(a);
-
} catch (IOException e)
{
System.err.println("Exception parsing PHYLIP file " + e);