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
{{ message }}
Repository navigation
Commit b086fa7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -257,18 +257,21 @@ grups-rs fst \
257
257
258
258
#### Using FSA-encoded files with `grups-rs`
259
259
260
-
Once the indexation is completed, `.fst` and `.fst.frq` files can be used seamlessly when performing pedigree simulations. The user merely has to specify the input type using the [`--mode`](#i--mode) argument. Specifying a target directory is performed in the same way, using [`--data-dir`](#f--data-dir).
260
+
Once the indexation is completed, `.fst` and `.fst.frq` files can be used seamlessly when performing pedigree simulations. The user merely has to specify the input type using the [`--mode`](#i--mode) argument. Specifying a target directory is performed in the same way, using [`--data-dir`](#f--data-dir). Starting at [`grups-rs v0.5.0`](https://github.com/MaelLefeuvre/grups-rs/tree/v0.5.0), an additional benefit of using FSA-encoded files, is that `grups-rs` will greatly benefit from multithreading.
261
+
Note that multithreading is here performed across all pairwise comparisons, and is parametrized using the [`--threads`](#---threads) argument.
@@ -912,6 +915,11 @@ Path to input pedigree definition file. Examples of such definition files may be
912
915
913
916
#### Optional arguments
914
917
918
+
###### `-@`|`--threads`
919
+
Number of parallel CPU processes when performing FST-Indexation
920
+
921
+
Note that parallelization is dispatched according to the number of investigated pairwise comparisons. Thus, there is no point in invoking more than $n\cdot(n-1)/2$ threads, where $n$ is the number of samples being compared within the pileup. When [`--self-comparison`](#s--self-comparison) is applied, the sofware can benefit from as much as $n^{2}/2$ thread, provided your computer has enough CPU resources..
922
+
915
923
###### `-d`|`--af-downsampling-rate`
916
924
Allele frequency downsampling rate, i.e. the proportion of SNPs to keep at true frequency (in percentage).
917
925
@@ -1047,7 +1055,7 @@ Note that parallelization is dispatched according to the number of separate `.vc
1047
1055
###### `--decompression-threads`
1048
1056
Number of additional parallel decompression threads when decompressing BGZF-compressed VCF files. (This parameter has no effect when working with uncompressed `.vcf` files.)
1049
1057
1050
-
Also note that decompression threads have a multiplicative effect when combined with '--threads'. Thus, setting `--decompression-threads 2` and `--threads 22`, will in fact consume up to 44 worker threads.
1058
+
Also note that decompression threads have a multiplicative effect when combined with [`--threads`](#---threads-1). Thus, setting `--decompression-threads 2` and `--threads 22`, will in fact consume up to 44 worker threads.
0 commit comments