faylward / viralrecall

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

Facing problem in running Viralrecall #19

Open vmevada102 opened 1 year ago

vmevada102 commented 1 year ago

After installing into the Conda environment i am facing following problem,

Traceback (most recent call last): File "viralrecall.py", line 733, in status = main() File "viralrecall.py", line 728, in main run_program(input, project, database, window, phagesize, minscore, minhit, evalue, cpus, plotflag, redo, flanking, batch, summary_file, contiglevel) File "viralrecall.py", line 401, in run_program df = pandas.concat([df, s1], axis=1, sort=True) TypeError: concat() got an unexpected keyword argument 'sort'

faylward commented 1 year ago

Have you tried python 3.5? I think later versions have pandas issues.

Frank

On Sat, Feb 11, 2023, 1:52 PM vmevada102 @.***> wrote:

After installing into the Conda environment i am facing following problem,

Traceback (most recent call last): File "viralrecall.py", line 733, in status = main() File "viralrecall.py", line 728, in main run_program(input, project, database, window, phagesize, minscore, minhit, evalue, cpus, plotflag, redo, flanking, batch, summary_file, contiglevel) File "viralrecall.py", line 401, in run_program df = pandas.concat([df, s1], axis=1, sort=True) TypeError: concat() got an unexpected keyword argument 'sort'

— Reply to this email directly, view it on GitHub https://github.com/faylward/viralrecall/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPFN7SU6RVHH57JXIL6MZDWW7NWVANCNFSM6AAAAAAUY26THI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

vmevada102 commented 1 year ago

I hve set the Python 3.5.2 in conda environment as recommended into the installation.

May i downgrade the python version?

faylward commented 1 year ago

And is this error on the test data or new data you are using?

On Sat, Feb 11, 2023, 8:08 PM vmevada102 @.***> wrote:

I hve set the Python 3.5.6 in conda environment as recommended into the installation.

— Reply to this email directly, view it on GitHub https://github.com/faylward/viralrecall/issues/19#issuecomment-1426913225, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPFN7RPGZOD4VPVTZNPBE3WXAZX5ANCNFSM6AAAAAAUY26THI . You are receiving this because you commented.Message ID: @.***>

vmevada102 commented 1 year ago

This error was found on both dataset.

Test data as well as own data

vmevada102 commented 1 year ago

Kindly help me resolve the issue

faylward commented 1 year ago

This appears to be an issue specific to pandas - you will need to troubleshoot the version of pandas you have installed. Please see https://stackoverflow.com/questions/54312781/python3-prophet-model-predict-throws-typeerror-concat-got-an-unexpected-key

abdealijivaji commented 5 months ago

I run viralrecall with pandas v1.0.5 because I was running into all sorts of issues with the recent pandas version