Haiming Wang | 1 Nov 2011 15:16

Re: balloon popups unavailable on gbrowse_img

Include prototype.js and GBox.js will solve the problem.

-Haiming

On Oct 31, 2011, at 1:43 PM, Haiming Wang wrote:

> The AJAX balloon popups won't show up in the gbrowse_img page, for example http://tinyurl.com/64wej4g
> 
> The firebug shows "$ is not defined" on the line 767 in balloon.js.
> var bubble = $('balloon');
> 
> Is any other javascript library needed here.
> 
> Thanks,
> -Haiming
> 
> ------------------------------------------------------------------------------
> Get your Android app more play: Bring it to the BlackBerry PlayBook 
> in minutes. BlackBerry App World™ now supports Android™ Apps 
> for the BlackBerry® PlayBook™. Discover just how easy and simple 
> it is! http://p.sf.net/sfu/android-dev2dev
> _______________________________________________
> Gmod-gbrowse mailing list
> Gmod-gbrowse@...
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
> 

------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
(Continue reading)

Jia LI | 1 Nov 2011 15:42
Picon
Picon
Favicon

Re: GBrowse_syn problem

Problem solved.
It was because in the mysql database, name.name did not correspond to locationlist.seqname, due to wrongly formatted GFF file.

Cheers,
Jia

On 10/31/11, Jia LI <Jia.Li <at> unige.ch> wrote:

Dear all,

I am trying to use GBrowse_syn to display synteny data between two species Agamb and Dmela.
I loaded GFF3 files into MySQL successfully, and the tables for synteny alignment looks fine.
However, when I searched for the landmark, e.g. Agamb "vectorbase|2L:1974042..2120041", the webpage showed "vectorbase|2L not found in Agamb".



If query mysql database:
mysql> select * fro
m Agamb.locationlist where seqname='vectorbase|2L';
+----+
---------------+
| id | seqname       |
+----+
---------------+
|  1 |
vectorbase|2L |
+----+
---------------+

Any idea what the problem is?
Thanks in advance!

--
Jia Li
--
Jia Li
Computational Evolutionary Genomics Group
Dpt de Médecine Génétique et Développement
Université de Genève - Faculté de Médecine
CMU -  Rue Michel-Servet 1
CH 1211 Genève 4
Tel: 41 22 379 50 80
------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Scott Cain | 1 Nov 2011 16:38
Favicon

Re: GBrowse - Chado; too many genes displayed

Hi Hans,

Sorry I took me a while to respond; my travel schedule has been insane.

There are a few things that could cause this bug, and I think I have a fix in any event.  First, you should set "-srcfeatureslice 1" in your database configuration stanza for Chado, since I think forgetting to set it is when this bug shows up, and setting it makes GBrowse run faster.  So please try this and let me know if it fixes the bug.

You can also try installing this newer version of the Chado adaptor (attached) and let me know if that works for you as well.  I'll be releasing it to CPAN shortly.

Thanks,
Scott


On Fri, Oct 21, 2011 at 4:58 AM, Hans Kraus <hans-V6XWkrn/fmtByuSxxbvQtw@public.gmane.org> wrote:
Hi,

I'm new to GBrowse and my task is to install and configure GBrowse 2.39
and Chado/PostgreSQL. A website with GBrowse 1 exists already
<http://www.pichiagenome.org/?name=contig00001%3A2000..3000>,
organism Pichia pastoris DSMZ 70382.

I loaded the identical gff file with 'gmod_bulk_load_gff3.pl'
- sorting it first with 'gmod_gff3_preprocessor.pl' - into Chado and
- after some tweaking of the conf file - got a display.

A big problem remains: all genes of all contigs are displayed in the Details section instead of only those in the selected region. What I'm doing wrong?

Appended are the conf file and a screenshot. Any help is appreciated
very much.

Kind regards,
Hans Kraus

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning <at> Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse-5NWGOfrQmnc@public.gmane.orgurceforge.net
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse




--
------------------------------------------------------------------------
Scott Cain, Ph. D.                                   scott at scottcain dot net
GMOD Coordinator (http://gmod.org/)                     216-392-3087
Ontario Institute for Cancer Research
Attachment (Bio-DB-Das-Chado-0.33.tar.gz): application/x-gzip, 75 KiB
------------------------------------------------------------------------------
RSA&reg; Conference 2012
Save &#36;700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Georg Otto | 1 Nov 2011 19:09
Picon
Picon
Favicon

Re: vcf to gff3

Barry Moore <bmoore@...>
writes:

>
> The VAAST package uses the GVF format (which is valid GFF3 and so
> should load to GBrowse) and there is a tool included with that package
> called vaast_converter which converts VCF to GVF.  I've included a
> copy of that tool as well as a few links below:

Thanks a lot, Barry. This worked. Now I face a different problem,
however. I read the gvf file into the MySQL database, then I display the
data in GBrowse, with this stanza in the configuration file:

[SNPs]
feature = SNP
glyph = dna
point = 1
orient = N
height = 6
bgcolor = blue
fgcolor = blue
key = SNPs

What appears in GBrowse then is always the reference allele
(Reference_seq), however I would like to present the alternative allele
(Variant_seq). Any idea how to achieve this?

Georg

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
Razi Khaja | 1 Nov 2011 19:46
Picon

Re: GBrowse 2.xx | Zoom Levels and the length of my reference sequence

To address this issue,  I created a named subroutine as follows:

    sub getZoomLevels {
        my %state  = %{$_[0]};
        my $seg_max = $state{'seg_max'};
        my <at> zoomLevels = sort{ $a <=> $b }(100, 200, 1000, 2000, 5000, 10000, 20000, 50000, 100000, 200000, 500000, 1000000, $seg_max);
        my $zoomLevels = join(" ", <at> zoomLevels);
        return "$zoomLevels";
    }

I replaced the zoom levels from:

zoom levels = 100 200 1000 2000 5000 10000 20000 50000 100000 200000 500000 1000000

to:

zoom levels = \&getZoomLevels

This did not work! 

I have tested the subroutine by returning its value to the htm1 option to display the results: 100 200 1000 2000 5000 10000 20000 50000 50844 100000 200000 500000 1000000, and can see that the value of seg_max evaluated correctly, so I am confident that the function works as expected.

html1 = \&getZoomLevels displays the correct values

Can anyone see a problem with my solution or offer an explanation as to why this does not work?

Thanks,

Razi



On Thu, Oct 27, 2011 at 4:18 PM, Razi Khaja <razi.khaja-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Currently, I'm using GBrowse2.39.  In my main GBrowse2.conf file, I have the following set for zoom levels:

zoom levels = 100 200 1000 2000 5000 10000 20000 50000 100000 200000 5000000 1000000

Suppose that my reference sequence is of length 50844.  When I view the 'zoom levels' drop down menu, the largest zoom level available to me is 50 kbp.

I'd like to be able to dynamically specify, the largest zoom level to be the length of the genome.  Within the GBrowse2.conf file, is there a way that I might be able to programmatically determine the length of my reference sequence?

Thanks,

Razi 




------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Timothy Parnell | 2 Nov 2011 16:47
Picon
Favicon

split bam alignments and fix

Hi,

A colleague and I noticed an anomaly in some RNA-Seq alignments we were viewing in GBrowse. The non-spliced
alignments are oriented correctly with respect to strand. However, the spliced alignments overlapping
introns always align to the top strand (see the attached picture). When I looked at the individual SAM
lines corresponding to these alignments, they all have the appropriate flags indicating reverse orientation.

So I dug into the Bio::DB::Sam code. It turns out, when the alignment is split based on the cigar string, it
always creates the Bio::DB::Bam::SplitAlignmentPart subfeatures with strand of +1, rather than
inheriting the parent Bio::DB::AlignWrapper strand. Changing this to use the parent strand fixes this problem.

Here is the relevant change in Bio/DB/Bam/AlignWrapper.pm, sub split_splices . Using Bio-SamTools-1.31.

   my $f = Bio::DB::Bam::SplitAlignmentPart->new(-name   => $self->display_name,
 -start  => $s,
 -end    => $e,
 -seq_id => $self->seq_id,
#   -strand => +1,
-strand => $self->strand
 -seq    => [$self,$start+$skip,$end-$start], # deferred rendering
 -type   => $self->type);

Tim

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Timothy Parnell | 2 Nov 2011 17:24
Picon
Favicon

subtrack facets

Hi,
I've noticed some retro re-visioning in the change log with GBrowse. In the CPAN releases >= 2.40, I've
noticed additional notes pertaining to releases 2.35 and 2.37, which are not present in the change logs of
CPAN releases < 2.40.

Specifically, the changes mention deprecating subtrack select and subtrack table, and preparing for
something called "subtrack facets" and "faceted track searching".

I don't see any mention of subtrack facets on the GMOD wiki. It seems like subtrack tables are still the
recommended ways of handling multiple tracks, at least as far as the wikis are concerned.

Lincoln or Scott, could you shed any light on this?

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
Ellen Schofield | 2 Nov 2011 17:26
Picon
Picon
Favicon

Re: Displaying top-level only of Multi-part features

Dear Timothy,

Many thanks, that glyph worked the way I wanted it to.  Shame the arrow 
one doesn't, but not to worry, I'm happy :-)

