gtonkinhill / fastbaps

A fast approximation to a Dirichlet Process Mixture model (DPM) for clustering genetic data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Command line interface?

tseemann opened this issue · comments

Would it be possible to add a command line interface version of this tool?

I think this should be possible using Rscript. Would this suffice? It would still require installing fastbaps using R/conda.

I have added a command line script in 37435c2. It's located in the fastbaps/inst subdirectory. I will look at updating the conda recipe to put this in the users path. If I get a chance I'll see if I can get it setup in a docker instance as well.

This is now included in the bioconda recipe.

@gtonkinhill thanks so much!

I think optparse might need to be added to the dependency lists for this

Also v. minor issue if reopening this, phylogeny is misspelled as 'phylogney' in the options

I'd forgotten about this but it should be fixed in the latest release.