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
189e853c
Commit
189e853c
authored
1 year ago
by
nina.marthe_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
changed the way to get the list of features to transfer
parent
c6236928
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Functions_output.py
+2
-2
2 additions, 2 deletions
Functions_output.py
main.py
+1
-1
1 addition, 1 deletion
main.py
with
3 additions
and
3 deletions
Functions_output.py
+
2
−
2
View file @
189e853c
...
...
@@ -51,7 +51,7 @@ def gff_one(first_seg,last_seg,feature_id,list_seg,max_diff):
# writes the gff of azucena using the gff of the graph
def
genome_gff
(
pos_seg
,
gff
,
gfa
,
out_once
,
out_detail
,
out_var
,
target_genome_name
,
max_diff
):
def
genome_gff
(
pos_seg
,
gfa
,
out_once
,
out_detail
,
out_var
,
target_genome_name
,
max_diff
):
print
(
"
generation of the genome
'
s gff
"
)
# create variables and open files
...
...
@@ -83,7 +83,7 @@ def genome_gff(pos_seg, gff, gfa, out_once, out_detail, out_var,target_genome_na
# no segment is missing, the feature is complete - feature_ok
# total number of features, with missing segments or not - feature_total
get_segments_positions_on_genome
(
pos_seg
)
list_feature_to_transfer
=
get_all_features_in_gff
(
gff
)
# get the list of all the features to transfer from the gff
list_feature_to_transfer
=
Features
.
keys
()
for
feat
in
list_feature_to_transfer
:
...
...
This diff is collapsed.
Click to expand it.
main.py
+
1
−
1
View file @
189e853c
...
...
@@ -43,7 +43,7 @@ if run=="command_line":
# outputs the gff of a genome for the chr10
max_diff
=
2
# maximum size difference (n times bigger or smaller) between the gene on the reference genome and the gene on the target genome for the gene to be transfered.
genome_gff
(
pos_seg
,
out_gff
,
gfa
,
out_once
,
out_detail
,
out_var
,
target_genome_name
,
max_diff
)
genome_gff
(
pos_seg
,
gfa
,
out_once
,
out_detail
,
out_var
,
target_genome_name
,
max_diff
)
...
...
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