Open brendanf opened 5 years ago
This works:
PASTA_TOOLS_DEVDIR=$CONDA_PREFIX/bin/ run_pasta.py
Here is how I use PASTA in a command line for a Galaxy tool https://github.com/gregvonkuster/galaxy_tools/blob/master/tools/phylogenetics/plant_tribes/gene_family_aligner/gene_family_aligner.xml#L19. This approach will work the same outside of Galaxy if you are not using Galaxy.
I'd be happy to help, but I am finding it difficult to figure out where the recipe is. Can someone put a link here?
PASTA has a three-step installation, which is also platform dependent.
For MAC, we need
git clone https://github.com/smirarab/pasta.git
git clone https://github.com/smirarab/sate-tools-mac.git
cd pasta
python setup.py develop
For Linux, we need:
git clone https://github.com/smirarab/pasta.git
git clone https://github.com/smirarab/sate-tools-linux.git
cd pasta
python setup.py develop
Hope this helps.
Apparently
Pasta
is looking for the included SATe tools in the wrong location:The issue isn't just with MAFFT, all of the included tools are installed in
.../envs/pasta/bin/
, butpasta
looks for them in.../envs/pasta/lib/python3.6/site-packages/bin/
.Of course I can make it work by following the advice and making
.pasta/pasta_tool_paths.cfg
in my home directory, but that isn't ideal for distributing a reproducible workflow.