Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
5d3374aa
Commit
5d3374aa
authored
Oct 05, 2018
by
Mikaël Salson
Committed by
Vidjil
Oct 05, 2018
Browse files
sample_set.py: genescan, 100-600bp, more robust
parent
75bfde63
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/sample_set.py
View file @
5d3374aa
...
...
@@ -703,13 +703,16 @@ def getFusedStats(file_name, res, dest):
tmp
=
{}
for
c
in
data
[
'clones'
]:
arl
=
int
(
math
.
ceil
(
c
[
'_average_read_length'
][
result_index
]))
try
:
arl
=
int
(
math
.
ceil
(
c
[
'_average_read_length'
][
result_index
]))
except
:
continue
if
arl
>
0
:
if
arl
not
in
tmp
:
tmp
[
arl
]
=
0.0
tmp
[
arl
]
+=
float
(
c
[
'reads'
][
result_index
])
min_len
=
0
#int(min(tmp.keys()))
max_len
=
5
00
#int(max(tmp.keys()))
min_len
=
10
0
#int(min(tmp.keys()))
max_len
=
6
00
#int(max(tmp.keys()))
tmp_list
=
[]
if
mapped_reads
==
0
:
...
...
Mathieu Giraud
@magiraud
mentioned in issue
#3526 (closed)
·
Oct 05, 2018
mentioned in issue
#3526 (closed)
mentioned in issue #3526
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment