import jalview.datamodel.SequenceI;
import jalview.gui.AlignFrame;
import jalview.gui.IProgressIndicator;
+import jalview.schemes.ResidueProperties;
import jalview.workers.AlignCalcWorker;
import jalview.ws.jws2.dm.AAConSettings;
import jalview.ws.jws2.dm.JabaWsParamSet;
protected boolean submitGaps = true;
/**
+ * by default, we filter out non-standard residues before submission
+ */
+ private boolean filterNonStandardResidues = true;
+
+ /**
* Recover any existing parameters for this service
*/
protected void initViewportParams()
}
for (int apos : sq.gapMap())
{
- gapMap[apos] = true; // aligned.
+ if (!filterNonStandardResidues
+ || ResidueProperties.aaIndex[sq.getCharAt(apos)] < 20)
+ {
+ gapMap[apos] = true; // aligned and real amino acid residue
+ }
+ ;
}
}
else