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

weird e-value #37

Open
lmdu opened this issue Oct 14, 2017 · 6 comments
Open

weird e-value #37

lmdu opened this issue Oct 14, 2017 · 6 comments

Comments

@lmdu
Copy link

lmdu commented Oct 14, 2017

Hi,
I used rapsearch2 to align DNA sequence to swissprot database, but I got weird evalues that do not like blast evalue.

TCONS_00000002 F4J9M5.1 41.2 97 56 1 3140 3427 497 593 0x1.08cb95295ce89p-303 73.6
TCONS_00000002 F4J9M5.1 51.0 157 77 0 3782 4252 708 864 0x1.08cb95295ce89p-303 168.7
TCONS_00000002 Q7ZU90.1 54.5 156 69 1 3782 4249 331 484 0x1.0e2cdd35f73f5p-300 166.8
TCONS_00000002 Q7ZU90.1 83.3 6 1 0 12592 12609 837 842 0x1.0e2cdd35f73f5p-300 16.5
TCONS_00000002 Q7ZU90.1 43.0 93 51 2 2831 3103 35 127 0x1.0e2cdd35f73f5p-300 75.9
TCONS_00000002 Q7ZU90.1 39.5 190 110 3 3155 3715 134 321 0x1.0e2cdd35f73f5p-300 144.4
TCONS_00000002 P41877.2 46.6 88 46 1 3452 3715 333 419 0x1.aa8e497595dc8p-298 87.4
TCONS_00000002 P41877.2 49.4 178 85 2 3752 4279 423 597 0x1.aa8e497595dc8p-298 171.4
TCONS_00000002 P41877.2 51.0 51 25 0 2798 2950 121 171 0x1.aa8e497595dc8p-298 57.0
TCONS_00000002 P41877.2 45.2 93 51 0 3155 3433 231 323 0x1.aa8e497595dc8p-298 85.1
TCONS_00000002 Q9CXF7.1 55.8 156 67 1 3782 4249 336 489 0x1.976a00d8b11fep-297 170.2
TCONS_00000002 Q9CXF7.1 43.8 96 52 2 2822 3103 37 132 0x1.976a00d8b11fep-297 80.9
TCONS_00000002 Q9CXF7.1 37.4 190 112 4 3158 3715 140 326 0x1.976a00d8b11fep-297 127.9

@zhaoyanswill
Copy link
Owner

zhaoyanswill commented Oct 18, 2017 via email

@pcantalupo
Copy link

pcantalupo commented Nov 7, 2017

Hi
I have been using Rapsearch2 v2.24 on a supercomputer (Linux) for several years. I use the '-s f' option to get regular evalues.

Now, I tried to set up Rapsearch2 v2.24 on a different machine (Ubuntu 16.04 VM). I compiled Rapsearch2 successfully and tried running it with '-s f' option. I see the same weird evalues as @lmdu.

Why is this happening? Thank you

edit: here is the output

@zhaoyanswill
Copy link
Owner

zhaoyanswill commented Nov 7, 2017 via email

@pcantalupo
Copy link

A colleague of mine fixed the problem with the following changes

He wrote to me:

OK, after some debugging looks like interpretation of formatting flags in C++ has changed. See here in C++11 section and compare with C++98
http://www.cplusplus.com/reference/ios/fixed/
In this case the code sets fixed and scientific formatting. With newer C++ standard fixed + scientific => hexfloat format that I see for the first time J

RAPSearch2.24_64bits.formatting.patch.txt

@zhaoyanswill
Copy link
Owner

zhaoyanswill commented Nov 8, 2017 via email

@metageni
Copy link

@zhaoyanswill Any chance you can add this fix to rapsearch2?

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

4 participants