since they are the same thing, you only need one. In the example config,
database configured, but you don't need to. Just be sure to change any
instead of annotations or scaffolds.
Scott,
if I trying to navigate to another section of the genome I get another
error Can't call method "get_feature_by_name" on an undefined value
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $symbolic_db_name in join or string at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 937.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Unknown
database defined for general at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/DataSource.pm
line 943.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Could not open
database: Can't call method "new" on an undefined value at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataBase.pm line 44.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $symbolic_db_name in join or string at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 937.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Unknown
database defined for general at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/DataSource.pm
line 943.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Could not open
database: Can't call method "new" on an undefined value at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataBase.pm line 44.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $db in hash element at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/DataSource.pm
line 1063.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $dbid in hash element at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/RegionSearch.pm
line 131.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $dbid in hash element at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/RegionSearch.pm
line 141.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $symbolic_db_name in join or string at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 937.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Unknown
database defined for general at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/DataSource.pm
line 943.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Could not open
database: Can't call method "new" on an undefined value at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataBase.pm line 44.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $db in hash element at /srv/common/lib/perl5/site_per
l/5.16.1//x86_64-linux-thread-multi/Bio/Graphics/Browser2/DataSource.pm
line 1063.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value in concatenation (.) or string at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/Render/HTML.pm line 183.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $symbolic_db_name in join or string at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 937.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Unknown
database defined for plugin:RestrictionAnnotator at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 943.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Use of
uninitialized value $symbolic_db_name in join or string at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 937.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Unknown
database defined for plugin:RestrictionAnnotator at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataSource.pm line 943.
[Mon Sep 12 19:04:15 2016] [error] [client 10.210.28.43] Could not open
database: Can't call method "new" on an undefined value at
/srv/common/lib/perl5/site_perl/5.16.1//x86_64-linux-thread-
multi/Bio/Graphics/Browser2/DataBase.pm line 44.
Post by Scott CainHi Irina,
Please keep the GBrowse mailing list cc'ed in your replies.
Most likely what you're seeing is a result of caching in the web
browser. Follow the Preferences link, hit the "Update appearance", and
then try navigating to another section of the genome. If you still see
that message, look at the apache error log to see what error message it is
giving, and if that is not helpful to you, send it to the list and we'll
take a look.
Scott
On Mon, Sep 12, 2016 at 11:07 AM, Irina Garanina <
Scott,
thank you for your answer
chr GI chromosome 1 985433 . . .
Name=chr
chr GI gene 1891 2680 . + .
Name=parA
chr GI gene 3160 4546 . + .
Name=dnaA
and I still see the same error
Irina
Post by Scott CainHi Irina,
chr GI chromosome 1 985433 . . .
Name=CP006916.3
The line where you specify the "reference sequence" (that is, the
thing where your features are located) needs to have the same name in
CP006916.3 GI chromosome 1 985433 . .
. Name=CP006916.3
and the other lines in the GFF file should have the same thing in
column 1 (assume there is only one chromosome).
Scott
On Mon, Sep 12, 2016 at 10:29 AM, Irina Garanina <
Post by Irina GaraninaDear somebody,
I tried to create my own database, but I have an error Can't call
method "new" on an undefined value
I tested my browser in volvox and yeast databases and it worked well
[GENERAL]
description = mycoplasma
database = mycoplasma
initial landmark = chr:1..1800
# bring in the special Submitter plugin for the rubber-band select menu
plugins = FastaDumper RestrictionAnnotator SequenceDumper
TrackDumper Submitter
autocomplete = 1
default tracks = Genes
# examples to show in the introduction
examples = chr
# "automatic" classes to try when an unqualified identifier is given
automatic classes = Symbol Gene Clone
#################################
# database definitions
#################################
[scaffolds:database]
db_adaptor = Bio::DB::SeqFeature::Store
db_args = -adaptor memory
-dir /data5/bio/gbrowse2/mycoplasma
search options = default +autocomplete
[annotations:database]
db_adaptor = Bio::DB::SeqFeature::Store
db_args = -adaptor memory
-dir /data5/bio/gbrowse2/mycoplasma
search options = default +autocomplete
# Default glyph settings
[TRACK DEFAULTS]
glyph = generic
database = annotations
height = 8
bgcolor = cyan
fgcolor = black
label density = 25
bump density = 100
show summary = 99999 # go into summary mode when zoomed out to 100k
[Genes]
feature = gene
glyph = segments
bgcolor = yellow
forwardcolor = yellow
reversecolor = turquoise
Then in directory /data5/bio/gbrowse2/mycoplasma I created
chr
seq...
##gff-version 3
##Note: See http://song.sourceforge.net
# file: mycoplasma.gff3
chr GI chromosome 1 985433 . . .
Name=CP006916.3
chr GI gene 1891 2680 . + .
Name=parA
chr GI gene 3160 4546 . + .
Name=dnaA
[mycoplasma]
description = Mycoplasma gallisepticum S6
path = mycoplasma.conf
Please, help me
Dr. Garanina
Laboratory of proteomics
FRCC PCM, Moscow, Russia
------------------------------------------------------------
------------------
_______________________________________________
Gmod-gbrowse mailing list
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
--
------------------------------------------------------------
------------
Scott Cain, Ph. D. scott at scottcain
dot net
GMOD Coordinator (http://gmod.org/) 216-392-3087
Ontario Institute for Cancer Research
Scott Cain, Ph. D. scott at scottcain