Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GrAnnoT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DIADE
dynadiv
GrAnnoT
Commits
bcd1c074
Commit
bcd1c074
authored
Mar 12, 2024
by
nina.marthe_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
reorganised functions
parent
7f0c3494
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Functions.py
+3
-0
3 additions, 0 deletions
Functions.py
with
3 additions
and
0 deletions
Functions.py
+
3
−
0
View file @
bcd1c074
...
@@ -613,6 +613,9 @@ def continue_var(variation,seg_seq,feature_path_source_genome,feature_path_targe
...
@@ -613,6 +613,9 @@ def continue_var(variation,seg_seq,feature_path_source_genome,feature_path_targe
variation
.
ref
+=
get_segment_sequence
(
seg_seq
,
feature_path_source_genome
[
i
])
variation
.
ref
+=
get_segment_sequence
(
seg_seq
,
feature_path_source_genome
[
i
])
variation
.
seg_ref
.
append
(
feature_path_source_genome
[
i
])
variation
.
seg_ref
.
append
(
feature_path_source_genome
[
i
])
# functions to detect inversions
# gives the list of segments from list1 that are in list2
# gives the list of segments from list1 that are in list2
def
get_common_segments
(
dict1
,
dict2
):
def
get_common_segments
(
dict1
,
dict2
):
list_common
=
[]
list_common
=
[]
...
...
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
sign in
to comment