Running iqtree in a python script?
0
0
Entering edit mode
7.8 years ago
tpaisie ▴ 80

Anyone know how I could run iqtree in a python script? I've been looking at different python packages and seem to have no luck. So if you know how to run iqtree in package or just how to run iqtree in a python script, your help would be greatly appreciated!!

python iqtree Phylogenetics • 3.0k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode

So do I understand you correctly that this is a command line tool you would like to run automatically with python? I'm completely ignorant about what iqtree is, but I've heard about python.

ADD REPLY
0
Entering edit mode

yeah so Iqtree is and command line executable that I use and I want to incorporated it into a python script that is a pipeline for making phylogenetic trees.

ADD REPLY
0
Entering edit mode

In python you can use the subprocess module for activating command line scripts. Also possible but not recommended is os.system.

ADD REPLY

Login before adding your answer.

Traffic: 2162 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6