I think the philosophical view on this is that the mutated sequence is a *new* 
and *different* sequence. 

On 30 Mar 2015, at 09:30, Jose Manuel Duarte <[email protected]> wrote:

> Hi Jonas
> 
> 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.
> 
> Anyway sorry I can't be of more help, perhaps someone else has some more 
> background info on this.
> 
> Jose
> 
> 
> 
> On 28.03.2015 17:13, Jonas Dehairs wrote:
>> I want to introduce a mutation to a DNA sequence at a particular location.
>> 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?
>> 
>> 


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


_______________________________________________
Biojava-l mailing list  -  [email protected]
http://mailman.open-bio.org/mailman/listinfo/biojava-l

Reply via email to