- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
- * Parser and exporter for PHYLIP file format, as defined <a
- * href="http://evolution.genetics.washington.edu/phylip/doc/main.html">in the
- * documentation</a>. The parser imports PHYLIP files in both sequential and
+ * Parser and exporter for PHYLIP file format, as defined
+ * <a href="http://evolution.genetics.washington.edu/phylip/doc/main.html">in
+ * the documentation</a>. The parser imports PHYLIP files in both sequential and
* interleaved format, and (currently) exports in interleaved format (using 60
* characters per matrix for the sequence).
* <p>
* interleaved format, and (currently) exports in interleaved format (using 60
* characters per matrix for the sequence).
* <p>
* The following assumptions have been made for input
* <ul>
* <li>Sequences are expressed as letters, not real numbers with decimal points
* The following assumptions have been made for input
* <ul>
* <li>Sequences are expressed as letters, not real numbers with decimal points
- int numberSpecies = Integer.parseInt(lineElements[0]), numberCharacters = Integer
- .parseInt(lineElements[1]);
+ int numberSpecies = Integer.parseInt(lineElements[0]),
+ numberCharacters = Integer.parseInt(lineElements[1]);
- sequenceElements[i] = parseId(validateName(potentialName
- .substring(0, tabIndex)));
+ sequenceElements[i] = parseId(
+ validateName(potentialName.substring(0, tabIndex)));
// interleaved breaks the sequence into chunks for
// interleavedColumns characters
sb.append(s.getSequence(0,
// interleaved breaks the sequence into chunks for
// interleavedColumns characters
sb.append(s.getSequence(0,
- sb.append(
- s.getSequence(start, Math.min(start
- + numInterleavedColumns, sequenceLength)))
+ sb.append(s.getSequence(start,
+ Math.min(start + numInterleavedColumns, sequenceLength)))