srst2 icon indicating copy to clipboard operation
srst2 copied to clipboard

VFDB Parse the cluster output and tabulate the results using the specific Virulence gene DB compatible script:

Open aslangabriel opened this issue 6 years ago • 3 comments

When I run this step: the error indicated that "File "mybin/VFDB_cdhit_to_csv.py", line 68, in sys.exit(main()) File "mybin/VFDB_cdhit_to_csv.py", line 29, in main outfile = file(args.outfile,"w") NameError: name 'file' is not defined '

aslangabriel avatar Jan 22 '19 03:01 aslangabriel

Hi,

I am facing the same problem. Is there maybe a solution out yet?

Thank you for your help in advance :)

Kind regards

HumbiFred avatar Aug 11 '20 08:08 HumbiFred

This looks like a python3 issue - note srst2 is written for python2.

katholt avatar Aug 11 '20 08:08 katholt

Thank you! That's it. Now its workinge perfectly.

Could have figured that out myself, so sorry for bothering.

HumbiFred avatar Aug 13 '20 07:08 HumbiFred