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

Oliver, Gavin gavin.oliver at almacgroup.com
Wed Feb 2 16:10:48 GMT 2011


Ok...

 

So as it stands the alleles I am returning are genomic and called via
variation features.  Are they always relative to the forward strand?

 

 

________________________________

From: wmclaren at gmail.com [mailto:wmclaren at gmail.com] On Behalf Of Will
McLaren
Sent: 02 February 2011 16:04
To: Oliver, Gavin
Cc: Graham Ritchie; dev at ensembl.org
Subject: [SPAM] - Re: [SPAM] - Re: [SPAM] - Re: [ensembl-dev] Transcript
variation alleles - Email found in subject - Email found in subject -
Email found in subject

 

Well yes, of course it depends on what you mean!

 

A transcript object in Ensembl represents the region of the genome that
generates the cDNA, not the mRNA itself - this is the only thing that
we'd be able to transfer the variation_feature object to, as I don't
think there is an Ensembl object representing the mRNA.

 

Will

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

P.S.

 

Should it not be the other way around?

 

i.e. if the transcript originates from the same strand as the variation
feature then the alleles will be different?  As the transcript will be
the reverse complement of the strand it originated on?

 

Or have I tied my head in a knot?

 

 

 

________________________________

From: wmclaren at gmail.com [mailto:wmclaren at gmail.com] On Behalf Of Will
McLaren
Sent: 02 February 2011 15:41
To: Oliver, Gavin
Cc: Graham Ritchie; dev at ensembl.org
Subject: [SPAM] - Re: [SPAM] - Re: [ensembl-dev] Transcript variation
alleles - Email found in subject - Email found in subject

 

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

 

________________________________


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/481769d4/attachment.html>


More information about the Dev mailing list