Skip to content
Snippets Groups Projects
Commit d2f5a5eb authored by Magali Ruffier's avatar Magali Ruffier
Browse files

was a bit too verbose

parent aef7bd10
No related branches found
No related tags found
No related merge requests found
......@@ -426,6 +426,7 @@ GSQL
push @xref_list, $xref_id;
$count++;
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label, $version, $desc, $type, $info || $where_from);
print "Adding xref $xref_id with label $label\n";
$last_xref = $xref_id;
}
$add_object_xref_sth->execute( ($object_xref_id+$object_xref_offset), $ensembl_id, $ensembl_type, ($xref_id+$xref_offset), $analysis_ids{$ensembl_type});
......@@ -564,6 +565,7 @@ GSQL
while($get_xref_interpro_sth->fetch){
$version||='0';
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label, $version, $desc, 'UNMAPPED', $info);
print "Adding xref $xref_id with label $label\n";
$set_unmapped_sth->execute($analysis_id, $ex_id, $acc, $reason_id{"NO_MAPPING"} );
push @xref_list, $xref_id;
}
......@@ -622,6 +624,7 @@ DIR
my $ex_id = $name_to_external_db_id{$dbname};
if(defined($name_to_external_db_id{$dbname})){
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label, $version, $desc, 'UNMAPPED', $info);
print "Adding xref $xref_id with label $label\n";
$set_unmapped_sth->execute($analysis_id, $ex_id, $acc, $reason_id{"NO_STABLE_ID"});
push @xref_list, $xref_id;
}
......@@ -658,6 +661,7 @@ MIS
my $ex_id = $name_to_external_db_id{$dbname};
if(defined($name_to_external_db_id{$dbname})){
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label, $version, $desc, 'UNMAPPED', $info);
print "Adding xref $xref_id with label $label\n";
$set_unmapped_sth->execute($analysis_id, $ex_id, $acc, $reason_id{"NO_MAPPING"});
push @xref_list, $xref_id;
}
......@@ -705,6 +709,7 @@ DEP
}
if($last_acc ne $acc){
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label||$acc, $version, $desc, 'UNMAPPED', $info);
print "Adding xref $xref_id with label $label\n";
}
$last_acc = $acc;
$set_unmapped_sth->execute($analysis_id, $ex_id, $acc, $parent);
......@@ -759,6 +764,7 @@ SEQ
}
if($last_xref != $xref_id){
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label, $version, $desc, 'UNMAPPED', $info);
print "Adding xref $xref_id with label $label\n";
}
$last_xref = $xref_id;
if(defined($ensembl_id)){
......@@ -819,6 +825,7 @@ WEL
next;
}
$add_xref_sth->execute(($xref_id+$xref_offset), $ex_id, $acc, $label, $version, $desc, 'UNMAPPED', $info);
print "Adding xref $xref_id with label $label\n";
$set_unmapped_sth->execute($analysis_id, $ex_id, $acc);
push @xref_list, $xref_id;
}
......
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