Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
VEBER Philippe
codepi
Commits
a168c06f
Commit
a168c06f
authored
Sep 11, 2018
by
Carine Rey
Browse files
update the C4AmaranthaceaePolyroot tree
parent
ede49dcc
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
example/trees4analyses_db/C4AmaranthaceaePolyroot.bl_0.15.nhx
...ple/trees4analyses_db/C4AmaranthaceaePolyroot.bl_0.15.nhx
+1
-1
example/trees4analyses_db/C4AmaranthaceaePolyroot.nhx
example/trees4analyses_db/C4AmaranthaceaePolyroot.nhx
+1
-1
example/trees4analyses_db/command.py
example/trees4analyses_db/command.py
+6
-0
example/trees_rescaled/C4AmaranthaceaePolyroot.bl_0.15.nhx
example/trees_rescaled/C4AmaranthaceaePolyroot.bl_0.15.nhx
+1
-1
No files found.
example/trees4analyses_db/C4AmaranthaceaePolyroot.bl_0.15.nhx
View file @
a168c06f
This diff is collapsed.
Click to expand it.
example/trees4analyses_db/C4AmaranthaceaePolyroot.nhx
View file @
a168c06f
This diff is collapsed.
Click to expand it.
example/trees4analyses_db/command.py
View file @
a168c06f
from
ete3
import
Tree
import
sys
f_l
=
[
"./C4AmaranthaceaePolyroot.nhx"
,
"./cyp_coding.Chrysithr_root.nhx"
]
def
m_bl
(
t_n
,
m
):
t
=
Tree
(
t_n
)
nb_root_children
=
len
(
t
.
get_children
())
if
nb_root_children
>
2
:
print
(
"Unrooted tree"
)
sys
.
exit
(
1
)
for
n
in
t
.
traverse
():
n
.
dist
=
n
.
dist
*
m
out_n
=
t_n
.
replace
(
".nhx"
,
".bl_%.2f.nhx"
%
(
m
))
...
...
example/trees_rescaled/C4AmaranthaceaePolyroot.bl_0.15.nhx
View file @
a168c06f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment