*/
public void setSequence(String sequence)
{
- this.sequence = sequence;
+ // remove spaces introduced by unmarshalling of newline characters
+ this.sequence = sequence.replace(" ", "");
}
}
+ "<xref db=\"GOA\" id=\"P00340\" secondaryId=\"2.1\" /><xref db=\"InterPro\" id=\"IPR001236\" />"
+ "<qualifier name=\"note\"><value>L-lactate dehydrogenase A-chain</value><value>pickle</value></qualifier>"
+ "<qualifier name=\"translation\"><value>MSLKDHLIHN</value><evidence>Keith</evidence></qualifier>"
- + "</feature>" + "<sequence>GTGACG</sequence></entry></ROOT>";
+ // emulate EMBL XML 1.2 which splits sequence data every 60 characters
+ // see EmblSequence.setSequence
+ + "</feature>" + "<sequence>GTG\nACG</sequence></entry></ROOT>";
static EmblFile getEmblFile()
{