Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Louis BECQUEY
/
RNANet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Louis BECQUEY
2020-07-28 17:24:23 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd665f4f84bdd55afc21b9e74abb6a6eecb82b71
bd665f4f
1 parent
18394e1c
Nt-specific Biopython PortionSelector
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
.gitignore
RNAnet.py
automate.sh
statistics.py
.gitignore
View file @
bd665f4
...
...
@@ -3,7 +3,8 @@ nohup.out
log_of_the_run.sh
# results
results/
results/*
logs/*
# temporary results files
data/
...
...
RNAnet.py
View file @
bd665f4
This diff is collapsed. Click to expand it.
automate.sh
View file @
bd665f4
...
...
@@ -3,7 +3,7 @@
# Run RNANet
cd
/home/lbecquey/Projects/RNANet;
rm -f stdout.txt stderr.txt errors.txt;
time
'./RNAnet.py --3d-folder /home/lbequey/Data/RNA/3D/ --seq-folder /home/lbecquey/Data/RNA/sequences/'
> stdout.txt 2> stderr.txt;
time
'./RNAnet.py --3d-folder /home/lbequey/Data/RNA/3D/ --seq-folder /home/lbecquey/Data/RNA/sequences/
-s -r 20.0
'
> stdout.txt 2> stderr.txt;
# Sync in Seafile
seaf-cli start;
...
...
statistics.py
View file @
bd665f4
...
...
@@ -433,6 +433,7 @@ def to_dist_matrix(f):
notify
(
f
"Computed {f} distance matrix"
,
"loaded from file"
)
return
0
notify
(
f
"Computing {f} distance matrix from alignment..."
)
dm
=
DistanceCalculator
(
'identity'
)
with
open
(
path_to_seq_data
+
"/realigned/"
+
f
+
"++.afa"
)
as
al_file
:
al
=
AlignIO
.
read
(
al_file
,
"fasta"
)[
-
len
(
mappings_list
[
f
]):]
...
...
@@ -542,10 +543,10 @@ if __name__ == "__main__":
threads
=
[
th
.
Thread
(
target
=
reproduce_wadley_results
,
kwargs
=
{
'carbon'
:
1
}),
th
.
Thread
(
target
=
reproduce_wadley_results
,
kwargs
=
{
'carbon'
:
4
}),
#
th.Thread(target=stats_len), # computes figures
#
th.Thread(target=stats_freq), # Updates the database
# th.Thread(target=seq_idty),
# produces .npy files and seq idty figures
#
th.Thread(target=per_chain_stats) # Updates the database
th
.
Thread
(
target
=
stats_len
),
# computes figures
th
.
Thread
(
target
=
stats_freq
),
# Updates the database
th
.
Thread
(
target
=
seq_idty
),
# produces .npy files and seq idty figures
th
.
Thread
(
target
=
per_chain_stats
)
# Updates the database
]
# Start the threads
...
...
Please
register
or
login
to post a comment