Skip to content
Snippets Groups Projects
Commit f6ff3768 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Added storing of dependent xref label and linkage annotation (mainly for GO...

Added storing of dependent xref label and linkage annotation (mainly for GO dependent xrefs so far).
parent c40a1f72
No related branches found
No related tags found
No related merge requests found
......@@ -208,14 +208,14 @@ sub upload_xrefs {
my %dep = %$depref;
$xref_sth->execute($dep{ACCESSION},
"",
$dep{LABEL},
"",
$dep{SOURCE_ID},
$xref->{SPECIES_ID});
my $dep_xref_id = insert_or_select($xref_sth, $dbi->err, $dep{ACCESSION}, $dep{SOURCE_ID});
$dep_sth->execute($xref_id, $dep_xref_id, '', $dep{SOURCE_ID} ) || die $dbi->errstr;
$dep_sth->execute($xref_id, $dep_xref_id, $dep{LINKAGE_ANNOTATION}, $dep{SOURCE_ID} ) || die $dbi->errstr;
# TODO linkage anntation?
} # foreach dep
......
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