+ if (alignFile == null)
+ {
+ prepareFileReader(file, sourceType, fileFormat);
+ }
+ else
+ {
+ alignFile.parse();
+ }
+ return buildAlignmentFromFile();
+ }
+
+ public void prepareFileReader(String file, DataSourceType sourceType,
+ FileFormatI fileFormat) throws IOException
+ {