Skip to content

Commit 3e733d6

Browse files
committed
2 parents b379c10 + 5377b25 commit 3e733d6

9 files changed

+204
-921
lines changed

LICENSE

-674
This file was deleted.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ A [**preprint version is available on bioRxiv**](https://www.biorxiv.org/content
7575
## Developers
7676
The code is developed and maintained by [Pablo Vinuesa](https://www.ccg.unam.mx/~vinuesa/)
7777
at [CCG-UNAM, Mexico](https://www.ccg.unam.mx/) and
78-
[Bruno Contreras-Moreira](https://digital.csic.es/cris/rp/rp02661/)
79-
at [EEAD-CSIC, Spain](http://www.eead.csic.es/). It is released to the public domain under the GNU GPLv3 [license](./LICENSE).
78+
[Bruno Contreras-Moreira](https://www.eead.csic.es/home/staffinfo?Id=71)
79+
at [EEAD-CSIC, Spain](http://www.eead.csic.es/). It is released to the public domain under the GNU GPLv3 [license](./LICENSE.txt).
8080

8181
## Acknowledgements
8282

8383
### Personal
8484
We thank Alfredo J. Hernández and Víctor del Moral at CCG-UNAM for technical support with server administration.
8585

8686
### Funding
87-
We gratefully acknowledge the funding provided by [DGAPA-PAPIIT/UNAM](https://dgapa.unam.mx/index.php/impulso-a-la-investigacion/papiit) (grants IN201806-2, IN211814 and IN206318) and [CONACyT-Mexico](https://conacyt.mx/) (grants P1-60071, 179133 and A1-S-11242) to [Pablo Vinuesa](https://www.ccg.unam.mx/~vinuesa/), as well as the Fundación ARAID,Consejo Superior de Investigaciones Científicas (grant 200720I038 and Spanish MINECO (AGL2013-48756-R) to [Bruno Contreras-Moreira](https://digital.csic.es/cris/rp/rp02661).
87+
We gratefully acknowledge the funding provided by [DGAPA-PAPIIT/UNAM](https://dgapa.unam.mx/index.php/impulso-a-la-investigacion/papiit) (grants IN201806-2, IN211814 and IN206318) and [CONACyT-Mexico](https://conacyt.mx/) (grants P1-60071, 179133 and A1-S-11242) to [Pablo Vinuesa](https://www.ccg.unam.mx/~vinuesa/), as well as the Fundación ARAID,Consejo Superior de Investigaciones Científicas (grant 200720I038 and Spanish MINECO (AGL2013-48756-R) to [Bruno Contreras-Moreira](https://www.eead.csic.es/home/staffinfo?Id=71).

apt-install_R_dependencies.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22

3+
# Author: Pablo Vinuesa, CCG-UNAM; @pvinmex
34
# 2022-07-02 # sudo and add-apt-repository --yes
45
# Install R-packages on ubuntu with apt install
56

@@ -23,3 +24,6 @@ r-cran-stringr \
2324
r-cran-seqinr \
2425
r-cran-remotes \
2526
&& sudo apt clean && apt purge && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
27+
28+
29+
#NOTE: may need to install stringi as roow with install.packages("stringi", dep=T)

bin/linux/iqtree

1.55 MB
Binary file not shown.

install_kdetrees_from_github.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ for (package in required_packages) {
2323

2424

2525
library("remotes")
26-
remotes::install_github("grady/kdetrees", dependencies = TRUE)
26+
remotes::install_github("grady/kdetrees", dependencies = TRUE, force = TRUE, upgrade="always")
2727

2828
sessionInfo()

lib/get_phylomarkers_fun_lib_DEV.sh

+181-239
Large diffs are not rendered by default.

run_get_phylomarkers_pipeline.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#: AUTHORS: Pablo Vinuesa, Center for Genome Sciences, CCG-UNAM, Mexico
55
#: https://www.ccg.unam.mx/~vinuesa/
66
# Bruno Contreras Moreira, EEAD-CSIC, Zaragoza, Spain
7-
# https://digital.csic.es/cris/rp/rp02661/
7+
# https://www.eead.csic.es/compbio
88
#
99
#: DISCLAIMER: programs of the GET_PHYLOMARKERS package are distributed in the hope that they will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@@ -2517,7 +2517,7 @@ Docker images at:
25172517
25182518
Alternatively, see our contact details at:
25192519
http://www.ccg.unam.mx/~vinuesa/
2520-
https://digital.csic.es/cris/rp/rp02661/
2520+
https://www.eead.csic.es/home/staffinfo?Id=71
25212521
25222522
Please run the script with the -D 1 or -D 2 added at the end of the
25232523
command line, and send us the output, to better diagnose

run_kdetrees.R

+5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,14 @@
22

33
# run_kdetrees.R
44

5+
<<<<<<< HEAD
56
VERSION <- 'Version: 0.3.1 - 20mar24'
67
#v0.3 20Oct22 with portable shebang line
78
# runs kdetrees(all.trees.raw, distance = "dissimilarity", topo.only = TRUE & topo.only = FALSE)
9+
=======
10+
VERSION <- 'Version: 0.3 - 20Oct2022' #v0.3 with portable shebang line
11+
# runs kdetrees(all.trees.raw, distance = "dissimilarity", topo.only = TRUE & topo.only = FALSE)
12+
>>>>>>> 5377b250deeeccf8373a78189135bc2979b9f33d
813
AUTHOR <- "Authors: Pablo Vinuesa [CCG-UNAM], Bruno Contreras Moreira [EEAD-CSIC]; "
914
REPOS <- "https://cloud.r-project.org"
1015

test_get_phylomarkers.t

+8-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ok( eval{ `perl ./run_parallel_cmmds.pl` } =~ /usage/ , 'run_parallel_cmmds.pl'
4040
ok( eval{ `Rscript ./compute_suppValStas_and_RF-dist.R 2>&1` } =~ /Usage/ , 'compute_suppValStas_and_RF-dist.R' );
4141

4242
# test 11
43-
ok( eval{ `Rscript ./run_kdetrees.R 2>&1` } =~ /Execution/ , 'run_kdetrees.R' );
43+
ok( eval{ `Rscript ./run_kdetrees.R 2>&1` } =~ /Usage/ , 'run_kdetrees.R' );
4444

4545

4646
### Test Bash scripts
@@ -84,7 +84,13 @@ ok( eval{ `cd test_sequences/core_genome && ../../run_get_phylomarkers_pipeline
8484
ok( eval{ `cd test_sequences/core_genome && ../../run_get_phylomarkers_pipeline.sh -R 2 -t DNA -S K2P | grep "Will run descriptive DNA polymorphism statistics"` }, 'run_get_phylomarkers_pipeline.sh -R 2 -t DNA -S K2P' );
8585

8686
# test 22 estimate a ML pan-genome tree from the pan-genome matrix, using 2 independent IQT runs and UFBoot
87-
ok( eval{ `cd test_sequences/pan_genome && ../../estimate_pangenome_phylogenies.sh -f pangenome_matrix_t0.fasta -r 2 -S UFBoot -I 2 | grep "done!"` }, 'estimate_pangenome_phylogenies.sh -r 2 -S UFBoot ...' );
87+
my $testOK = ok( eval{ `cd test_sequences/pan_genome && ../../estimate_pangenome_phylogenies.sh -f pangenome_matrix_t0.fasta -r 2 -S UFBoot -I 2 | grep "done!"` }, 'estimate_pangenome_phylogenies.sh -r 2 -S UFBoot ...' );
88+
89+
if(!$testOK) {
90+
print "\n# Note: this test requires setting up libnw.so . Type the following:\n\n";
91+
print "sudo cp /PATH/TO/get_phylomarkers/lib/libnw.so /usr/local/lib && sudo echo \"export LD_LIBRARY_PATH=/usr/local/lib\" && sudo ldconfig && make clean'\n\n";
92+
print "# Read more at https://github.com/eead-csic-compbio/get_phylomarkers/blob/master/INSTALL.md\n\n";
93+
}
8894

8995
# test 23 estimate a PARS pan-genome tree with bootstrapping; 50 bootstrap replicates divided on 10 core (5 reps / core)
9096
ok( eval{ `cd test_sequences/pan_genome && ../../estimate_pangenome_phylogenies.sh -c PARS -R 3 -i pangenome_matrix_t0.phylip -b 5 -j 1 -t 1 | grep "seq_key"` }, 'estimate_pangenome_phylogenies.sh -c PARS -R 3 ...' );

0 commit comments

Comments
 (0)