Thanks for the help guys.

Ellen

On 31/10/11 17:41, Timothy Parnell wrote:
> Hi Ellen,
>
> Have you tried looking at the box glyph? I use this for displaying genes
> in the region view when I don't need to see exon structure. From the
> description:
>
> This glyph draws genomic features as rectangles. If the feature
>         contains subfeatures, then the glyph will draw a single solid box
> that
>         spans all the subfeatures.  Features can be named with a label at
> the
>         top, and annotated with a descriptive string at the bottom.
>
> Tim
>
>
>
> On 10/31/11 9:41 AM, "Ellen Schofield"<ellen.schofield@...>
> wrote:
>
>> Hiya,
>>
>> Does anybody have anymore ideas please?
>>
>> Thanks,
>> Ellen.
>>
>> On 27/10/11 10:24, Ellen Schofield wrote:
>>> Hi Jason,
>>>
>>> Yes that is correct, please see the relevant snippet of our conf file
>>> below:-
>>>
>>> [GENE_MODEL_ENSEMBL:region]
>>> feature    = gene:ensembl pseudogene:ensembl
>>> glyph = arrow
>>> key = Ensembl Predictions
>>> bgcolor = sub{
>>>        my ($feature) =  <at> _;
>>>        return 'silver' if ($feature->primary_tag =~ /pseudogen/);
>>>        return 'skyblue';
>>>        }
>>> fgcolor = sub{
>>>        my ($feature) =  <at> _;
>>>        return 'slategray' if ($feature->primary_tag =~ /pseudogen/);
>>>        return 'steelblue';
>>>        }
>>>
>>> Any other ideas?
>>>
>>> Cheers,
>>> Ellen
>>>
>>> On 26/10/11 23:08, Jason Stajich wrote:
>>>> And you are using this in your stanza?
>>>> feature=gene:SOURCE
>>>>
>>>> Jason
>>>> On Oct 26, 2011, at 1:50 AM, Ellen Schofield wrote:
>>>>
>>>>> Many thanks for the response Jason.
>>>>>
>>>>> I have tried using the arrow glyph, hoping that this didn't look at
>>>>> sub-parts.  It correctly doesn't give the exon structure but still
>>>>> creates an arrow for ever transcript when I only want a single arrow
>>>>> for the gene (please see attached gbrowse_img as an example).
>>>>>
>>>>> Cheers,
>>>>> Ellen.
>>>>>
>>>>> On 25/10/11 19:35, Jason Stajich wrote:
>>>>>> you can use the 'arrow' glyph instead of transcript or gene glyph.
>>>>>>
>>>>>>
>>>>>> On Oct 25, 2011, at 9:14 AM, Ellen Schofield wrote:
>>>>>>
>>>>>>> Hi.
>>>>>>>
>>>>>>> We currently have gbrowse set up to display various features
>>>>>>> including
>>>>>>> some gene models.  These show nicely with the correct hierachy of
>>>>>>> gene
>>>>>>> ->     mRNA ->     CDS.  However, we would like to show just the gene
>>>>>>> spans (ie
>>>>>>> top level feature) in the region/overview sections of gbrowse, but
>>>>>>> it
>>>>>>> insists on showing the transcripts rather than the gene feature (I
>>>>>>> assume due to the code in Glyph.pm whereby it only draws the
>>>>>>> sub-parts).
>>>>>>>
>>>>>>> Is there a way to turn off the sub-parts if required?  Or do we
>>>>>>> really
>>>>>>> have to load these feature in twice, once with the sub-features and
>>>>>>> once
>>>>>>> without as the code stands at the moment?
>>>>>>>
>>>>>>> Look forward to hearing from somebody.
>>>>>>>
>>>>>>> Yours,
>>>>>>> Ellen.
>>>>>>>
>>>>>>> -- 
>>>>>>> ellen.schofield@...
>>>>>>> JDRF/WT Diabetes and Inflammation Laboratory (DIL)
>>>>>>> Cambridge Institute for Medical Research (CIMR)
>>>>>>> Wellcome Trust/MRC Building
>>>>>>> Addenbrooke's Hospital Hills Road Cambridge CB2 0XY
>>>>>>> Tel: 01223 763215
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> ---------
>>>>>>> The demand for IT networking professionals continues to grow, and
>>>>>>> the
>>>>>>> demand for specialized networking skills is growing even more
>>>>>>> rapidly.
>>>>>>> Take a complimentary Learning <at> Cisco Self-Assessment and learn
>>>>>>> about Cisco certifications, training, and career opportunities.
>>>>>>> http://p.sf.net/sfu/cisco-dev2dev
>>>>>>> _______________________________________________
>>>>>>> Gmod-gbrowse mailing list
>>>>>>> Gmod-gbrowse@...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>>>>>> ----------------------------------------------------------------------
>>>>>> --------
>>>>>> The demand for IT networking professionals continues to grow, and the
>>>>>> demand for specialized networking skills is growing even more
>>>>>> rapidly.
>>>>>> Take a complimentary Learning <at> Cisco Self-Assessment and learn
>>>>>> about Cisco certifications, training, and career opportunities.
>>>>>> http://p.sf.net/sfu/cisco-dev2dev
>>>>>> _______________________________________________
>>>>>> Gmod-gbrowse mailing list
>>>>>> Gmod-gbrowse@...
>>>>>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>>>>> -- 
>>>>> ellen.schofield@...
>>>>> JDRF/WT Diabetes and Inflammation Laboratory (DIL)
>>>>> Cambridge Institute for Medical Research (CIMR)
>>>>> Wellcome Trust/MRC Building
>>>>> Addenbrooke's Hospital Hills Road Cambridge CB2 0XY
>>>>> Tel: 01223 763215
>>>>>
>>>>> <gbrowse_gene_features_arrow_glyph.png>
>> -- 
>> ellen.schofield@...
>> JDRF/WT Diabetes and Inflammation Laboratory (DIL)
>> Cambridge Institute for Medical Research (CIMR)
>> Wellcome Trust/MRC Building
>> Addenbrooke's Hospital Hills Road Cambridge CB2 0XY
>> Tel: 01223 763215
>>
>>
>> --------------------------------------------------------------------------
>> ----
>> Get your Android app more play: Bring it to the BlackBerry PlayBook
>> in minutes. BlackBerry App World&#153; now supports Android&#153; Apps
>> for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple
>> it is! http://p.sf.net/sfu/android-dev2dev
>> _______________________________________________
>> Gmod-gbrowse mailing list
>> Gmod-gbrowse@...
>> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

