[Biojava-l] Re: [BioSQL-l] How to add a feature?
Martina
boehme at mpiib-berlin.mpg.de
Thu Jun 2 09:03:30 EDT 2005
Thanks Marc,
but I don't know how to make a feature persistent in Biojava. Maybe
someone from the bioJava list can help me?
Martina
Marc Logghe wrote:
> Hi Martina,
> I don't know how it goes in BioJava but in BioPerl the flow looks like
> this:
> 1) create your feature
> 2) make it persistent
> 3) add it to your (persistent) sequence object
> 4) store the sequence object in the databse
> 5) commit if necessary
>
> HTH,
> Marc
>
>
>>I'm wondering how to add a feature to a given sequence?
>>I know, I can use createFeature, but that changes nothing in
>>the database, that does addSequence. So is the proper way to
>>retrieve the seq., get all its features, copy it to new seq
>>and add a feature, delete the seq in the database and store
>>the new one?
>>There must be a simpler way? BioJava In Anger is rather
>>sparse on things like that, I could do with a lot more examples ..
>>
>>Martina
>>_______________________________________________
>>BioSQL-l mailing list
>>BioSQL-l at open-bio.org
>>http://open-bio.org/mailman/listinfo/biosql-l
>
>
More information about the Biojava-l
mailing list