-
Install compiler to compile biopython
sudo yum install gcc gcc-c++
-
Install latest development for biopython (v1.69)
pip install git+https://github.com/biopython/biopython.git
python tre_to_csv.py <input.tre>
This removes the need to worry about dependencies and will always run the same way regardless of computer
-
Only once do you have to build the docker image
docker build -t local/biopython .
-
Then you can execute the code using docker
docker run -it -v $PWD:/here -w /here local/biopython python tre_to_csv.py examples/test.tre
output will go to standard output
python tre_to_csv.py examples/test.tre
Make sure not to have dashes in your taxnames or it will break at this time due to biopython/biopython#1022