maryamrabiee / SODA

1 stars 2 forks source link

Error while running SODA #7

Open josh3397 opened 2 years ago

josh3397 commented 2 years ago

Hello,

I'm trying to run SODA program on my dataset. I have a set of gene trees in a single file called loci.treefile. I get following error when I run it Traceback (most recent call last): File "run_delimitation.py", line 110, in tree = run_astral(gene_trees_path, n, len(lines), out_dir+"/astral.out", mapping ,guide_tree, astral_dir) File "run_delimitation.py", line 22, in run_astral bashCommand = "java -Xmx"+ str(100 ceil(log(n g, 10)* log(n, 10)))+"m -jar "+ latest_file +" -i " + gene_trees + " -o "+ out + " -t 10" TypeError: can only concatenate str (not "int") to str

Would greatly appreciate your help in solving this!

Regards, Mukta

josh3397 commented 2 years ago

I'm also getting the following error: ValueError: max() arg is an empty sequence

Does this error has something to do with the python version? I can't think of any other reasons. As I'm running this on sample data, it't not even the data issue.

Any help would be appreciated

paigemaroni commented 2 years ago

Hi there,

I have also received the same errors and would love to know how to solve these issues.

Especially the following: ValueError: max() arg is an empty sequence

Many thanks, Paige

maryamrabiee commented 2 years ago

For the max() arg error, please provide the Astral directory with -j, or use the updated code.