if ((end-start)!=Sequence.length())
seq.setEnd(start+Sequence.length());
} else {
- // reverse topology mapping. TODO: decide if allowed to do start>end on Sequence object
+ // reverse topology mapping. TODO: VAMSAS: decide if allowed to do start>end on Sequence object
if ((start-end)!=Sequence.length())
seq.setEnd(end+Sequence.length());
}
public static VAMSAS getDemoVamsas() {
VAMSAS v=new VAMSAS();
DataSet ds = new DataSet();
- ds.addSequence(Sequence("Dummy1","ASDFLEQ",
- seq.setDictionary("info:iubmb.org/aminoacids");
- seq.setName(
- ds.addSequence(seq);
- seq = new Sequence();
- seq.setDictionary("info:iubmb.org/aminoacids");
- seq.setName("Dummy1");
- seq.setSequence("ASDFLEQ");
+ ds.addSequence(Sequence("Dummy1","ASDFLEQ","info:iubmb.org/aminoacids", 5, 11));
complete(ds);
v.addDataSet(ds);
Alignment al = new Alignment();