diff --git a/Installation Guide.md b/Installation Guide.md index 61ef19a6f1d1ed9b2bb5268edf461b37948c3d19..15836f22d257d210862644457912d495a4fef5bf 100644 --- a/Installation Guide.md +++ b/Installation Guide.md @@ -29,7 +29,14 @@ installation using Miniconda ``` > conda install numpy scipy > conda install -c bioconda hmmer biopython mafft -> pip intall pysapc ``` -(pysapc also installs pandas, cython, pytz, six and python-dateutil) +* The Affinity Propagation algorithm used currently is [pySAPC](https://pypi.python.org/pypi/pysapc/1.1.0). Install cython first: + +``` +> conda install cython +``` + +then, if you are using a Mac: `conda install -c https://conda.anaconda.org/bioinfocao pysapc`, otherwise: `pip install pysapc` + +(pysapc also installs pandas, pytz, six and python-dateutil) diff --git a/bigscape.py b/bigscape.py index f173acd6702f3393f1881f556958fd62b4e47186..99c86c4ebf4f2aa4869c1580eff866a9a0b72908 100644 --- a/bigscape.py +++ b/bigscape.py @@ -1008,7 +1008,7 @@ def CMD_parser(): parser.add_argument("--pfam_dir", dest="pfam_dir", default=os.path.dirname(os.path.realpath(__file__)), help="Location of hmmpress-processed Pfam files. Default is same location of BiG-SCAPE") - parser.add_argument("--anchorfile", dest="anchorfile", default="anchor_domains.txt", + parser.add_argument("--anchorfile", dest="anchorfile", default=os.path.join(os.path.dirname(os.path.realpath(__file__)),"anchor_domains.txt"), help="Provide a custom location for the anchor domains file, default is anchor_domains.txt.") parser.add_argument("--exclude_gbk_str", dest="exclude_gbk_str", default="", help="If this string occurs in the gbk filename, this file will not be used for the analysis.")