if (seq=="")
return null;
int nstart = findPosition(start);
- int nend=findPosition(end-1)-1;
+ int nend=findPosition(end)-1;
// JBPNote - this is an incomplete copy.
SequenceI nseq = new Sequence(this.getName(), seq, nstart, nend);
nseq.setDatasetSequence(getDatasetSequence());
sequence = newSeq.toString();
}
+ public SequenceI getSubSequence(int start)
+ {
+ int e=getLength();
+ if (start>=e)
+ return null;
+ return getSubSequence(start, getLength());
+ }
+
}