cmks / DAS_Tool

DAS Tool
Other
138 stars 17 forks source link

Error: DAS Tool #95

Closed wotohoku closed 1 year ago

wotohoku commented 1 year ago

I encounter an error with the DAS_Tool command. I use python 3.11.3. Could someone let me know how to solve it?

The following is the executed command:

$ DAS_Tool -i metabat1.tsv,metabat2.tsv,maxbin2.tsv -c megahit_filter.fa -t 20 -o DAStool_dir/refine --write_bins 1 --create_plots 1 -l metabat1,metabat2,maxbin2 --search_engine blast

and it returns the following error: Error: DAS Tool Usage: DAS_Tool [options] -i -c -o DAS_Tool -i -c -o [--labels=] [--proteins=] [--threads=] [--search_engine=] [--score_threshold=] [--dbDirectory= ] [--megabin_penalty=] [--duplicate_penalty=] [--write_bin_evals] [--write_bins] [--write_unbinned] [--resume] [--debug] DAS_Tool [--version] DAS_Tool [--help]

Options: -i --bins= Comma separated list of tab separated contigs to bin tables. -c --contigs= Contigs in fasta format. -o --outputbasename= Basename of output files. -l --labels= Comma separated list of binning prediction names. --search_engine= Engine used for single copy gene identification (diamond/blastp/usear Execution halted

benjamingrodner commented 1 year ago

I had the same error, it worked for me to remove the "1" after --write_bins and --write_bin_evals. Probably it's the same for --create_plots

cmks commented 1 year ago

Thanks @benjamingrodner. The 1/0 after --write_bins, --write_unbinned, --write_bin_evals,... is syntax from an old version.