isNegative = fields[STRAND_COLUMN].equals("-");
}
if (nTokens > NAME_COLUMN) {
name = fields[NAME_COLUMN];
}
return new DotAlignedAlignment(chr, start, end, isNegative, name);
} else {
boolean isNegative = fields[STRAND_COLUMN].equals("-");
return new DotAlignedAlignment(chr, start, end, isNegative);
}
} catch (NumberFormatException e) {
System.out.println("Skipping line: " + nextLine);
return null;
}