diff --git a/misc-scripts/density_feature/percent_gc_calc.pl b/misc-scripts/density_feature/percent_gc_calc.pl index 1f15a79701a37aa69d2f06f9489f246aa472ec9a..e3ebcb84841242052628ada3953ee4ba2f8cf58b 100644 --- a/misc-scripts/density_feature/percent_gc_calc.pl +++ b/misc-scripts/density_feature/percent_gc_calc.pl @@ -60,7 +60,7 @@ FROM density_feature df, density_type dt, analysis a, analysis_description ad WHERE a.analysis_id=dt.analysis_id AND ad.analysis_id = a.analysis_id AND dt.density_type_id=df.density_type_id -AND a.logic_name='PercentGC') ); +AND a.logic_name='percentgc') ); $sth->execute(); # $sth = $db->dbc()->prepare( @@ -95,7 +95,7 @@ my $analysis = -database => "ensembl", -gff_source => "percent_gc_calc.pl", -gff_feature => "density", - -logic_name => "PercentGC", + -logic_name => "percentgc", -description => 'Percentage of G/C bases in the sequence.', -display_label => 'GC content', -displayable => 1 ); diff --git a/misc-scripts/density_feature/repeat_coverage_calc.pl b/misc-scripts/density_feature/repeat_coverage_calc.pl index 6008bcc62239fb57804dffacf7cca052ae2f31ed..f26427621d2b134d8bbc39d41d8c28d9e7ffeb93 100644 --- a/misc-scripts/density_feature/repeat_coverage_calc.pl +++ b/misc-scripts/density_feature/repeat_coverage_calc.pl @@ -64,14 +64,14 @@ if( ! $repeat_count ) { # 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 = $db->dbc()->prepare( # qq( # DELETE ad # FROM analysis_description ad -# WHERE ad.display_label = 'PercentageRepeat') ); +# WHERE ad.display_label = 'percentagerepeat') ); # $sth->execute(); my $slice_adaptor = $db->get_SliceAdaptor(); @@ -91,7 +91,7 @@ my $analysis = -database => "ensembl", -gff_source => "repeat_coverage_calc.pl", -gff_feature => "density", - -logic_name => "PercentageRepeat", + -logic_name => "percentagerepeat", -description => 'Percentage of repetetive elements for top level seq_regions.', -display_label => 'Repeats (percent)',