[ensembl-dev] forward/backward strands

mag mr6 at ebi.ac.uk
Mon Jul 3 08:40:52 BST 2017


Dear Mahmood,

Gene objects have a strand method
http://www.ensembl.org/info/docs/Doxygen/core-api/classBio_1_1EnsEMBL_1_1Feature.html#a5d303af70a7c8429e9eb7d66b5065f47


Hope that helps,
Magali

On 02/07/2017 18:45, Mahmood Naderan wrote:
> Hello,
> I use
>   my @genes = @{ $gene_adaptor->fetch_all_by_external_name("SYN2") };
>   my $gene  = @genes[0];
>
> to get the sequence. How can I check if the gene is forward or 
> backward strand? I see BaseAlignFeature::strands_reversed but I can 
> not call it with gene->
>
> Is there any example for that?
>
> Regards,
> Mahmood
>
>
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20170703/25be9b2e/attachment.html>


More information about the Dev mailing list