Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
e1538de3
Commit
e1538de3
authored
20 years ago
by
Graham McVicker
Browse files
Options
Downloads
Patches
Plain Diff
added forgotten important detail about using AssemblyMapper vs. using ChainedAssemblyMapper
parent
181deba4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc-scripts/chimp/README
+28
-1
28 additions, 1 deletion
misc-scripts/chimp/README
with
28 additions
and
1 deletion
misc-scripts/chimp/README
+
28
−
1
View file @
e1538de3
...
...
@@ -56,6 +56,32 @@ rather than typing in all of the command line arguments. The
ensembl/misc-scripts/chimp/run_hum2chimp.sh script is an example of
how this can be done.
*important*
The program requires the use of the API's ChainedMapper even when there is a
a 2-step mapping path. This is because the ChainedMapper correctly deals
with a component sequence regions which map to multiple assembled sequence
regions whereas the standard AssemblyMapper does not (for speed reasons).
The use of the ChainedMapper currently needs to be hardcoded. It was
intended to make the mapper used configurable with database meta data
but this has not been done yet. The following shows lines in the
Bio::EnsEMBL::DBSQL::AssemblyMapperAdaptor module that must be changed
prior to running the human2chimp.pl program. The $asm_mapper variable
is set to a ChainedAssemblyMapper rather than a normal AssemblyMapper.
At the time of writing these were lines 183-192:
if(@mapping_path == 2) {
#1 step regular mapping
# $asm_mapper = Bio::EnsEMBL::AssemblyMapper->new($self, @mapping_path);
# If you want multiple pieces on two seqRegions to map to each other
# uncomment following. AssemblyMapper assumes only one mapped piece per contig
$asm_mapper = Bio::EnsEMBL::ChainedAssemblyMapper->new( $self, $mapping_path[0], undef, $mapping_path[1] );
$self->{'_asm_mapper_cache'}->{$key} = $asm_mapper;
return $asm_mapper;
}
ALGORITHM
=========
...
...
@@ -325,4 +351,5 @@ BUGS
of a frameshift intron. Currently the exon is discarded, but it could be
kept with some tricky changes to the code.
* There are probably other bugs as well...
\ No newline at end of file
* There are probably other bugs as well...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment