From 2c4b7b6e0afd73a09e3fc15126031319b9b568db Mon Sep 17 00:00:00 2001 From: Menardo Fabrizio <fabrizio.menardo@unibas.ch> Date: Tue, 24 Apr 2018 15:46:22 +0200 Subject: [PATCH] citation --- Treemmer.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Treemmer.py b/Treemmer.py index 8fb9eb8..8db26d3 100644 --- a/Treemmer.py +++ b/Treemmer.py @@ -20,7 +20,8 @@ # You have to install ete3 http://etetoolkit.org/ # and joblib https://pythonhosted.org/joblib/ to run Treemmer - +# If you use Treemmer for your research, please cite: +# Treemmer: a tool to reduce large phylogenetic datasets with minimal loss of diversity. Menardo et. al (2018), BMC Bioinformatics (in press). from collections import defaultdict from joblib import Parallel, delayed @@ -418,7 +419,8 @@ if (arguments.list_meta): if (arguments.list_meta_count): dict_meta_count = read_list_tags(arguments.list_meta_count) -if arguments.verbose > 0: # print progress on standard output +if arguments.verbose > 0: + # print progress on standard output print "N of taxa in tree is : "+ str(len(t)) if arguments.solve_polytomies: @@ -586,5 +588,6 @@ if ((stop == 0) or (arguments.plot_always)): # create file for plot if not arguments.no_plot: make_plot() - +if (arguments.verbose > 0): + print "\n If you use Treemmer for your research, please cite:\n\n \"Treemmer: a tool to reduce large phylogenetic datasets with minimal loss of diversity\" Menardo et. al (2018), BMC Bioinformatics (in press)\n\n" -- GitLab