pastml
pastml copied to clipboard
problems running pastML from bioconda install
Describe the bug I set up pastML from bioconda on a linux instance. Can't seem to run even the test data. Thanks for any hint on how to solve this!
pastml -t Albanian.tree.152tax.tre -d data.txt -s ','
Traceback (most recent call last):
File "/home/tread/miniconda3/envs/pastml/bin/pastml", line 10, in
Hello! I just ran pastml on the test data. Here are the exact commands I used to install and then run the test data. I hope it's useful.
Part 1: Setup pastml
# Use Mamba/conda to create a pastml environment w/ python3 installed
mamba create --name pastmlenv python=3
mamba activate pastmlenv
# Create a directory for storing the pastml repo and then clone repo
mkdir pastml_testing
cd pastml_testing
git clone [email protected]:evolbioinfo/pastml.git
cd pastml
# Install pastml to env
pip install .
Part 2: Run pastml on the test data
# Let’s run the recently installed `pastml` package on the test data
cd ~/Documents/pastml_testing/pastml
# Define paths to test data
AlbData=“examples/Albania/data”
Alb_Tre=“${AlbData}/Albanian.tree.152tax.tre”
Alb_Data_TXT=“${AlbData}/data.txt”
# Look at top 4 columns of test data
head -n 4 $Alb_Data_TXT
# Look at options for pastml
pastml --help
# Run pastml on test data
pastml --tree ${Alb_Tre} -s , --data ${Alb_Data_TXT} --out_data Alb.Test.out.txt --html Alb.Test.out.html
Thanks! This worked for me. The difference seems to be using pip for pastel install rather than bioconda .