Command line access to FigTree

3,138 views
Skip to first unread message

Pandurang Kolekar

unread,
Dec 6, 2013, 1:27:24 AM12/6/13
to figtree...@googlegroups.com
Hi Andrew,
Thanks for the FigTree!

How to generate the PDF or image file from Newick file from FigTree using command line? If there is any provision to access FigTree through command line or program, please let me know. I want to create pdfs and images for huge set of Newick files.The command line utility of FigTree would be of great help.

Thanking you,

Best regards,
Pandurang

Andrew Rambaut

unread,
Dec 6, 2013, 6:42:50 AM12/6/13
to figtree-discuss@googlegroups.com Discussion
If you download the Linux/UNIX version there is a command line script in the bin/ folder. If you do ‘figtree -help’ you will see the options.
Basically this acts as a pipe - you read a tree in and it will produce a graphic file out. If you want to do any formatting you will need to add
a ‘FigTree’ block to the end of the Nexus file. One way of doing this is loading one tree in to the GUI version, setting everything and then
saving. Paste this block to to the end of each tree you want to run through the command line version.

Andrew

--
You received this message because you are subscribed to the Google Groups "FigTree Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to figtree-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Andrew Rambaut 
Institute for Evolutionary Biology | Centre for Infection, Immunity & Evolution 
Ashworth Laboratories, University of Edinburgh, Edinburgh, EH3 9JT, UK


Pandurang Kolekar

unread,
Dec 6, 2013, 6:58:11 AM12/6/13
to figtree...@googlegroups.com
Thanks Andrew!

I will try it out in Linux. I am also curious to know whether there is such utility in Windows operating system.


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

--
You received this message because you are subscribed to a topic in the Google Groups "FigTree Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/figtree-discuss/iECQrrabHWk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to figtree-discu...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




--
   Best regards,
   Pandurang

   -------------------------------------------------------------------
    Enjoy your cup of life !! © 
   -------------------------------------------------------------------

 http://orcid.org/0000-0003-0044-0076


Home page: http://bioinfo.net.in
-------------------------------------------------------------------

Pandurang Kolekar

unread,
Dec 6, 2013, 7:04:30 AM12/6/13
to figtree-discuss
I just tried out in Windows, it works fine!

Thanks a lot!

Andrew Rambaut

unread,
Dec 6, 2013, 7:07:43 AM12/6/13
to figtree-discuss@googlegroups.com Discussion
It is Java so it should work fine on Windows. But if you get the Linux version you have direct access to the
jar file. You can run it using a command line like:

java -jar figtree.jar -help

Andrew

On 6 Dec 2013, at 11:58, Pandurang Kolekar <panduran...@gmail.com> wrote:

I will try it out in Linux. I am also curious to know whether there is such utility in Windows operating system.


Pandurang Kolekar

unread,
Dec 6, 2013, 7:09:33 AM12/6/13
to figtree...@googlegroups.com
Yes, right sir, did the same way.


The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

--
You received this message because you are subscribed to a topic in the Google Groups "FigTree Discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/figtree-discuss/iECQrrabHWk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to figtree-discu...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages