/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2b1)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*/
package jalview.jbgui;
-import jalview.datamodel.Alignment;
+import jalview.analysis.AlignSeq;
+import jalview.datamodel.AlignmentI;
import jalview.io.FormatAdapter;
+import jalview.util.Comparison;
import jalview.util.MessageManager;
import java.awt.BorderLayout;
public void run()
{
String str = textfield.getText();
- Alignment al = null;
+ AlignmentI al = null;
try
{
al = new FormatAdapter().readFile(str, "Paste", "FASTA");
}
if (al != null && al.getHeight() > 0)
{
- str = jalview.analysis.AlignSeq.extractGaps(
- jalview.util.Comparison.GapChars, al.getSequenceAt(0)
+ str = AlignSeq.extractGaps(
+ Comparison.GapChars, al.getSequenceAt(0)
.getSequenceAsString());
textfield.setText(str);