\r
if(command.string!=null && command.string[i]!=null)\r
{\r
+ if(command.position>=tmp.length())\r
+ {\r
+ //This occurs if padding is on, and residues\r
+ //are removed from end of alignment\r
+ int length = command.position-tmp.length();\r
+ while (length > 0)\r
+ {\r
+ tmp.append(command.gapChar);\r
+ length--;\r
+ }\r
+ }\r
tmp.insert(command.position, command.string[i]);\r
command.string[i] = null;\r
}\r
int number,\r
AlignmentI al)\r
{\r
+ this.gapChar = al.getGapCharacter();\r
this.command = command;\r
this.seqs = seqs;\r
this.position = position;\r