{
e3.printStackTrace();
}
- RNA trim = trimRNA(rna1);
+ RNA trim = trimRNA(rna1, "trimmed "+sname);
rnaList.add(trim);
rnaList.add(rna1);
rnas.put(seq, rna1);
vab = new AppVarnaBinding(rnaList);
// vab = new AppVarnaBinding(seq,struc);
// System.out.println("Hallo: "+name);
- this.name = name;
+ this.name = sname+" trimmed to "+name;
initVarna();
ssm = ap.getStructureSelectionManager();
ssm.addStructureViewerListener(this);
return newStr;
}
- public RNA trimRNA(RNA rna)
+ public RNA trimRNA(RNA rna, String name)
{
ShiftList offset = new ShiftList();
- RNA rnaTrim = new RNA("trim_" + rna.getName());
+ RNA rnaTrim = new RNA(name);
try
{
rnaTrim.setRNA(rna.getSeq(), replaceOddGaps(rna.getStructDBN()));