Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mutalyzer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
mutalyzer
Commits
1c012dc9
Commit
1c012dc9
authored
9 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
Only run import-reference on mitochondrial refs
parent
cbc29164
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
mutalyzer/mapping.py
+3
-0
3 additions, 0 deletions
mutalyzer/mapping.py
with
3 additions
and
0 deletions
mutalyzer/mapping.py
+
3
−
0
View file @
1c012dc9
...
@@ -860,6 +860,9 @@ def import_from_reference(assembly, reference):
...
@@ -860,6 +860,9 @@ def import_from_reference(assembly, reference):
retriever
=
Retriever
.
GenBankRetriever
(
output
)
retriever
=
Retriever
.
GenBankRetriever
(
output
)
record
=
retriever
.
loadrecord
(
reference
)
record
=
retriever
.
loadrecord
(
reference
)
if
record
.
molType
!=
'
m
'
:
raise
ValueError
(
'
Only mitochondial references are supported
'
)
select_transcript
=
len
(
record
.
geneList
)
>
1
select_transcript
=
len
(
record
.
geneList
)
>
1
for
gene
in
record
.
geneList
:
for
gene
in
record
.
geneList
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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