JLSteenwyk / orthosnap

a tree splitting and pruning algorithm for retrieving single-copy orthologs from gene family trees
https://jlsteenwyk.com/orthosnap/
MIT License
23 stars 1 forks source link

orthosnap: error: unrecognized arguments: -ip median_seq_len #2

Closed alexvasilikop closed 1 year ago

alexvasilikop commented 1 year ago

Hello,

I am trying to invoke the option for in-paralog selection but it seems it is not recognized

$ orthosnap -f OG0000452.fa -t OG0000452_tree.txt -ip median_seq_len

orthosnap: error: unrecognized arguments: -ip median_seq_len

Also in the $orthosnap -h command there is no such option but it exists in the documentation $orthosnap -h

       _   _                                 
       | | | |                                
_ __ _ _
/
\
'__ __ ' \ / \/ __ ' \ / ` '_ \ (_) _ () _ \ (_ _) ___/ _ __ _ _ ___/ __/ _ _, .__/
_

Version: 0.0.1 Citation: Steenwyk et al. Usage: orthosnap [optional arguments]

required arguments: -t, --tree input tree file in newick format

-f, --fasta input sequence file in fasta format

optional arguments: -s, --support support threshold for bipartition collapsing default: 80

-o, --occupancy occupancy threshold for minimum number of tips in orthologous subgroup default: 50 percent of total number of taxa


Detailed explanation of arguments |

-t, --tree

What might be the issue? Thanks Alex

JLSteenwyk commented 1 year ago

Hi Alex,

First, thank you very much for checking out OrthoSNAP and for providing a comment. OrthoSNAP and other software would be nothing without a helpful user base—i.e., researchers like you!

Second, the issue stems from what version of OrthoSNAP you are using. The -ip argument was not added until a later version of OrthoSNAP. A changelog of OrthoSNAP is available here: changelog, docs. To update your version of OrthoSNAP, you can use the following command: pip install orthosnap -U.

Thanks again for using OrthoSNAP. You may find some of the other software I have developed useful for your research; here is the link in case you are interested :D https://jlsteenwyk.com/software.html.

best,

Jacob