<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jonas<br>
<br>
I'm not very familiar with the sequence part of Biojava, but after
looking around a bit it seems that indeed there's no available way
to mutate sequences. It looks like people using Biojava before had
"read-only" applications in mind. I agree a setCompoundAt(int
position) would be needed, it should actually be part of the
Sequence interface. It would be a nice addition for 4.1.<br>
<br>
Anyway sorry I can't be of more help, perhaps someone else has some
more background info on this.<br>
<br>
Jose<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 28.03.2015 17:13, Jonas Dehairs
wrote:<br>
</div>
<blockquote
cite="mid:CAO+PtKerU6yiX8Knd-hP30S1bT7x4ZOMHa-fvE9cQT4kzykU2Q@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div dir="ltr">
<div>I want to introduce a mutation to a DNA sequence at a
particular location.<br>
</div>
I can't seem to find a suitable method for this in the 4.0 API.
What would make most sense to me is a setCompoundAt (int
position, c compound) method in the AbstractSequence class,
similar to the getCompoundAt(int position) method, but this
doesn't seem to exist. And the mutator class seems to be for
proteins only. How can I do this?<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Biojava-l mailing list - <a class="moz-txt-link-abbreviated" href="mailto:Biojava-l@mailman.open-bio.org">Biojava-l@mailman.open-bio.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.open-bio.org/mailman/listinfo/biojava-l">http://mailman.open-bio.org/mailman/listinfo/biojava-l</a></pre>
</blockquote>
<br>
</body>
</html>