Commit 2d16cb43 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

do not insert unliked xrefs as go_xrefs

there should not be any, and we end up adding data which is not an ontology
parent c728a581
......@@ -61,13 +61,6 @@ IOS
my $ins_ix_sth = $self->get_ins_ix_sth();
my $ins_go_no_source_sql = (<<"IG2");
INSERT INTO go_xref (object_xref_id, linkage_type)
VALUES (?,?)
my $insert_go_sth = $self->xref->dbc->prepare($ins_go_no_source_sql);
my $stable_sql=(<<"SQL");
SELECT, dx.general_xref_id, s.internal_id, dx.ensembl_stable_id , dx.linkage_xref
FROM source so, xref x, TYPE_direct_xref dx left join TYPE_stable_id s on s.stable_id = dx.ensembl_stable_id
......@@ -123,9 +116,6 @@ SQL
push @master_xref_ids, $xref_id;
if(defined($linkage_type) and $linkage_type ne ""){
$insert_go_sth->execute($object_xref_id, $linkage_type);
$self->process_dependents({master_xrefs => \@master_xref_ids,
max_object_xref_id => \$object_xref_id,
dup_count => \$duplicate_dependent_count,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment