vamsasSeq.setId(id + "");\r
vamsasSeq.setName(jal.getSequenceAt(i).getName());\r
vamsasSeq.setSequence(jal.getSequenceAt(i).getSequence());\r
+ vamsasSeq.setDescription(jal.getSequenceAt(i).getDescription());\r
\r
jseq = new JSeq();\r
jseq.setStart(jal.getSequenceAt(i).getStart());\r
features.setDescription(sf.getDescription());\r
features.setStatus(sf.getStatus());\r
features.setType(sf.getType());\r
+ features.setFeatureGroup(sf.getFeatureGroup());\r
jseq.addFeatures(features);\r
}\r
}\r
Annotation an = new Annotation();\r
an.setDescription(aa[i].description);\r
if(aa[i].graph>0)\r
+ {\r
an.setGraph(true);\r
-\r
+ an.setGraphType(aa[i].graph);\r
+ }\r
an.setLabel(aa[i].label);\r
\r
AnnotationElement ae;\r
{\r
jseqs[i] = new jalview.datamodel.Sequence(vamsasSeq[i].getName(),\r
vamsasSeq[i].getSequence());\r
+ jseqs[i].setDescription( vamsasSeq[i].getDescription() );\r
\r
jseqs[i].setStart(JSEQ[i].getStart());\r
jseqs[i].setEnd(JSEQ[i].getEnd());\r
= new jalview.datamodel.SequenceFeature(features[f].getType(),\r
features[f].getDescription(), features[f].getStatus(),\r
features[f].getBegin(), features[f].getEnd());\r
+ sf.setFeatureGroup(features[f].getFeatureGroup());\r
al.getSequenceAt(i).getDatasetSequence().addSequenceFeature(sf);\r
}\r
}\r
{\r
jaa = new jalview.datamodel.AlignmentAnnotation(an[i].getLabel(),\r
an[i].getDescription(), anot, 0, 0,\r
- jalview.datamodel.AlignmentAnnotation.BAR_GRAPH);\r
+ an[i].getGraphType());\r
}\r
else\r
{\r
\r
if (view.getShowSequenceFeatures())\r
{\r
- af.featureSettings.setEnabled(true);\r
af.viewport.showSequenceFeatures = true;\r
- af.sequenceFeatures.setSelected(true);\r
+ af.showSeqFeatures.setSelected(true);\r
}\r
\r
if(jms.getFeatureSettings()!=null)\r