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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DIADE
dynadiv
GrAnnoT
Commits
ac7f08ac
Commit
ac7f08ac
authored
3 months ago
by
nina.marthe_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
emptied this file by putting the functions in other files
parent
419e7704
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GrAnnoT/Functions_output.py
+0
-19
0 additions, 19 deletions
GrAnnoT/Functions_output.py
with
0 additions
and
19 deletions
GrAnnoT/Functions_output.py
deleted
100644 → 0
+
0
−
19
View file @
419e7704
from
.intersect
import
Segments
# not used.
# get all the segments from a list that are not on the target genome
def
get_list_segments_missing
(
list_seg
,
segments_on_target_genome
):
segments_missing
=
[]
for
segment
in
list_seg
:
if
segment
not
in
segments_on_target_genome
:
segments_missing
.
append
(
Segments
[
segment
])
return
segments_missing
# for two segments on the target genome, find a walk that has both
def
find_common_walk
(
seg1
,
seg2
,
segments_on_target_genome
):
for
walk
in
segments_on_target_genome
[
seg1
]:
if
walk
in
segments_on_target_genome
[
seg2
]:
return
walk
return
False
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