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
bis-aria
ariaec
Commits
ac092778
Commit
ac092778
authored
Jan 18, 2016
by
fabrice
Browse files
Bug fixe: error when using only one contactfilter
parent
34b074a5
Changes
5
Hide whitespace changes
Inline
Side-by-side
ariaec/conf/aria_ec.ini
View file @
ac092778
...
...
@@ -60,10 +60,10 @@ cb_upper_bound: 7.0
; ---------------------------- Filter parameters ----------------------------- #
; n_factor : Number of EC selected: n * n_factor (n: sequence length)
; contactfilter : all or combinaison of pos, cons, cys, ssclash, nd
; separated by "+" character [
all
]. If empty, use only position
; separated by "+" character [
pos
]. If empty, use only position
; filter (avoid short range restraints)
n_factor:
1.0
contactfilter:
all
contactfilter:
pos
conservation_treshold:
95
position_treshold:
5
nd_beta:
0.99
...
...
ariaec/econverter.py
View file @
ac092778
...
...
@@ -611,7 +611,6 @@ class AriaEcXMLConverter(AriaXMLConverter):
}
xml_file
=
self
.
settings
.
infra
[
"xml"
]
+
"/"
+
"_"
.
join
((
self
.
outprefix
,
listname
))
+
".xml"
print
(
restraint_dict
)
self
.
write_dist_xml
(
restraint_dict
,
xml_file
)
return
xml_file
,
pair_list
...
...
ariaec/econverter.pyc
View file @
ac092778
No preview for this file type
ariaec/protmap.py
View file @
ac092778
...
...
@@ -946,9 +946,12 @@ class MapFilter:
if
mapfilters
==
"all"
:
mapfilters
=
self
.
filter_types
elif
not
mapfilters
:
mapfilters
=
(
"pos"
,
)
mapfilters
=
[
"pos"
,
]
else
:
mapfilters
=
[
elm
for
elm
in
mapfilters
if
elm
in
self
.
filter_types
]
if
type
(
mapfilters
)
==
list
:
mapfilters
=
[
elm
for
elm
in
mapfilters
if
elm
in
self
.
filter_types
]
else
:
mapfilters
=
[
mapfilters
]
logger
.
info
(
"Filtering %s contact map"
%
mtype
)
for
flt
in
mapfilters
:
# /!\ cys unicity filter must be the last filter !
...
...
ariaec/protmap.pyc
View file @
ac092778
No preview for this file type
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