[Biopython-dev] [Biopython] SeqRecord reverse complement method?

Jose Blanca jblanca at btc.upv.es
Tue Jun 15 09:23:27 UTC 2010


On Tuesday 15 June 2010 11:08:14 Peter wrote:
> On Tue, Jun 15, 2010 at 6:55 AM, Jose Blanca <jblanca at btc.upv.es> wrote:
> > Having a reverse_complement method would be useful for us. But it could
> > be quite tricky to reverse complement some features. For instance we have
> > SNP features that include a reference nucleotide. We would had to
> > complement that nucleotide too.
>
> Could you give an example? I assume you are talking about the annotation
> of the feature (i.e. the qualifiers dictionary of a SeqFeature object).

That is right in some instances the qualifiers should be modified. For 
instance if we have an ORF with a qualifier 'forward':True, it should be 
changed. I don't think this change can be done automatically .


-- 
Jose M. Blanca Postigo
Instituto Universitario de Conservacion y
Mejora de la Agrodiversidad Valenciana (COMAV)
Universidad Politecnica de Valencia (UPV)
Edificio CPI (Ciudad Politecnica de la Innovacion), 8E
46022 Valencia (SPAIN)
Tlf.:+34-96-3877000 (ext 88473)



More information about the Biopython-dev mailing list