Open imdanique opened 1 year ago
Hi @imdanique. In addition to the -k
output files subtree-.nh, usher also makes an output file for the whole tree, final-tree.nh, and the `glob("result/.nh")in your Python script might be picking that up as well. Try changing that to
glob("result/subtree-*.nh")` to match only the subtree output files, and let us know if that doesn't fix it.
Hi, thanks for developing Usher.
I'm encountering an issue. My goal is to find the 10 nearest neighbors for each sequence in a FASTA file and build a tree with input sequences + neighbors. Here's what I did:
Then, I tried to calculate all IDs in output subtrees:
Calculated all unique entries:
In my input I had 1909 sequences. I expected a maximum of 19,090 output sequences (10 x input sequences), but I ended up with 2,595,922 sequences in 1152 output trees. How do I modify the Usher command to provide only 10 neighbors? Any insights on what went wrong would be greatly appreciated.