Hi Zhuang,<div><br></div><div>It looks like the Sequence Ontology is not loaded into the database.  Do you remember if SO was loaded during the Chado install?  See the make ontologies step of the INSTALL document:</div><div>
  <a href="http://gmod.svn.sourceforge.net/viewvc/gmod/schema/trunk/chado/INSTALL.Chado?view=markup">http://gmod.svn.sourceforge.net/viewvc/gmod/schema/trunk/chado/INSTALL.Chado?view=markup</a><br><br></div><div>If it wasn&#39;t you can rerun make ontologies and specify SO.  If this step was skipped entirely then you&#39;ll want to load several others too.  See the install doc.</div>
<div><br></div><div>Dave C</div><div><br><div class="gmail_quote">On Mon, May 31, 2010 at 3:19 AM, zhuang chao <span dir="ltr">&lt;<a href="mailto:freeoser@163.com">freeoser@163.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi , Dave :<br>
<br>
   When I was loading the gff3 file into chado database using<br>
<br>
<a href="http://gmod_bulk_load_gff3.pl" target="_blank">gmod_bulk_load_gff3.pl</a>, I got  the errors like this:<br>
<br>
 ==================================================<br>
 MSG: no cvterm for protein<br>
 ===================================================<br>
<br>
   I  replaced  &#39;protein&#39; with &#39;polypeptide&#39; in the gff<br>
<br>
file .  And the sequence ontology  was loaded in chado<br>
<br>
database.   But  I  got  the errors like this:<br>
<br>
   ===============================<br>
   MSG: no cvterm for polypeptide<br>
   ================================<br>
<br>
   Could you help me?  Thank you very much !<br>
<br>
<br>
The   gff file   is  in  the  attachment  .  It  was  compressed  by<br>
<br>
tar . Here  is   a  history  of how I  loaded  previous  data .<br>
<br>
 =======================================================================<br>
<br>
 root@debian:/home/zc/Downloads#<br>
perl /usr/local/bin/<a href="http://gmod_bulk_load_gff3.pl" target="_blank">gmod_bulk_load_gff3.pl</a>  --gfffile<br>
sequences.gp.gff  --organism &#39;abcd1&#39; --dbname four_viruses  --dbuser zc<br>
--dbpass 123456 --dbhost localhost --dbport 5432    --recreate_cache<br>
--noexon<br>
(Re)creating the uniquename cache in the database...<br>
Creating table...<br>
Populating table...<br>
Creating indexes...Done.<br>
Preparing data for inserting into the four_viruses database<br>
(This may take a while ...)<br>
<br>
------------- EXCEPTION: Bio::Root::Exception -------------<br>
MSG: no cvterm for polypeptide<br>
STACK: Error::throw<br>
STACK: Bio::Root::Root::throw /usr/share/perl5/Bio/Root/Root.pm:368<br>
STACK:<br>
Bio::GMOD::DB::Adapter::get_type /usr/local/share/perl/5.10.1/Bio/GMOD/DB/Adapter.pm:4050<br>
STACK: /usr/local/bin/<a href="http://gmod_bulk_load_gff3.pl:755" target="_blank">gmod_bulk_load_gff3.pl:755</a><br>
-----------------------------------------------------------<br>
Issuing rollback() due to DESTROY without explicit disconnect() of<br>
DBD::Pg::db handle dbname=four_viruses;port=5432;host=localhost<br>
at /usr/share/perl5/Error.pm line 184.<br>
<br>
========================================================================<br>
<br>
<br>
<br>
<br>
On Fri, 2010-05-28 at 13:33 -0700, Dave Clements, GMOD Help Desk wrote:<br>
&gt; Hi Zhuang,<br>
&gt;<br>
&gt;<br>
&gt; Protein is not a first class term in the Sequence Ontology.  It is a<br>
&gt; synonym from &quot;polypeptide&quot;.<br>
&gt;  See <a href="http://www.sequenceontology.org/miso/current_release/term/SO:0000104" target="_blank">http://www.sequenceontology.org/miso/current_release/term/SO:0000104</a>.  Does the load work if you change all your &quot;protein&quot; to &quot;polypeptide&quot;?  IF it still doesn&#39;t work, then the sequence ontology may not be loaded in your database.<br>

