int newBegin = Math.min(mappedTo[0], mappedTo[1]);
int newEnd = Math.max(mappedTo[0], mappedTo[1]);
SequenceFeature copy = new SequenceFeature(sf, newBegin, newEnd,
- sf.getFeatureGroup());
+ sf.getFeatureGroup(), sf.getScore());
copyTo.addSequenceFeature(copy);
count++;
}
String trans3Char = StringUtils
.toSentenceCase(ResidueProperties.aa2Triplet.get(trans));
String desc = "p." + residue3Char + peptidePos + trans3Char;
- // set score to 0f so 'graduated colour' option is offered! JAL-2060
SequenceFeature sf = new SequenceFeature(
SequenceOntologyI.SEQUENCE_VARIANT, desc, peptidePos,
- peptidePos, 0f, var.getSource());
+ peptidePos, var.getSource());
StringBuilder attributes = new StringBuilder(32);
String id = (String) var.variant.getValue(ID);
if (id != null)