Sequence intArray2Sequence(int[] seq,NodeRef node){
  String sSeq="";
  for (int i=0; i < nReplications; i++) {
    if (dataType instanceof Codons) {
      String s=dataType.getTriplet(seq[i]);
      sSeq+=s;
    }
 else {
      String c=dataType.getCode(seq[i]);
      sSeq+=c;
    }
  }
  return new Sequence(tree.getNodeTaxon(node),sSeq);
}

Sequence intArray2Sequence ( int [ ] seq , NodeRef node ) { String sSeq = "" ; for ( int i = 0 ; i < nReplications ; i ++ ) { if ( dataType instanceof Codons ) { String s = dataType . getTriplet ( seq [ i ] ) ; sSeq += s ; } else { String c = dataType . getCode ( seq [ i ] ) ; sSeq += c ; } } return new Sequence ( tree . getNodeTaxon ( node ) , sSeq ) ; }
convert integer representation of sequence into a sequence
