faylward / viralrecall

Detection of NCLDV signatures in 'omic data
30 stars 11 forks source link

viralrecall.py:400: DeprecationWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. #12

Closed Achuan-2 closed 2 years ago

Achuan-2 commented 2 years ago

When I use -db "marker" -c

 bacphagenetwork@watson:/mnt/raid7/Dachuang/Achuan/viralrecall$ python viralrecall.py -i examples/arm29B.fna -p test_outdir -t 2 -db "marker" -c
viralrecall.py:400: DeprecationWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
  s1 = pandas.DataFrame(pandas.Series(i, name = names[index]))
faylward commented 2 years ago

Thanks I can look into this. What version of python are you using?

Achuan-2 commented 2 years ago

Python 3.7.12

Achuan-2 commented 2 years ago

and all the score is 0

faylward commented 2 years ago

You can't calculate the score with the -db marker option. That is only for very quick prediction of the NCLDV marker genes (not a full database search).

On Thu, Dec 9, 2021, 10:53 PM Achuan @.***> wrote:

and all the score is 0

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/faylward/viralrecall/issues/12#issuecomment-990588674, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPFN7VPF5VIHLOMDQMQD2LUQF2UNANCNFSM5JQ47LUA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Achuan-2 commented 2 years ago

ok!Thanks!