shahab-sarmashghi / Skmer

Fast and accurate tool for estimating genomic distances between genome-skims
https://shahab-sarmashghi.github.io/Skmer/
Other
39 stars 8 forks source link

Error: Distance precision must not exceed 21 digits. #26

Open sanvva opened 1 year ago

sanvva commented 1 year ago

fastme -i ref-dist-mat.phy -o skim-phylogeny.tre

I've found one value "1.3258646818430182e-06" in dimtrx_main.txt (attached below), and I modified it to "0.00000132586468184301". But, FastMe still give the error warning. dimtrx_main.txt

shahab-sarmashghi commented 1 year ago

Was it just a warning or it didn't run throwing an exception? Although I may not be the appropriate person to help with fastme

smirarab commented 1 year ago

The problem is SKMER outputs numbers with too many digits for fastme. If you round up all numbers to say 10th digit the error goes away. I have a little script somewhere to do this if you couldn’t figure it out.

On Wed, Jul 5, 2023 at 7:11 AM Shahab Sarmashghi @.***> wrote:

Was it just a warning or it didn't run throwing an exception? Although I may not be the appropriate person to help with fastme

— Reply to this email directly, view it on GitHub https://github.com/shahab-sarmashghi/Skmer/issues/26#issuecomment-1621843391, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGJXOFUABUOZWLSKEEJZW3XOVYZPANCNFSM6AAAAAAYOFG6AU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Sent from a phone. Excuse typos and the brevity.

sanvva commented 1 year ago

Was it just a warning or it didn't run throwing an exception? Although I may not be the appropriate person to help with fastme

Fastme could not work at all.

sanvva commented 1 year ago

The problem is SKMER outputs numbers with too many digits for fastme. If you round up all numbers to say 10th digit the error goes away. I have a little script somewhere to do this if you couldn’t figure it out. On Wed, Jul 5, 2023 at 7:11 AM Shahab Sarmashghi @.> wrote: Was it just a warning or it didn't run throwing an exception? Although I may not be the appropriate person to help with fastme — Reply to this email directly, view it on GitHub <#26 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGJXOFUABUOZWLSKEEJZW3XOVYZPANCNFSM6AAAAAAYOFG6AU . You are receiving this because you are subscribed to this thread.Message ID: @.> -- Sent from a phone. Excuse typos and the brevity.

Please send me the script to round up all numbers to fewer digits, thank you very much. @smirarab