[ensembl-dev] [SPAM] - Re: Transcript variation alleles - Email found in subject

Will McLaren wm2 at ebi.ac.uk
Wed Feb 2 15:41:14 GMT 2011


There is no direct method to do this (if I'm following you exactly).

If the transcript is on the same strand as the variation_feature (use
$vf->seq_region_strand and $transcript->seq_region_strand), then the
transcript alleles will be the same; if they are different, then you will
need to reverse complement the alleles:

use Bio::EnsEMBL::Utils::Sequence qw(reverse_comp);
my $new_allele_string;

foreach my $allele(split /\//, $vf->allele_string) {
  reverse_comp($allele);
  $new_allele_string .= $allele.'/';
}

$new_allele_string =~ s/\/$//;

We can add this functionality as $vf->transfer() if people would find it
useful.

Will

On 2 February 2011 15:27, Oliver, Gavin <gavin.oliver at almacgroup.com> wrote:

>  How would I go about pulling the transcriptomic one?
>
>
>  ------------------------------
>
> *From:* wmclaren at gmail.com [mailto:wmclaren at gmail.com] *On Behalf Of *Will
> McLaren
> *Sent:* 02 February 2011 15:27
> *To:* Oliver, Gavin
> *Cc:* Graham Ritchie; dev at ensembl.org
> *Subject:* Re: [SPAM] - Re: [ensembl-dev] Transcript variation alleles -
> Email found in subject
>
>
>
> In this case, as Graham says, the alleles will be the genomic alleles,
> since you are calling from a variation_feature object.
>
>
>
> Will
>
> On 2 February 2011 15:21, Oliver, Gavin <gavin.oliver at almacgroup.com>
> wrote:
>
> I’m using transcriptvariation->variation_feature->allele_string
>
>
>  ------------------------------
>
> *From:* wmclaren at gmail.com [mailto:wmclaren at gmail.com] *On Behalf Of *Will
> McLaren
> *Sent:* 02 February 2011 15:20
> *To:* Graham Ritchie
> *Cc:* Oliver, Gavin; dev at ensembl.org
> *Subject:* [SPAM] - Re: [ensembl-dev] Transcript variation alleles - Email
> found in subject
>
>
>
> Hi Gavin,
>
>
>
> What method and object type are you using to get the alleles? It's not
> clear from your email.
>
>
>
> Thanks
>
>
>
> Will
>
> On 2 February 2011 15:11, Graham Ritchie <grsr at ebi.ac.uk> wrote:
>
> Hi Gavin,
>
> The alleles of a transcript variation always represent the genomic base
> change.
>
> Cheers,
>
> Graham
>
> Ensembl variation
>
>
>
> On 2 Feb 2011, at 15:02, Oliver, Gavin wrote:
>
> > Hi,
> >
> > When I pull transcript variation alleles via the API, does the allele
> shown (e.g. A/T) represent the genomic base change, or the transcriptomic
> one?
> >
> > Gavin
> >
> >
> > The contents of this message and any attachments to it are confidential
> and may be legally privileged. If you have received this message in error,
> you should delete it from your system immediately and advise the sender.
> >
> > Almac Group (UK) Limited, registered no. NI061368.  Almac Sciences
> Limited, registered no. NI041550. Almac Discovery Limited, registered no.
> NI046249.  Almac Pharma Services Limited, registered no. NI045055.  Almac
> Clinical Services Limited, registered no. NI041905.  Almac Clinical
> Technologies Limited, registered no. NI061202.  Almac Diagnostics Limited,
> registered no. NI043067.  All preceding companies are registered in Northern
> Ireland with a registered office address of Almac House, 20 Seagoe
> Industrial Estate, Craigavon, BT63 5QD, UK.
> >
> > Almac Sciences (Scotland) Limited, registered in Scotland no. SC154034.
> >
> > Almac Clinical Services LLC, Almac Clinical Technologies LLC, Almac
> Diagnostics LLC, Almac Pharma Services LLC and Almac Sciences LLC are
> Delaware limited liability companies and Almac Group Incorporated is a
> Delaware Corporation.  More information on the Almac Group can be found on
> the Almac website: www.almacgroup.com
>
> > _______________________________________________
> > Dev mailing list
> > Dev at ensembl.org
> > http://lists.ensembl.org/mailman/listinfo/dev
>
>
> _______________________________________________
> Dev mailing list
> Dev at ensembl.org
> http://lists.ensembl.org/mailman/listinfo/dev
>
>
>
> *  *
>
> The contents of this message and any attachments to it are confidential and
> may be legally privileged. If you have received this message in error, you
> should delete it from your system immediately and advise the sender.
>
>
>
> Almac Group (UK) Limited, registered no. NI061368.  Almac Sciences Limited,
> registered no. NI041550.  Almac Discovery Limited, registered no. NI046249.
>  Almac Pharma Services Limited, registered no. NI045055.  Almac Clinical
> Services Limited, registered no. NI041905.  Almac Clinical Technologies
> Limited, registered no. NI061202.  Almac Diagnostics Limited, registered no.
> NI043067.  All preceding companies are registered in Northern Ireland with a
> registered office address of Almac House, 20 Seagoe Industrial Estate,
> Craigavon, BT63 5QD, UK.
>
>
>
> Almac Sciences (Scotland) Limited, registered in Scotland no. SC154034.
>
>
>
> Almac Clinical Services LLC, Almac Clinical Technologies LLC, Almac
> Diagnostics LLC, Almac Pharma Services LLC and Almac Sciences LLC are
> Delaware limited liability companies and Almac Group Incorporated is a
> Delaware Corporation.  More information on the Almac Group can be found on
> the Almac website: www.almacgroup.com
>
>
>
> *  *
>
> The contents of this message and any attachments to it are confidential and
> may be legally privileged. If you have received this message in error, you
> should delete it from your system immediately and advise the sender.
>
>
>
> Almac Group (UK) Limited, registered no. NI061368.  Almac Sciences
> Limited, registered no. NI041550.  Almac Discovery Limited, registered no.
> NI046249.  Almac Pharma Services Limited, registered no. NI045055.  Almac
> Clinical Services Limited, registered no. NI041905.  Almac Clinical
> Technologies Limited, registered no. NI061202.  Almac Diagnostics Limited,
> registered no. NI043067.  All preceding companies are registered in
> Northern Ireland with a registered office address of Almac House, 20 Seagoe
> Industrial Estate, Craigavon, BT63 5QD, UK.
>
>
>
> Almac Sciences (Scotland) Limited, registered in Scotland no. SC154034.
>
>
>
> Almac Clinical Services LLC, Almac Clinical Technologies LLC, Almac
> Diagnostics LLC, Almac Pharma Services LLC and Almac Sciences LLC are
> Delaware limited liability companies and Almac Group Incorporated is a
> Delaware Corporation.  More information on the Almac Group can be found on
> the Almac website: www.almacgroup.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20110202/38d323dd/attachment.html>


More information about the Dev mailing list