You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+14-11Lines changed: 14 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,8 @@ Alternatively, you can try to perform a manual install, as follows:
25
25
- Debian/Ubuntu users cd into get_phylomarkers/ and run <code>./apt-install_R_dependencies.sh</code>, which is the preferred way to manage R packages on these systems
26
26
- Other Linux users cd into get_phylomarkers/ and run <code>./install_R_deps.R</code>, which will install R packages into get_phylomarkers/lib/R
27
27
- For all users, the KDEtrees package needs to be installed with the <code>install_kdetrees_from_github.R</code> script
28
-
28
+
29
+
<!--
29
30
4. from within the get_phylomarkers distribution directory, as regular user type:
30
31
```
31
32
rlibs=`for p in $(R -q -e 'print(.libPaths())'); do if [[ "$p" =~ '/' ]]; then echo -n "$p:"; fi; done; echo -n "$wkd"/"$distrodir/lib/R"` && echo "export R_LIBS_SITE=$rlibs" >> $HOME/.bashrc
@@ -34,14 +35,16 @@ rlibs=`for p in $(R -q -e 'print(.libPaths())'); do if [[ "$p" =~ '/' ]]; then e
34
35
cat $HOME/.Rprofile
35
36
```
36
37
- or as sudo append ':/PATH/TO/get_phylomarkers/lib/R' to <code>R_LIBS_SITE=${R_LIBS_SITE-'/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library'}</code> in /etc/R/Profile for system-wide permanent changes for all users and session types.
37
-
38
-
5. To setup the *libnw* library required by *estimate_pangenome_phylogenies.sh* in parsimony mode (-R 3), type the following <code>'sudo cp /PATH/TO/get_phylomarkers/lib/libnw.so /usr/local/lib && sudo echo "export LD_LIBRARY_PATH=/usr/local/lib" && sudo ldconfig'</code>
39
38
40
-
6. cd into the test_sequences/core_genome directory, or copy that directory into a suitable place (e.g. 'cp -r test_sequences $HOME && cd $HOME/test_sequences/core_genome')
39
+
-->
40
+
41
+
4. To setup the *libnw* library required by *estimate_pangenome_phylogenies.sh* in parsimony mode (-R 3), type the following <code>'sudo cp /PATH/TO/get_phylomarkers/lib/libnw.so /usr/local/lib && sudo echo "export LD_LIBRARY_PATH=/usr/local/lib" && sudo ldconfig'</code>
42
+
43
+
5. cd into the test_sequences/core_genome directory, or copy that directory into a suitable place (e.g. 'cp -r test_sequences $HOME && cd $HOME/test_sequences/core_genome')
41
44
42
-
7. If you want to perform a system-wide install, you will have to become the superuser (e.g. 'sudo su').
45
+
6. If you want to perform a system-wide install, you will have to become the superuser (e.g. 'sudo su').
43
46
44
-
8. If you are running the GET_PHYLOMERKERS release v2.2.0_2024-04-14, you will need to install [snp-sites](https://github.com/sanger-pathogens/snp-sites) on your system:
47
+
7. If you are running the GET_PHYLOMERKERS release v2.2.0_2024-04-14, you will need to install [snp-sites](https://github.com/sanger-pathogens/snp-sites) on your system:
45
48
- Debian/Ubuntu users can easyly install with <code>apt update && apt install snp-sites</code>
46
49
- Other *NIX unsers should compile as follows:
47
50
```
@@ -58,14 +61,14 @@ make
58
61
sudo make install
59
62
```
60
63
61
-
NOTE: from GET_PHYLOMERKERS release v2.2.1, or run_get_phylomarkers.sh v2.8.1.0_2024-04-15 onwards, the static snp-sites-static binary is provided for Linux users,
62
-
meaning that step 8 can be omitted.
64
+
NOTE: from GET_PHYLOMERKERS release >= v2.2.1, or run_get_phylomarkers.sh => v2.8.1.0_2024-04-15 onwards, the static snp-sites-static binary is provided for Linux users,
65
+
meaning that the previous step (7) can be omitted.
63
66
64
-
9. Issue the following command from within /path/to/test_sequences/core_genome to test if the distro is working on your system: <code>/path/to/get_phylomarkers/run_get_phylomarkers_pipeline.sh -R 1 -t DNA</code>, which will run in phylogenomics mode (-R 1), on DNA sequences (-t DNA).
67
+
8. Issue the following command from within /path/to/test_sequences/core_genome to test if the distro is working on your system: <code>/path/to/get_phylomarkers/run_get_phylomarkers_pipeline.sh -R 1 -t DNA</code>, which will run in phylogenomics mode (-R 1), on DNA sequences (-t DNA).
65
68
66
-
10. Check it now on the protein level: 'run_get_phylomarkers_pipeline.sh -R 1 -t PROT'. Note that for this second invocation, you will probably not need to prepend the full path to the script anymore, as symlinks were created to the scripts from your $HOME/bin dir, or if you run the lines above with root privileges, from /usr/local/bin.
69
+
9. Check it now on the protein level: 'run_get_phylomarkers_pipeline.sh -R 1 -t PROT'. Note that for this second invocation, you will probably not need to prepend the full path to the script anymore, as symlinks were created to the scripts from your $HOME/bin dir, or if you run the lines above with root privileges, from /usr/local/bin.
67
70
68
-
11. Explore the help menu of the master script to see the options available for customizing the runs. It is printed to STDOUT when issuing run_get_phylomarkers_pipeline.sh -h or simply run_get_phylomarkers_pipeline.sh
71
+
10. Explore the help menu of the master script to see the options available for customizing the runs. It is printed to STDOUT when issuing run_get_phylomarkers_pipeline.sh -h or simply run_get_phylomarkers_pipeline.sh
0 commit comments