Skip to content
Snippets Groups Projects
Commit e961591a authored by Ensembl Account's avatar Ensembl Account
Browse files

lowercase logicname

parent 32ef911b
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,7 @@ FROM density_feature df, density_type dt, analysis a, analysis_description ad ...@@ -60,7 +60,7 @@ FROM density_feature df, density_type dt, analysis a, analysis_description ad
WHERE a.analysis_id=dt.analysis_id WHERE a.analysis_id=dt.analysis_id
AND ad.analysis_id = a.analysis_id AND ad.analysis_id = a.analysis_id
AND dt.density_type_id=df.density_type_id AND dt.density_type_id=df.density_type_id
AND a.logic_name='PercentGC') ); AND a.logic_name='percentgc') );
$sth->execute(); $sth->execute();
# $sth = $db->dbc()->prepare( # $sth = $db->dbc()->prepare(
...@@ -95,7 +95,7 @@ my $analysis = ...@@ -95,7 +95,7 @@ my $analysis =
-database => "ensembl", -database => "ensembl",
-gff_source => "percent_gc_calc.pl", -gff_source => "percent_gc_calc.pl",
-gff_feature => "density", -gff_feature => "density",
-logic_name => "PercentGC", -logic_name => "percentgc",
-description => 'Percentage of G/C bases in the sequence.', -description => 'Percentage of G/C bases in the sequence.',
-display_label => 'GC content', -display_label => 'GC content',
-displayable => 1 ); -displayable => 1 );
......
...@@ -64,14 +64,14 @@ if( ! $repeat_count ) { ...@@ -64,14 +64,14 @@ if( ! $repeat_count ) {
# #
print "Deleting old PercentageRepeat features\n"; print "Deleting old PercentageRepeat features\n";
$sth = $db->dbc->prepare("DELETE df, dt, a, ad FROM analysis_description ad, density_feature df, density_type dt, analysis a WHERE ad.analysis_id = a.analysis_id AND a.analysis_id=dt.analysis_id AND dt.density_type_id=df.density_type_id AND a.logic_name='PercentageRepeat'"); $sth = $db->dbc->prepare("DELETE df, dt, a, ad FROM analysis_description ad, density_feature df, density_type dt, analysis a WHERE ad.analysis_id = a.analysis_id AND a.analysis_id=dt.analysis_id AND dt.density_type_id=df.density_type_id AND a.logic_name='rercentagerepeat'");
$sth->execute(); $sth->execute();
# $sth = $db->dbc()->prepare( # $sth = $db->dbc()->prepare(
# qq( # qq(
# DELETE ad # DELETE ad
# FROM analysis_description ad # FROM analysis_description ad
# WHERE ad.display_label = 'PercentageRepeat') ); # WHERE ad.display_label = 'percentagerepeat') );
# $sth->execute(); # $sth->execute();
my $slice_adaptor = $db->get_SliceAdaptor(); my $slice_adaptor = $db->get_SliceAdaptor();
...@@ -91,7 +91,7 @@ my $analysis = ...@@ -91,7 +91,7 @@ my $analysis =
-database => "ensembl", -database => "ensembl",
-gff_source => "repeat_coverage_calc.pl", -gff_source => "repeat_coverage_calc.pl",
-gff_feature => "density", -gff_feature => "density",
-logic_name => "PercentageRepeat", -logic_name => "percentagerepeat",
-description => -description =>
'Percentage of repetetive elements for top level seq_regions.', 'Percentage of repetetive elements for top level seq_regions.',
-display_label => 'Repeats (percent)', -display_label => 'Repeats (percent)',
......
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