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

regulatory_feature_transcript->regulatory_feature_coding

parent 8f0c3dbb
No related branches found
No related tags found
No related merge requests found
......@@ -19,8 +19,8 @@ sub delete_existing {
print "Deleting existing features & related data for type $type\n";
# Delete any regulatory_factor_transcript entries first
my $sth = $db_adaptor->dbc->prepare("DELETE rft FROM regulatory_feature rfeat, regulatory_factor_transcript rft, analysis a WHERE rfeat.regulatory_factor_id=rft.regulatory_factor_id AND a.analysis_id=rfeat.analysis_id AND LOWER(a.analysis_id)=?");
# Delete any regulatory_feature_coding entries first
my $sth = $db_adaptor->dbc->prepare("DELETE rft FROM regulatory_feature rfeat, regulatory_factor_coding rft, analysis a WHERE rfeat.regulatory_factor_id=rft.regulatory_factor_id AND a.analysis_id=rfeat.analysis_id AND LOWER(a.analysis_id)=?");
$sth->execute($t);
# now delete interlinked regulatory_feature, regulatory_factor and regulatory_feature_object entries
......
......@@ -44,7 +44,7 @@ sub parse {
my %feature_objects;
my %anal;
# TODO - regulatory_factor_transcripts
# TODO - regulatory_factor_coding
my $stable_id_to_internal_id = $self->build_stable_id_cache($db_adaptor);
......
......@@ -38,7 +38,7 @@ sub parse {
my %feature_objects;
my %anal;
# TODO - regulatory_factor_transcripts
# TODO - regulatory_factor_coding
my $stable_id_to_internal_id = $self->build_stable_id_cache($db_adaptor);
......
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