[Biojava-l] Introducing a mutation in a DNA sequence

LAW Andy andy.law at roslin.ed.ac.uk
Mon Mar 30 09:01:27 UTC 2015


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 <jose.duarte at psi.ch> 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.




More information about the Biojava-l mailing list