&gt;<br>
&gt;<br>
&gt; Dave C.<br>
&gt;<br>
&gt; On Fri, May 28, 2010 at 1:09 AM, simon rayner<br>
&gt; &lt;<a href="http://simon.rayner.cn" target="_blank">simon.rayner.cn</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>&gt; wrote:<br>
&gt;         Zhuang,<br>
&gt;<br>
&gt;         it could be there is an extra or missing &lt;TAB&gt; character in<br>
&gt;         that line for that entry in the GFF3 file. Can you post the<br>
&gt;         dump for the entry<br>
&gt;<br>
&gt;         simon<br>
&gt;<br>
&gt;<br>
&gt;         On Fri, May 28, 2010 at 3:40 AM, zhuang chao<br>
&gt;         &lt;<a href="mailto:freeoser@163.com">freeoser@163.com</a>&gt; wrote:<br>
&gt;                 hi , all :<br>
&gt;<br>
&gt;                  When I was loading the gff3 file into chado database<br>
&gt;                 using<br>
&gt;                 <a href="http://gmod_bulk_load_gff3.pl" target="_blank">gmod_bulk_load_gff3.pl</a>, I got  the errors like this:<br>
&gt;<br>
&gt;                  ==================================================<br>
&gt;                  MSG: no cvterm for protein<br>
&gt;                  ===================================================<br>
&gt;<br>
&gt;                  I don&#39;t know why and how to handle. Could you help<br>
&gt;                 me? I am looking<br>
&gt;<br>
&gt;                  forward to your reply.  Thank you very much !<br>
&gt;<br>
&gt;                  Here  is   a  history  of how I  loaded  previous<br>
&gt;                  data .<br>
&gt;<br>
&gt;                  =======================================================================<br>
&gt;<br>
&gt;<br>
&gt;                 root@debian:/home/zc/Downloads#<br>
&gt;                 perl /usr/local/bin/<a href="http://gmod_bulk_load_gff3.pl" target="_blank">gmod_bulk_load_gff3.pl</a>  --gfffile<br>
&gt;                 sequences.gp.gff  --organism &#39;abcd1&#39; --dbname<br>
&gt;                 four_viruses  --dbuser zc<br>
&gt;                 --dbpass 123456 --dbhost localhost --dbport 5432<br>
&gt;                  --noexon<br>
&gt;<br>
&gt;                 Preparing data for inserting into the four_viruses<br>
&gt;                 database<br>
&gt;                 (This may take a while ...)<br>
&gt;<br>
&gt;                 ------------- EXCEPTION: Bio::Root::Exception<br>
&gt;                 -------------<br>
&gt;                 MSG: no cvterm for protein<br>
&gt;                 STACK: Error::throw<br>
&gt;                 STACK:<br>
&gt;                 Bio::Root::Root::throw /usr/share/perl5/Bio/Root/Root.pm:368<br>
&gt;                 STACK:<br>
&gt;                 Bio::GMOD::DB::Adapter::get_type /usr/local/share/perl/5.10.1/Bio/GMOD/DB/Adapter.pm:4050<br>
&gt;                 STACK: /usr/local/bin/<a href="http://gmod_bulk_load_gff3.pl:755" target="_blank">gmod_bulk_load_gff3.pl:755</a><br>
&gt;                 -----------------------------------------------------------<br>
&gt;                 Issuing rollback() due to DESTROY without explicit<br>
&gt;                 disconnect() of<br>
&gt;                 DBD::Pg::db handle<br>
&gt;                 dbname=four_viruses;port=5432;host=localhost<br>
&gt;                 at /usr/share/perl5/Error.pm line 184.<br>
&gt;                 ===================================================================================<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         --<br>
&gt;<br>
&gt;<br>
&gt;         Simon Rayner<br>
&gt;<br>
&gt;         State Key Laboratory of Virology<br>
&gt;         Wuhan Institute of Virology<br>
&gt;         Chinese Academy of Sciences<br>
&gt;         Wuhan, Hubei 430071<br>
&gt;         P.R.China<br>
&gt;<br>
&gt;         +86 (27) 87199895 (office)<br>
&gt;         +86 15972923715 (cell)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         ------------------------------------------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         Gmod-schema mailing list<br>
&gt;         <a href="mailto:Gmod-schema@lists.sourceforge.net">Gmod-schema@lists.sourceforge.net</a><br>
&gt;         <a href="https://lists.sourceforge.net/lists/listinfo/gmod-schema" target="_blank">https://lists.sourceforge.net/lists/listinfo/gmod-schema</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; ===&gt; PLEASE KEEP RESPONSES ON THE LIST &lt;===<br>
&gt; <a href="http://gmod.org/wiki/GMOD_News" target="_blank">http://gmod.org/wiki/GMOD_News</a><br>
&gt; <a href="http://gmod.org/wiki/Calendar" target="_blank">http://gmod.org/wiki/Calendar</a><br>
&gt; <a href="http://gmod.org/wiki/Help_Desk_Feedback" target="_blank">http://gmod.org/wiki/Help_Desk_Feedback</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>===&gt; PLEASE KEEP RESPONSES ON THE LIST &lt;===<br><a href="http://gmod.org/wiki/GMOD_News">http://gmod.org/wiki/GMOD_News</a><br><a href="http://gmod.org/wiki/Calendar">http://gmod.org/wiki/Calendar</a><br>
<a href="http://gmod.org/wiki/Help_Desk_Feedback">http://gmod.org/wiki/Help_Desk_Feedback</a><br><br>
</div>