-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
43 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,43 +16,43 @@ Email: `[email protected]` for questions. | |
INSTALLATION: | ||
----------- | ||
There is no installation required to run ASTRAL. | ||
You simply need to download the [zip file](https://github.com/smirarab/ASTRAL/raw/master/Astral.4.7.8.zip) | ||
You simply need to download the [zip file](https://github.com/smirarab/ASTRAL/raw/master/Astral.4.7.12.zip) | ||
and extract the contents to a folder of your choice. Alternatively, you can clone the [github repository](https://github.com/smirarab/ASTRAL/). You can run `make.sh` to build the project or simply use the jar file that is included with the repository. | ||
|
||
ASTRAL is a java-based application, and should run in any environment (Windows, Linux, Mac, etc.) as long as java is installed. Java 1.5 or later is required. We have tested ASTRAL only on Linux and MAC. | ||
|
||
To test your installation, go to the place where you uncompressed ASTRAL, and run: | ||
|
||
``` | ||
java -jar astral.4.7.8.jar -i test_data/song_primates.424.gene.tre | ||
java -jar astral.4.7.12.jar -i test_data/song_primates.424.gene.tre | ||
``` | ||
|
||
This should quickly finish. There are also other sample input files under `test_data/` that can be used. | ||
|
||
ASTRAL can be run from any directories. You just need to run `java -jar /path/to/astral/astral.4.7.8.jar`. | ||
Also, you can move `astral.4.7.8.jar` to any location you like and run it from there, but note that you need | ||
ASTRAL can be run from any directories. You just need to run `java -jar /path/to/astral/astral.4.7.12.jar`. | ||
Also, you can move `astral.4.7.12.jar` to any location you like and run it from there, but note that you need | ||
to move the `lib` directory as well. | ||
|
||
EXECUTION: | ||
----------- | ||
ASTRAL currently has no GUI. You need to run it through command-line. In a terminal, go the location where you have downloaded the software, and issue the following command: | ||
|
||
``` | ||
java -jar astral.4.7.8.jar | ||
java -jar astral.4.7.12.jar | ||
``` | ||
|
||
This will give you a list of options available in ASTRAL. | ||
|
||
To find the species tree given a set of gene trees in a file called `in.tree`, use: | ||
|
||
``` | ||
java -jar astral.4.7.8.jar -i in.tree | ||
java -jar astral.4.7.12.jar -i in.tree | ||
``` | ||
|
||
The results will be outputted to the standard output. To save the results in a file use the `-o` option (**Strongly recommended, unless you are using a pipeline**): | ||
|
||
``` | ||
java -jar astral.4.7.8.jar -i in.tree -o out.tre | ||
java -jar astral.4.7.12.jar -i in.tree -o out.tre | ||
``` | ||
|
||
The input gene trees can have missing taxa, polytommies (unresolved branches), and also multiple individuals per species. When multiple individuals from the same species are available, a mapping file needs to be provided using a `-a` option. This mapping file should have one line per species, and each line needs to be in one of two formats: | ||
|
@@ -71,7 +71,7 @@ that you test [multiind](https://github.com/smirarab/ASTRAL/tree/multiind) branc | |
To perform 100 replicates of multi-locus bootstrapping ([Seo 2008](http://www.ncbi.nlm.nih.gov/pubmed/18281270)), use: | ||
|
||
``` | ||
java -jar astral.4.7.8.jar -i best_ml -b bs_paths -r 100 | ||
java -jar astral.4.7.12.jar -i best_ml -b bs_paths -r 100 | ||
``` | ||
|
||
In this command, `bs_paths` is a file that gives the location of gene tree bootstrap files, one line per gene. | ||
|
@@ -96,7 +96,7 @@ Also related to bootstrapping are `-g` (to enable gene/site resampling) and `-s` | |
For big datasets (say more than 100 taxon) increasing the memory available to Java can result in speed ups. Note that you should give Java only as much free memory as you have available on your machine. So, for example, if you have 3GB of free memory, you can invoke ASTRAL using the following command to make all the 3GB available to Java: | ||
|
||
``` | ||
java -Xmx3000M -jar astral.4.7.8.jar -i in.tree | ||
java -Xmx3000M -jar astral.4.7.12.jar -i in.tree | ||
``` | ||
|
||
Acknowledgment | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters