Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl
Commits
b036ffb3
Commit
b036ffb3
authored
May 17, 2010
by
William McLaren
Browse files
Documentation corrections
parent
4695066f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
modules/Bio/EnsEMBL/DBSQL/StrainSliceAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/StrainSliceAdaptor.pm
+7
-4
No files found.
modules/Bio/EnsEMBL/DBSQL/StrainSliceAdaptor.pm
View file @
b036ffb3
...
...
@@ -28,11 +28,14 @@ representing alternative assemblies
my $slice =
$slice_adaptor->fetch_by_region( 'chromosome', 14, 900000, 950000 );
my $msc = Bio::EnsEMBL::MappedSliceContainer->new(
-SLICE => $slice
);
my $msc = Bio::EnsEMBL::MappedSliceContainer->new(-SLICE => $slice);
my $asa = Bio::EnsEMBL::DBSQL::StrainSliceAdaptor->new;
my ($mapped_slice) = @{ $asa->fetch_by_version( $msc, 'NCBIM36' ) };
# create a new strain slice adaptor and attach it to the MSC
my $ssa = Bio::EnsEMBL::DBSQL::StrainSliceAdaptor->new($sa->db);
$msc->set_StrainSliceAdaptor($ssa);
# now attach strain
$msc->attach_StrainSlice('Watson');
=head1 DESCRIPTION
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment