* The number of families to read before saving.
* @throws IOException
*/
- public void runToEnd(boolean keepRawData, boolean forClans)
+ public void runToEnd(int minCount, int maxCount, boolean keepRawData,
+ boolean forClans)
throws IOException
{
keepRaw = keepRawData;
readHMM(inputHMM);
int count = countValidResidues();
- processData(count);
+ if (count >= minCount && count < maxCount)
+ {
+ processData(count);
+ }
filesRead++;
System.out.println(filesRead);
endReached = atEnd(inputSTO);
{
char symbol;
int alignPos;
- alignPos = hmm.getNodeAlignmentColumn(length);
+ alignPos = hmm.getNodeMapPosition(length);
symbol = sequences.get(width).getCharAt(alignPos);
if (ResidueProperties.backgroundFrequencies.get("amino")
{
char symbol;
int alignPos;
- alignPos = hmm.getNodeAlignmentColumn(length);
+ alignPos = hmm.getNodeMapPosition(length);
symbol = sequences.get(width).getCharAt(alignPos);
if (ResidueProperties.backgroundFrequencies.get("amino")