X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FAMSAFile.java;h=34eace418f27ed7921c20679d6e73fbe995a35e7;hb=refs%2Fheads%2Ffeatures%2Fr2_11_2_alphafold%2FJAL-2349_JAL-3855;hp=8614a7f9e95d1a88bdf150bdaf41f34c374674f6;hpb=838e4f91d4a53dd315640dbc9ff6ef7a815ee576;p=jalview.git diff --git a/src/jalview/io/AMSAFile.java b/src/jalview/io/AMSAFile.java index 8614a7f..34eace4 100644 --- a/src/jalview/io/AMSAFile.java +++ b/src/jalview/io/AMSAFile.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1) - * Copyright (C) 2015 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. * @@ -22,6 +22,9 @@ package jalview.io; import jalview.datamodel.AlignmentAnnotation; import jalview.datamodel.AlignmentI; +import jalview.datamodel.SequenceI; + +import java.io.IOException; public class AMSAFile extends jalview.io.FastaFile { @@ -36,14 +39,26 @@ public class AMSAFile extends jalview.io.FastaFile this.al = al; } + public AMSAFile(String inFile, DataSourceType sourceType) + throws IOException + { + super(inFile, sourceType); + } + + public AMSAFile(FileParse source) throws IOException + { + super(source); + } + /** * DOCUMENT ME! * * @return DOCUMENT ME! */ - public String print() + @Override + public String print(SequenceI[] sqs, boolean jvsuffix) { - super.print(getSeqsAsArray()); + super.print(sqs, jvsuffix); AlignmentAnnotation aa; if (al.getAlignmentAnnotation() != null)