From 2ae8a3e685e2528d8b5672ff3faa6189d10dab44 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Tue, 17 Jan 2012 14:41:44 +0000 Subject: [PATCH] Missing a comma in the docs & updating the example to repeat types which are currently in use --- modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm | 4 ++-- modules/Bio/EnsEMBL/Slice.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm index bc282339b6..4e8363faf4 100644 --- a/modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/RepeatFeatureAdaptor.pm @@ -62,8 +62,8 @@ use vars qw(@ISA); Arg [3] : (optional) string/array $repeat_type Limits RepeatFeatures obtained to those of specified repeat_type - Example : @rfeats = @{$rfa->fetch_all_by_Slice($slice, undef, 'LTR')}; - @rfeats = @{$rfa->fetch_all_by_Slice($slice, undef, ['Type II Transposons' 'RNA repeats'])}; + Example : @rfeats = @{$rfa->fetch_all_by_Slice($slice, undef, 'Type II Transposons')}; + @rfeats = @{$rfa->fetch_all_by_Slice($slice, undef, ['Type II Transposons', 'RNA repeats'])}; Description: Retrieves repeat features overlapping the area designated by the provided slice argument. Returned features will be in in the same coordinate system as the provided slice and will diff --git a/modules/Bio/EnsEMBL/Slice.pm b/modules/Bio/EnsEMBL/Slice.pm index c01db2c187..3b89df2b47 100644 --- a/modules/Bio/EnsEMBL/Slice.pm +++ b/modules/Bio/EnsEMBL/Slice.pm @@ -1528,7 +1528,7 @@ sub get_all_SimpleFeatures { to limit by more than one Arg [3] : (optional) string $db Key for database e.g. core/vega/cdna/.... - Example : @repeat_feats = @{$slice->get_all_RepeatFeatures(undef,'LTR')}; + Example : @repeat_feats = @{$slice->get_all_RepeatFeatures(undef,'Type II Transposons')}; Description: Retrieves the RepeatFeatures which overlap with logic name $logic_name and with score above $score. If $logic_name is not defined features of all logic names are -- GitLab