Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
medema-group
BiG-SCAPE
Commits
72bd53c4
Commit
72bd53c4
authored
Jan 27, 2020
by
Jorge Navarro Muñoz
Browse files
BiG-SCAPE version: bump to version 1.0
parent
3e0a2a56
Changes
1
Hide whitespace changes
Inline
Side-by-side
bigscape.py
View file @
72bd53c4
...
...
@@ -2100,7 +2100,7 @@ def CMD_parser():
domain_whitelist.txt file"
,
default
=
False
,
action
=
"store_true"
)
parser
.
add_argument
(
"--version"
,
action
=
"version"
,
version
=
"%(prog)s
20191011
"
)
parser
.
add_argument
(
"--version"
,
action
=
"version"
,
version
=
"%(prog)s
1.0 (2020-01-27)
"
)
return
parser
.
parse_args
()
...
...
@@ -3303,7 +3303,7 @@ if __name__=="__main__":
identifier
=
bgc_info
[
bgc
].
organism
else
:
# use original genome file name (i.e. exclude "..clusterXXX from antiSMASH run")
file_name_base
=
os
.
path
.
splitext
(
os
.
path
.
basename
(
genbankDict
[
bgc
][
0
]))[
0
]
identifier
=
file_name_base
.
rsplit
(
".cluster"
,
1
)[
0
]
identifier
=
file_name_base
.
rsplit
(
".cluster"
,
1
)[
0
]
.
rsplit
(
".region"
,
1
)[
0
]
if
len
(
identifier
)
<
1
:
identifier
=
"Unknown Genome {}"
.
format
(
len
(
genomes
))
if
identifier
not
in
genomes
:
...
...
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