*/
package jalview.commands;
+import jalview.analysis.AlignSeq;
import jalview.datamodel.AlignmentAnnotation;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.Annotation;
import jalview.datamodel.Sequence;
import jalview.datamodel.SequenceFeature;
import jalview.datamodel.SequenceI;
+import jalview.schemes.ResidueProperties;
+import jalview.util.Comparison;
import jalview.util.ReverseListIterator;
import jalview.util.StringUtils;
tmp.insert(command.position, command.string[i]);
for (int s = 0; s < command.string[i].length; s++)
{
- if (jalview.schemes.ResidueProperties.aaIndex[command.string[i][s]] != 23)
+ if (ResidueProperties.aaIndex[command.string[i][s]] != 23)
{
if (!newDSNeeded)
{
// make a new DS sequence
// use new ds mechanism here
ds = new Sequence(command.seqs[i].getName(),
- jalview.analysis.AlignSeq.extractGaps(
- jalview.util.Comparison.GapChars,
+ AlignSeq.extractGaps(
+ Comparison.GapChars,
command.seqs[i].getSequenceAsString()),
command.seqs[i].getStart(), command.seqs[i].getEnd());
ds.setDescription(command.seqs[i].getDescription());
oldstring = command.seqs[i].getSequenceAsString();
tmp = new StringBuffer(oldstring.substring(0, start));
tmp.append(command.string[i]);
- String nogaprep = jalview.analysis.AlignSeq.extractGaps(
- jalview.util.Comparison.GapChars, new String(
+ String nogaprep = AlignSeq.extractGaps(
+ Comparison.GapChars, new String(
command.string[i]));
int ipos = command.seqs[i].findPosition(start)
- command.seqs[i].getStart();
tmp.append(oldstring.substring(end));
command.seqs[i].setSequence(tmp.toString());
command.string[i] = oldstring.substring(start, end).toCharArray();
- String nogapold = jalview.analysis.AlignSeq.extractGaps(
- jalview.util.Comparison.GapChars, new String(
+ String nogapold = AlignSeq.extractGaps(
+ Comparison.GapChars, new String(
command.string[i]));
if (!nogaprep.toLowerCase().equals(nogapold.toLowerCase()))
{