code: public static void insertSeqResGroup(Chain chain, Group group, int sequenceIndexId) {
  		List<Group> seqResGroups = chain.getSeqResGroups();
  		addGroupAtId(seqResGroups, group, sequenceIndexId);
  	}
docs: Insert the group in the given position in the sequence.
  @param chain the chain to add the seq res group to
  @param group the group to add
  @param sequenceIndexId the index to add it in