[Gmod-help] Re:Re: [GMOD-devel] help
wangjun19820303
wangjun19820303 at 163.com
Tue Apr 27 06:41:05 EDT 2010
hi Dave,
I met the same error as the last time .It said
"DBD::Pg::db commit failed: ERROR: insert or update on table "featureloc" violates foreign key constraint "featureloc_srcfeature_id_fkey"
DETAIL: Key (srcfeature_id)=(517344) is not present in table "feature". at /usr/local/share/perl/5.10.1/Bio/GMOD/DB/Adapter.pm line 2651, <$fh> line 4878.
commit failed: ERROR: insert or update on table "featureloc" violates foreign key constraint "featureloc_srcfeature_id_fkey"
DETAIL: Key (srcfeature_id)=(517344) is not present in table "feature". at /usr/local/share/perl/5.10.1/Bio/GMOD/DB/Adapter.pm line 2651, <$fh> line 4878.
"
I used the --save option and got the tmp files .But when I run the query :
select * from feature where feature_id = 517344 .It is empty. So why didn't loader loaded feature into my database?
Is my gff file problem?
Thank you very much!!!
Wangjun
在2010-04-22 02:31:44,"Dave Clements, GMOD Help Desk" <help at gmod.org> 写道:
Hi Wangjun,
I'm CC'ing the Schema/Chado list, which is probably a better place to discuss this question.
I talked to Scott Cain about this: Make sure that BioPerl and schema are up to date, and if that doesn't fix it, run the loader with the --save option so the tmp files get saved. Then you can find the line in the featureloc file that is offending. If that approach doesn't result in solving the problem, then we might need to see the GFF that is causing the problem.
Thanks
Dave C
2010/4/15 wangjun19820303 <wangjun19820303 at 163.com>
hi all,
When I was importing blast result gff3 file into chado database using gmod_bulk_load_gff3.pl, I got the errors like this:
DBD::Pg::db commit failed: ERROR: insert or update on table "featureloc" violates foreign key constraint "featureloc_srcfeature_id_fkey"
DETAIL: Key (srcfeature_id)=(177) is not present in table "feature". at /usr/local/share/perl/5.10.1/Bio/GMOD/DB/Adapter.pm line 2651, <$fh> line 4190.
commit failed: ERROR: insert or update on table "featureloc" violates foreign key constraint "featureloc_srcfeature_id_fkey"
DETAIL: Key (srcfeature_id)=(177) is not present in table "feature". at /usr/local/share/perl/5.10.1/Bio/GMOD/DB/Adapter.pm line 2651, <$fh> line 4190.
I don't know why and how to handle. Could you help me?
I am looking forward to your reply.
Wangjun
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gmod-devel mailing list
Gmod-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmod-devel
--
===> PLEASE KEEP RESPONSES ON THE LIST <===
http://gmod.org/wiki/GMOD_Logo_Program
http://gmod.org/wiki/GMOD_News
Was this helpful? http://gmod.org/wiki/Help_Desk_Feedback
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blastx_nr_PAM70_eastlake2.out.gff
Type: application/octet-stream
Size: 2226553 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chado-feature-8NT9.dat
Type: application/octet-stream
Size: 253555 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chado-feature_cvterm-4SUR.dat
Type: application/octet-stream
Size: 3 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chado-feature_dbxref-WF43.dat
Type: application/octet-stream
Size: 97523 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chado-featureloc-CGzT.dat
Type: application/octet-stream
Size: 359317 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chado-featureprop-3Kqs.dat
Type: application/octet-stream
Size: 2193229 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chado-feature_relationship-2TGg.dat
Type: application/octet-stream
Size: 3 bytes
Desc: not available
URL: <http://brie4.cshl.edu/pipermail/gmod-help/attachments/20100427/3d13f84d/attachment-0006.obj>
More information about the Gmod-help
mailing list