/** * String representation of the MSA * @return String */ @Override public String toString() { return toString(getLength(), null, null, false, false, false, false); }
/** * String representation of the MSA * @return String */ @Override public String toString() { return toString(getLength(), null, null, false, false, false, false); }
String aligIndFormat = "%-" + Math.max(1, width / 2) + "d %" + Math.max(1, width - (width / 2) - 1) + "d%n"; for (int i = 0; i < getLength(); i += width) { int start = i + 1, end = Math.min(getLength(), i + width); if (i > 0) { s.append(String.format("%n")); s.append(String.format(idFormat, as.getAccession())); for (int i = 0; i < getLength(); i += width) { int start = i + 1, end = Math.min(getLength(), i + width); s.append(as.getSubSequence(start, end).getSequenceAsString()); s.append(String.format("%n"));
String aligIndFormat = "%-" + Math.max(1, width / 2) + "d %" + Math.max(1, width - (width / 2) - 1) + "d%n"; for (int i = 0; i < getLength(); i += width) { int start = i + 1, end = Math.min(getLength(), i + width); if (i > 0) { s.append(String.format("%n")); s.append(String.format(idFormat, as.getAccession())); for (int i = 0; i < getLength(); i += width) { int start = i + 1, end = Math.min(getLength(), i + width); s.append(as.getSubSequence(start, end).getSequenceAsString()); s.append(String.format("%n"));
int end = msa.getLength(); int loopcount = 0;
int end = msa.getLength(); int loopcount = 0;
int end = msa.getLength(); int loopcount = 0;