Skip to content

Commit f4bbe43

Browse files
committed
Updates the docs
1 parent da62be9 commit f4bbe43

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

docs/future.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
Here is a list of the features that are currently planned to implement in *Structure_threader*.
33

44
* ~~Add a "setup.py" installation process~~
5-
* Add unit tests
5+
* ~~Add unit tests~~
66
* ~~Allow the fastStructure wrapper to use the ".bed" format too.~~

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
## Description
44

5-
A program to parallelize and automate the runs of [Structure](http://web.stanford.edu/group/pritchardlab/structure.html), [fastStructure](https://rajanil.github.io/fastStructure/) and [MavericK](http://www.bobverity.com/home/maverick/what-is-maverick/) software.
5+
A program to parallelize and automate the runs of [Structure](http://web.stanford.edu/group/pritchardlab/structure.html), [fastStructure](https://rajanil.github.io/fastStructure/), [MavericK](http://www.bobverity.com/home/maverick/what-is-maverick/) and [ALStructure](https://github.com/StoreyLab/alstructure) software.
66

77

88
## Requirements
99

1010
Python 3. The main program only uses modules from the standard library.
1111
In order to draw the plots, matplotlib >= 1.4 is required.
1212
To run "fastChooseK.py" (fastStructure wrapper only), numpy is also required.
13+
In order to use "ALStructure", you need to have [R](https://www.r-project.org/) installed too.
1314

1415

1516
## Where to get it

docs/test_data.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The used commands were:
2727
tar cvfJ BigTestData.str.tar.xz BigTestData.str
2828

2929

30+
## BigTestData.bed.tar.xz
31+
This file is a *PLINK* formatted `.bed`, `.bim` and `.fam` set of files. They were obtained in the exact same way as `BigTestData.str.tar.xz`, except for the conversion using *PGDSPIDER*, which was not used. Instead, the filtered VCF file was reduced to 501 individuals and 1000 SNPs with the following command:
32+
33+
head -n 1253 Chr22.recode.vcf |cut -f 1-510 > Testdata.vcf
34+
35+
This file was then converted to the *PLINK* format and compressed with the following commands:
36+
37+
plink1.9 --vcf Testdata.vcf
38+
mv plink.bed BigTestData.bed
39+
mv plink.fam BigTestData.fam
40+
mv plink.bim BigTestData.bim
41+
tar cvfJ BigTestData.bed.tar.xz BigTestData.bed BigTestData.fam BigTestData.bim
42+
43+
3044
## extraparams and mainparams
3145
The *STRUCTURE* parameter files that were used in the benchmarking process.
3246

@@ -48,5 +62,6 @@ The used commands were:
4862
## parameter.txt
4963
The *MavericK* parameter file that is used in the unit tests.
5064

65+
5166
## mav_benchmark_parameters
5267
The file with the *MAvericK* benchmark parameters.

docs/usage.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ Using the `run` mode, the program currently takes the following arguments:
2121
* *STRUCTURE* location (if you want to run *STRUCTURE*; -st)
2222
* *fastStructure* location (if you want to run *fastStructure*; -fs)
2323
* *MavericK* location (if you want to run *MavericK*; -mv)
24+
* *ALStructure_wrapper.R* location (if you want to run *ALStructure*; -als)
2425
* Number of K - you have to pass one and only one of the following arguments:
2526
* K (To test all values of "K" from 1 to "K"; -K)
2627
* Klist (To test all values of "K" in the provided list; -Klist)
27-
* Replicates (ignored for *fastStructure* and *MavericK*; -R)
28+
* Replicates (ignored for *fastStructure*, *MavericK* and *ALStructure*; -R)
2829
* Number of threads to use (-t)
2930
* Q-matrix plotting options:
3031
* Disable plot drawing (--no_plots)
3132
* Force plotting the given values together (--override_bestk)
3233
* Draw the plots only in grayscale (-bw)
33-
* Other options
34+
* Other options
3435
* Enable logging - useful when problems arise (--log)
3536
* Do not run the BestK tests (--no-tests)
3637
* Add extra arguments to pass to the wrapped program (--extra_opts) [Example: prior=logistic seed=123]

0 commit comments

Comments
 (0)