[Bioperl-l] Problem with revcom

Torsten Seemann torsten.seemann at infotech.monash.edu.au
Sun Jul 20 07:03:51 UTC 2014


>
> $rc  = Bio::Seq->new( -seq => $hsp->hit_string )->revcom->seq;
>

Would this do the same thing?

$rc = $hsp->hit->revcom->seq

ie. I think the hit() method returns a Seq object, so no need to convert
between strings?

--Torsten Seemann
--Victorian Bioinformatics Consortium, Dept. Microbiology, Monash
University, AUSTRALIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/bioperl-l/attachments/20140720/a8f44405/attachment.html>


More information about the Bioperl-l mailing list