public ClustalFile()
{
+ _initHeader();
}
public ClustalFile(String inFile, DataSourceType sourceType)
throws IOException
{
super(inFile, sourceType);
+ _initHeader();
}
public ClustalFile(FileParse source) throws IOException
{
super(source);
+ _initHeader();
+ }
+
+ private void _initHeader()
+ {
+ try {
+ clustalHeader = jalview.bin.Cache.getDefault("CLUSTAL_HEADER","CLUSTAL");
+ } catch (Error e) {};
+
}
@Override
}
}
}
-
+ /**
+ * clustal header - customise if needed
+ */
+ public String clustalHeader = "CLUSTAL";
+
@Override
public String print(SequenceI[] s, boolean jvsuffix)
{
- StringBuffer out = new StringBuffer("CLUSTAL" + newline + newline);
+ StringBuffer out = new StringBuffer(clustalHeader + newline + newline);
int max = 0;
int maxid = 0;