<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello GMOD Team and Dr Stein,<br>
<br>
I'm really sorry to bother you again with my problem but I have no news
from you since my first answer to Dr Stein's question.<br>
<br>
This answer was:<br>
<br>
&nbsp;&nbsp;&nbsp; "When I put two GFF file with a sequence in the directory I can
access both of them with Gbrowse and features are correctly displayed.<br>
&nbsp;&nbsp;&nbsp; I can also get every information about a given feature (apart the
sequence). <br>
<br>
&nbsp;&nbsp;&nbsp; However the sequence for supernumerary GFF does not exist in
Gbrowse and error messages appears.<br>
<br>
&nbsp;&nbsp;&nbsp; Tell me if you need more precision or sample files."<br>
<br>
<br>
It has been three weeks since I am waiting for a solution to the
problem of malfunctioning of the module memory.pm.<br>
<br>
Can I expect to have a solution within a reasonable time or should I
change my tactics and consider to use a MySQL database instead of flat
GFF files ?<br>
<br>
<br>
Thank you very much for your help,<br>
<br>
Best regards,<br>
<br>
Aur&eacute;lien<br>
<br>
<br>
Le 11/05/2010 15:42, Lincoln Stein a &eacute;crit&nbsp;:
<blockquote
 cite="mid:AANLkTilYarmgEEfkt8OcOVHyhBTO9NGJ4vDk3EBMkXWt@mail.gmail.com"
 type="cite">I have not seen this problem before, but if I can
reproduce it locally it should be easy to fix. Can I ask whether the
basic display of features is broken as well, or is it just the error
messages and the inability to access sequence that is problematic?
  <div><br>
  </div>
  <div>Lincoln<br>
  <br>
  <div class="gmail_quote">On Tue, May 11, 2010 at 3:33 AM, Aur&eacute;lien
BERNARD <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:arbernard@clermont.inra.fr">arbernard@clermont.inra.fr</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">
    <p style="margin-bottom: 0cm;" lang="en-US">Hello GMOD support
team,<br>
    <br>
First of all I will present myself:<br>
    <br>
My name is
Aur&eacute;lien Bernard, I'm a software engineer in a french laboratory
called INRA (National Institute for Agricultural Research)<br>
I
currently work in the development team of a wheat annotation pipeline
that generate GFF files (TriAnnot pipeline:
    <a moz-do-not-send="true"
 href="http://urgi.versailles.inra.fr/projects/TriAnnot/index.php"
 target="_blank">http://urgi.versailles.inra.fr/projects/TriAnnot/index.php</a>).<br>
    <br>
We
have decided to use Gbrowse (1.70) to allow our users to visualize
their results.<br>
Please note that Gbrowse is installed on a server
of the INRA bioinformatic platform (URGI) and used by several INRA
laboratories. <br>
Therefore we can't decide which version to use or
when to update Gbrowse.<br>
    <br>
Since the beginning of my work with
Gbrowse I have created a custom configuration file, written some Perl
functions to exploit popup balloons (on hover and on click) and
developed a simple plugin for our proper use.<br>
On URGI's advice we
have chosen the following adaptor:<br>
    <br>
db_adaptor =
Bio::DB::SeqFeature::Store<br>
    <br>
However, when they used a MySQL
database we have decided to load GFF files into memory:<br>
    <br>
db_args = -adaptor memory<br>
-dir
'/home/projects/triannot/GFF/'<br>
    <br>
This choice can be
explained by the fact that our pipeline stores GFF result files into
a particular directory where our users can download them (or Gbrowse
can read them) for a short period of time (Old files are
automatically deleted after one or two weeks).<br>
    <br>
Everything goes
well on the different GFF files I have tested separately.<br>
But, if
I try to put several GFF files (each of these files contains a
sequence in fasta format in its bottom part) in the same directory
then everything goes wrong:<br>
    <br>
- My apache error file becomes
full of error messages<br>
- It becomes impossible to access to the
sequence of each supernumerary GFF file<br>
    <br>
Example of error
message:<br>
    <br>
[Mon May 03 17:02:43 2010] [error] [client 127.0.0.1]
print() on closed filehandle GEN3 at<br>
[Mon May 03 17:02:43 2010]
[error] [client 127.0.0.1]
\t/usr/local/lib/perl5/site_perl/5.8.5/Bio/DB/SeqFeature/Store/<a
 moz-do-not-send="true" href="http://memory.pm" target="_blank">memory.pm</a>
line
598, &lt;GEN5&gt; line 888 (#1)<br>
    <br>
This problems seems to be
directly related to our choice of db_args so I give a look to the
correspondant BioPerl module (<a moz-do-not-send="true"
 href="http://memory.pm" target="_blank">memory.pm</a>).<br>
    <br>
Line 598 is included
in a function with a strange comment line:<br>
    <br>
# this is ugly<br>
sub
_insert_sequence {<br>
&nbsp;&nbsp;&nbsp; my $self = shift;<br>
&nbsp;&nbsp;&nbsp; my
($seqid,$seq,$offset) = @_;<br>
&nbsp;&nbsp;&nbsp; my $dna_fh =
$self-&gt;private_fasta_file or return;<br>
&nbsp;&nbsp;&nbsp; if ($offset == 0) { #
start of the sequence<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print $dna_fh "&gt;$seqid\n";<br>
&nbsp;&nbsp;&nbsp; }<br>
&nbsp;&nbsp;&nbsp; print $dna_fh $seq,"\n";<br>
}<br>
    <br>
Does a Gbrowse
user already encounter this problem ?<br>
    <br>
Do you have a solution
to make it work better ?<br>
    <br>
    <br>
I thank you in advance for your
help !!<br>
    <br>
Best regards,<br>
    <br>
Aur&eacute;lien<br>
    </p>
    <pre cols="72">-- 
Aur&eacute;lien Bernard

Software engineer

INRA (Institut National de la Recherche Agronomique)
UMR INRA-UBP 1095
G&eacute;n&eacute;tique, Diversit&eacute; et Ecophysiologie des C&eacute;r&eacute;ales
234, Avenue du Br&eacute;zet
63100 Clermont-Ferrand
FRANCE

Tel: +33 (0)4.73.62.43.37</pre>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Lincoln D. Stein<br>
Director, Informatics and Biocomputing Platform<br>
Ontario Institute for Cancer Research<br>
101 College St., Suite 800<br>
Toronto, ON, Canada M5G0A3<br>
416 673-8514<br>
Assistant: Renata Musa &lt;<a moz-do-not-send="true"
 href="mailto:Renata.Musa@oicr.on.ca">Renata.Musa@oicr.on.ca</a>&gt;<br>
  </div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Aur&eacute;lien Bernard

Software engineer

INRA (Institut National de la Recherche Agronomique)
UMR INRA-UBP 1095
G&eacute;n&eacute;tique, Diversit&eacute; et Ecophysiologie des C&eacute;r&eacute;ales
234, Avenue du Br&eacute;zet
63100 Clermont-Ferrand
FRANCE

Tel: +33 (0)4.73.62.43.37</pre>
</body>
</html>