Re: Introducing a mutation in a DNA sequence

Jose Manuel Duarte <[email protected]> Mon, 30 Mar 2015 10:30:58 +0200
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
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?
>
>
> _______________________________________________
> Biojava-l mailing list  -  [email protected]
> http://mailman.open-bio.org/mailman/listinfo/biojava-l

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