<html>
<body>
Thanks Dave,<br><br>
Web error logs -- Upon one web load, there are multiple lines of
&quot;Use of uninitialized value&quot; in some bioperl pm - I think
that's fine.<br><br>
There are 3 errors in the end, probably need some attention:<br><br>
<font color="#808080">Odd number of elements in hash assignment at
/usr/local/lib/perl5/site_perl/5.8.5/i686-linux/Bio/Graphics/Browser/Util.pm
line 404.<br><br>
Odd number of elements in hash assignment at
/usr/local/lib/perl5/site_perl/5.8.5/Bio/DB/GFF/Util/Rearrange.pm line
83.<br><br>
</font>-- It might be wrong input data? For that I think I will first
take Scott's approach to make sure input data is fine unless there are
known issues?<br><br>
<font color="#808080">Bio::Graphics::BrowserConfig=HASH(0x8d48380) at
/usr/local/lib/perl5/site_perl/5.8.5/i686-linux/Bio/Graphics/Browser.pm
line 587.<br><br>
</font>-- I am not sure what it complains (a hash reference?)<br><br>
Zhiliang<br><br>
<br>
At 07:51 AM 9/25/2008 -0600, Dave Clements, GMOD Help Desk wrote:<br>
<blockquote type=cite class=cite cite="">Hi Zhiliang,<br><br>
Can you look at your apache error log and see what errors (if any)
it<br>
has?&nbsp; It is often easier to come at from that end, rather than<br>
manually checking config files.<br><br>
Also, FYI, animalgenome.org was down last night around midnight central
time.<br><br>
Thanks,<br><br>
Dave C.<br><br>
On Wed, Sep 24, 2008 at 2:55 PM, Zhiliang Hu &lt;zhu@iastate.edu&gt;
wrote:<br>
&gt; Hi Scott,<br>
&gt;<br>
&gt; I used ncbi powerscript to download the chromosome genbank file (it
took 2<br>
&gt; hrs 10 min) then used your bp_genbank2gff.pl to load db.&nbsp; Looks
like the<br>
&gt; tables are populated:<br>
&gt;<br>
&gt; o fattribute ( 13 records )<br>
&gt; o fattribute_to_feature ( 7782 records )<br>
&gt; o fdata ( 10939 records )<br>
&gt; o fdna ( 44259 records )<br>
&gt; o fgroup ( 1953 records )<br>
&gt; o fmeta ( 4 records )<br>
&gt; o ftype ( 8 records )<br>
&gt;<br>
&gt; but I still cannot bring up the graphs:<br>
&gt;
<a href="http://www.animalgenome.org/cgi-bin/gbrowse/cattle/" eudora="autourl">
http://www.animalgenome.org/cgi-bin/gbrowse/cattle/</a><br>
&gt;<br>
&gt; Could you help to see if I have any key part missing from the config
file:<br>
&gt;
<a href="http://www.animalgenome.org/hu/share/scott/cow.conf" eudora="autourl">
http://www.animalgenome.org/hu/share/scott/cow.conf</a><br>
&gt;<br>
&gt; Thank you,<br>
&gt;<br>
&gt; Zhiliang<br>
&gt;<br>
&gt;<br>
&gt; At 10:33 AM 9/24/2008 -0400, Scott Cain wrote:<br>
&gt;<br>
&gt; There seems to be a problem with BioPerl related to getting the<br>
&gt; sequence directly from GenBank: if I download NC_007320 and then
run<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp; bp_genbank2gff.pl --file NC_007320.gbk&nbsp; --dsn
dbi:mysql:test --create<br>
&gt;<br>
&gt; it works fine in a couple of seconds.&nbsp; If however I run<br>
&gt;<br>
&gt;&nbsp;&nbsp; bp_genbank2gff.pl --accession NC_007320&nbsp; --dsn
dbi:mysql:test --create<br>
&gt;<br>
&gt; I get these two lines over and over again as it runs for a long
time<br>
&gt; (I'm letting it go now so I can see how long it will take and
what<br>
&gt; will eventually happen):<br>
&gt;<br>
&gt; Use of uninitialized value in pattern match (m//) at<br>
&gt; /usr/local/share/perl/5.8.8/Bio/SeqIO/genbank.pm line 663,
&lt;GEN1&gt; line<br>
&gt; 115.<br>
&gt; Use of uninitialized value in pattern match (m//) at<br>
&gt; /usr/local/share/perl/5.8.8/Bio/SeqIO/genbank.pm line 667,
&lt;GEN1&gt; line<br>
&gt; 115.<br>
&gt;<br>
&gt; Scott<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Sep 24, 2008 at 9:56 AM, Zhiliang Hu &lt;zhu@iastate.edu&gt;
wrote:<br>
&gt;&gt; I repeated on the same machine (RHEL/RedHat Linux
2.4.21-20.ELsmp, 8GB<br>
&gt;&gt; RAM)<br>
&gt;&gt; - I counted 7 minutes before its quit on &quot;Out of
memory!&quot; this time.<br>
&gt;&gt;<br>
&gt;&gt; I then installed Bioperl/GBrowse/etc last night on another
machine (Linux<br>
&gt;&gt; CentOS, 8GB RAM), tried the same to run on background.<br>
&gt;&gt;<br>
&gt;&gt; This morning I found the processes died away without loading the
db. I<br>
&gt;&gt; didn't find any core dump or else but only in the /tmp dir a
file created<br>
&gt;&gt; shortly after I started it:<br>
&gt;&gt;
<a href="http://nagrp2.ansci.iastate.edu/zhu/tmp/RJQApIbFbh.txt" eudora="autourl">
http://nagrp2.ansci.iastate.edu/zhu/tmp/RJQApIbFbh.txt</a> -- this
doesn't<br>
&gt;&gt; seem<br>
&gt;&gt; to be right because on the browser it seems to be HUGE:<br>
&gt;&gt;<br>
&gt;&gt;
<a href="http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val=194719399&amp;view=gbwithparts" eudora="autourl">
http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val=194719399&amp;view=gbwithparts</a>
<br>
&gt;&gt;<br>
&gt;&gt; Zhiliang<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; At 11:17 PM 9/23/2008 -0400, Lincoln Stein wrote:<br>
&gt;&gt;<br>
&gt;&gt; It may take a long time to run - try overnight.<br>
&gt;&gt;<br>
&gt;&gt; Lincoln<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 23, 2008 at 10:46 PM, Scott Cain
&lt;cain.cshl@gmail.com&gt; wrote:<br>
&gt;&gt; When I ran it, it spun it's wheels for a long time (30+ minutes)
and I<br>
&gt;&gt; killed it.&nbsp;&nbsp; I tried the analagous thing with
bp_genbank2gff.pl and<br>
&gt;&gt; had to kill it too.&nbsp; I thought it was a problem with
bioperl until<br>
&gt;&gt; just now, when I tried it with an E coli chromosome from genbank
and<br>
&gt;&gt; it worked fine (it ran a couple of minutes).<br>
&gt;&gt;<br>
&gt;&gt; Scott<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 23, 2008 at 10:13 PM, Lincoln Stein
&lt;lincoln.stein@gmail.com &gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt; Oh no! I've never seen a memory problem before. How long a
time elapses<br>
&gt;&gt;&gt; between the original loading message and the first Out of
memory!<br>
&gt;&gt;&gt; message?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Lincoln<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Sep 23, 2008 at 1:25 PM, Zhiliang Hu
&lt;zhu@iastate.edu&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Scott,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I decide to take an &quot;easier&quot; approach as a
start - I will try to load<br>
&gt;&gt;&gt;&gt; NCBI<br>
&gt;&gt;&gt;&gt; and UCSC cattle genomes to GBrowse.&nbsp; Once that
works, I can move on with<br>
&gt;&gt;&gt;&gt; more customized data sets.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have following questions in doing that:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 1.<br>
&gt;&gt;&gt;&gt; A technical one: When I try to load a cattle chromosome
using your<br>
&gt;&gt;&gt;&gt; 'load_genbank.pl', I got a memory problem (there is 8 GB
RAM on the<br>
&gt;&gt;&gt;&gt; machine<br>
&gt;&gt;&gt;&gt; - I bet there must a work around?)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt; load_genbank.pl --create -dsn dbi:mysql:gb_cattle
-user --pass<br>
&gt;&gt;&gt;&gt; &gt; --accession NC_007320<br>
&gt;&gt;&gt;&gt; Loading NC_007320...<br>
&gt;&gt;&gt;&gt; Out of memory!<br>
&gt;&gt;&gt;&gt; Out of memory!<br>
&gt;&gt;&gt;&gt; Out of memory!<br>
&gt;&gt;&gt;&gt; Segmentation fault (core dumped)<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 2.<br>
&gt;&gt;&gt;&gt; Can I load all chromosomes into one database?&nbsp; Or
should I create<br>
&gt;&gt;&gt;&gt; separate<br>
&gt;&gt;&gt;&gt; databases for each chromosome? (I assume the former but
not sure).<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 3.<br>
&gt;&gt;&gt;&gt; If I also bring in UCSC golden tracks, should I set up a
different<br>
&gt;&gt;&gt;&gt; database, Or can I put them into one db, naming UCSC
chromosomes a<br>
&gt;&gt;&gt;&gt; little<br>
&gt;&gt;&gt;&gt; differently?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thank you,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Zhiliang<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; --<br>
&gt;&gt;&gt;&gt; Zhi-Liang Hu (PhD)<br>
&gt;&gt;&gt;&gt; Associate Scientist,<br>
&gt;&gt;&gt;&gt; Department of Animal Science,<br>
&gt;&gt;&gt;&gt; Center for Integrated Animal Genomics,<br>
&gt;&gt;&gt;&gt; National Animal Genome Research Program,<br>
&gt;&gt;&gt;&gt; Iowa State University<br>
&gt;&gt;&gt;&gt; Tel: 901-759-0643<br>
&gt;&gt;&gt;&gt; Mob: 901-212-2820<br>
&gt;&gt;&gt;&gt; Web:
<a href="http://www.animalgenome.org/" eudora="autourl">
http://www.animalgenome.org</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &quot;Not everything that counts can be counted,
and<br>
&gt;&gt;&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; not everything that can be
counted counts.&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Lincoln D. Stein<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ontario Institute for Cancer Research<br>
&gt;&gt;&gt; 101 College St., Suite 800<br>
&gt;&gt;&gt; Toronto, ON, Canada M5G0A3<br>
&gt;&gt;&gt; 416 673-8514<br>
&gt;&gt;&gt; Assistant: Stacey Quinn &lt;Stacey.Quinn@oicr.on.ca
&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cold Spring Harbor Laboratory<br>
&gt;&gt;&gt; 1 Bungtown Road<br>
&gt;&gt;&gt; Cold Spring Harbor, NY 11724 USA<br>
&gt;&gt;&gt; (516) 367-8380<br>
&gt;&gt;&gt; Assistant: Sandra Michelsen &lt;michelse@cshl.edu&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;
------------------------------------------------------------------------<br>
&gt;&gt; Scott Cain, Ph. D. cain.cshl@gmail.com<br>
&gt;&gt; GMOD Coordinator
(<a href="http://gmod.org/" eudora="autourl">http://gmod.org/</a>)
216-392-3087<br>
&gt;&gt; Cold Spring Harbor Laboratory<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Lincoln D. Stein<br>
&gt;&gt;<br>
&gt;&gt; Ontario Institute for Cancer Research<br>
&gt;&gt; 101 College St., Suite 800<br>
&gt;&gt; Toronto, ON, Canada M5G0A3<br>
&gt;&gt; 416 673-8514<br>
&gt;&gt; Assistant: Stacey Quinn &lt;Stacey.Quinn@oicr.on.ca &gt;<br>
&gt;&gt;<br>
&gt;&gt; Cold Spring Harbor Laboratory<br>
&gt;&gt; 1 Bungtown Road<br>
&gt;&gt; Cold Spring Harbor, NY 11724 USA<br>
&gt;&gt; (516) 367-8380<br>
&gt;&gt; Assistant: Sandra Michelsen &lt;michelse@cshl.edu &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;
------------------------------------------------------------------------<br>
&gt; Scott Cain, Ph. D. cain.cshl@gmail.com<br>
&gt; GMOD Coordinator
(<a href="http://gmod.org/" eudora="autourl">http://gmod.org/</a>)
216-392-3087<br>
&gt; Cold Spring Harbor Laboratory<br><br>
<br><br>
-- <br>
Was this helpful? Let us know at
<a href="http://gmod.org/wiki/Help_Desk_Feedback" eudora="autourl">
http://gmod.org/wiki/Help_Desk_Feedback</a></blockquote></body>
</html>