--

-- 
ellen.schofield@...
JDRF/WT Diabetes and Inflammation Laboratory (DIL)
Cambridge Institute for Medical Research (CIMR)
Wellcome Trust/MRC Building
Addenbrooke's Hospital Hills Road Cambridge CB2 0XY
Tel: 01223 763215

------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
Jia LI | 2 Nov 2011 18:09
Picon
Picon
Favicon

How to use feature attribute "ID" in URL?

Hi all,

For example, in GFF3 file:
X    FlyBase    gene    2239166    2248298    .    -    .    ID=FBgn0003159;Name=ptr

I loaded the GFF3 into MySQL using bp_seqfeature_load.pl.

How can I get a URL as "http://flybase.org/reports/FBgn0003159.html"?

"http://flybase.org/reports/$id.html" seems not working.

Thanks!

Best,
Jia Li


------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
Lincoln Stein | 2 Nov 2011 19:33
Picon
Gravatar

Re: subtrack facets


Unfortunately a portion of the change log relating to an experimental branch was merged into main. These entries will be removed.

Lincoln
On Wednesday, November 2, 2011, Timothy Parnell <Timothy.Parnell-xpE/FmUf0Yn2fBVCVOL8/A@public.gmane.org> wrote:
> Hi,
> I've noticed some retro re-visioning in the change log with GBrowse. In the CPAN releases >= 2.40, I've noticed additional notes pertaining to releases 2.35 and 2.37, which are not present in the change logs of CPAN releases < 2.40.
>
> Specifically, the changes mention deprecating subtrack select and subtrack table, and preparing for something called "subtrack facets" and "faceted track searching".
>
> I don't see any mention of subtrack facets on the GMOD wiki. It seems like subtrack tables are still the recommended ways of handling multiple tracks, at least as far as the wikis are concerned.
>
> Lincoln or Scott, could you shed any light on this?
>
>
> ------------------------------------------------------------------------------
> RSA&#174; Conference 2012
> Save $700 by Nov 18
> Register now&#33;
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Gmod-gbrowse mailing list
> Gmod-gbrowse-5NWGOfrQmnetEtDZOKyKiw@public.gmane.orgrge.net
> https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse
>

--
Lincoln D. Stein
Director, Informatics and Biocomputing Platform
Ontario Institute for Cancer Research
101 College St., Suite 800
Toronto, ON, Canada M5G0A3
416 673-8514
Assistant: Renata Musa <Renata.Musa-O2sQSXo6EZOw5LPnMra/2Q@public.gmane.org>
------------------------------------------------------------------------------
RSA&#174; Conference 2012
Save $700 by Nov 18
Register now&#33;
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gmod-gbrowse mailing list
Gmod-gbrowse@...
https://lists.sourceforge.net/lists/listinfo/gmod-gbrowse

Gmane