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
genotoul-bioinfo
D-GENIES
Commits
fc4c218b
Commit
fc4c218b
authored
Mar 02, 2018
by
Floreal Cabanettes
Browse files
Merge branch 'master' into multitools
parents
5ffb3ec6
1c9d5160
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/dgenies/bin/sort_paf.py
View file @
fc4c218b
...
...
@@ -90,14 +90,11 @@ class Sorter:
pct_to_keep
=
2000000
/
num_lines
limit
=
int
(
nb_lines
*
pct_to_keep
)
paf_lines
=
paf_lines
[:
limit
]
print
(
len
(
paf_lines
))
min_len
=
paf_lines
[
-
1
][
-
1
]
print
(
min_len
)
print
(
"Sorting done!"
)
elif
len_line
>=
min_len
:
print
(
"Processing line %d..."
%
nb_lines
)
paf_lines
.
append
(
parts
)
print
(
len
(
paf_lines
))
paf_lines
.
sort
(
key
=
lambda
x
:
-
x
[
-
1
])
return
paf_lines
...
...
src/dgenies/templates/status.html
View file @
fc4c218b
...
...
@@ -66,7 +66,7 @@
{% else %}
<p>
This job does not exists!
</p>
{% endif %}
{% if status not in ["success", "no
_
match", "fail"] %}
{% if status not in ["success", "no
-
match", "fail"] %}
{% if mode == "webserver" %}
You will receive an email when it will be finished.
<br/>
Alternatively, you can refresh this page to update status.
</p>
...
...
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