Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assessment tool does NOT support python2.7 #10

Open
kad-ecoli opened this issue Jan 28, 2021 · 1 comment
Open

assessment tool does NOT support python2.7 #10

kad-ecoli opened this issue Jan 28, 2021 · 1 comment

Comments

@kad-ecoli
Copy link

I test assessment tool using both python2.7 and python3.6 on ZZZ_1_9606.txt
The result obtained by python2 is

AUTHOR:ZZZ
MODEL: 1
KEYWORDS: sequence alignment
Species:9606
Ontology	Type	Mode	 | Fmax	Threshold	Coverage
bpo	NK	partial	 | 0.00184647031466	0.0	0.570833333333
bpo	NK	full	 | 0.00184518954811	0.0	0.570833333333
bpo	LK	partial	 | 0.0602150537634	0.51	0.49255952381
bpo	LK	full	 | 0.0392156862745	0.34	0.49255952381
cco	NK	partial	 | 0.0982142857143	0.22	0.570093457944
cco	NK	full	 | 0.0713860797145	0.17	0.570093457944
cco	LK	partial	 | 0.115068493151	0.04	0.548872180451
cco	LK	full	 | 0.0923076923077	0.04	0.548872180451
mfo	NK	partial	 | 0.00145036598446	0.0	0.56462585034
mfo	NK	full	 | 0.00144955542605	0.0	0.56462585034
mfo	LK	partial	 | 0.0269058295964	0.02	0.483333333333
mfo	LK	full	 | 0.0210526315789	0.02	0.483333333333

The result obtained by python3 is

AUTHOR:ZZZ
MODEL: 1
KEYWORDS: sequence alignment
Species:9606
Ontology	Type	Mode	 | Fmax	Threshold	Coverage
bpo	NK	partial	 | 0.14902310046780948	0.01	0.5708333333333333
bpo	NK	full	 | 0.12784139889804744	0.01	0.5708333333333333
bpo	LK	partial	 | 0.21071890028168552	0.07	0.49255952380952384
bpo	LK	full	 | 0.15637325760219684	0.02	0.49255952380952384
cco	NK	partial	 | 0.32272362036312396	0.17	0.5700934579439252
cco	NK	full	 | 0.2549964762038814	0.02	0.5700934579439252
cco	LK	partial	 | 0.44580405592365485	0.09	0.5488721804511278
cco	LK	full	 | 0.3319529843862884	0.04	0.5488721804511278
mfo	NK	partial	 | 0.2164934517943799	0.07	0.564625850340136
mfo	NK	full	 | 0.15885325628136018	0.07	0.564625850340136
mfo	LK	partial	 | 0.2192607053388809	0.02	0.48333333333333334
mfo	LK	full	 | 0.1611387304848738	0.02	0.48333333333333334

Apparently, the result computed by python2 is incorrect. If this is the case, we should change the README and the shebang line to indicate that python3 is needed.

@Worldseer
Copy link

I also had the same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants