void getPolymerSequenceAtoms(int iModel, int iPolymer, int group1, int nGroups, BitSet bsInclude, BitSet bsResult) {
		Polymer polymer = frame.mmset.getModel(iModel).getPolymer(iPolymer);
		int monomerCount = polymer.monomerCount;
		int max = group1 + nGroups;
		for (int i = group1; i < monomerCount && i < max; i++) {
			int jfirst = polymer.monomers[i].firstAtomIndex;
			int jlast = polymer.monomers[i].lastAtomIndex;
			for (int j = jfirst; j <= jlast; j++)
				if (bsInclude.get(j))
					bsResult.set(j);
		}
	}