Skip to content

Commit 51ec0bd

Browse files
authored
LD-PGTA v3
1 parent 7b17e9f commit 51ec0bd

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

pipeline.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ In addition, the following flags are supported:
132132

133133
| Optional argument | Description |
134134
| --- | --- |
135+
|`--ignore-duplicates` | _Ignore multiple records with the same chromosomal position._ |
135136
| `--output-directory <PATH>` | _The directory in which the reference panel would be created._ |
136-
| `--force-module cyvcf2/bcftools/pysam`| _By deafult cyvcf2 module would be used. This allows to use pysam or bcftools instead._ |
137+
| `--force-module cyvcf2/bcftools/pysam`| _By default cyvcf2 module would be used. This allows to use pysam or bcftools instead._
137138

138139
# Stage 3: Tabulation of allele observations at known SNPs #
139140
<a name="obs_tab"/>
@@ -166,9 +167,9 @@ The script `ANEUPLOIDY_TEST.py` builds a dictionary that lists linkage disequili
166167

167168
As demonstration, we run the script with the following arguments and flags:
168169

169-
`python3 ANEUPLOIDY_TEST.py SRR6676163.obs.p EUR_panel.chr21.legend EUR_panel.chr21.hap EUR_panel.chr21.sam EUR --window-size 0 --min-reads 6 --max-reads 4 --compress bz2`,
170+
`python3 ANEUPLOIDY_TEST.py SRR6676163.obs.p EUR_panel.chr21.legend EUR_panel.chr21.hap EUR --window-size 0 --min-reads 6 --max-reads 4 --compress bz2`,
170171

171-
where the first argument is the filename of a pickle file created by MAKE_OBS_TAB, containing base observations at known SNP positions. The second argument is the filename of the reference panel legend, which lists the SNPs in our reference panel. The third required argument is the filename of the reference panel haplotypes, which lists the haplotypes in our reference panel. The forth required argument is the filename of the reference panel samples, which describes the ancestral group of the individuals consisting the reference panel. The fifth argument is ancestral makeup of SRR6676163. In general, the ancestral makeup is specified as follows:
172+
where the first argument is the filename of a pickle file created by MAKE_OBS_TAB, containing base observations at known SNP positions. The second argument is the filename of the reference panel legend, which lists the SNPs in our reference panel. The third required argument is the filename of the reference panel haplotypes, which lists the haplotypes in our reference panel. The forth argument is ancestral makeup of SRR6676163. In general, the ancestral makeup is specified as follows:
172173
1. For non-admixtures the argument consists a single superpopulation, e.g., `EUR`.
173174
2. For recent admixtures the argument consists two superpopulations, e.g., `EUR EAS`.
174175
3. For distant admixtures the argument consists of the superpoplations and their proportions, e.g, `EUR 0.8 EAS 0.1 SAS 0.1`.
@@ -408,3 +409,4 @@ where `--haplegendsample prefix` _converts from BCF to hap/legend/sample format
408409
* The script `MAKE_OBS_TAB.py` requires pysam v0.18.0 or above.
409410
* The script `ANEUPLOIDY_TEST.py` would perform faster when gmpy2 v2.1.0rc1 is present.
410411
* The script `PLOT_PANEL.py` requires matplotlib v3.5.1 or above.
412+

0 commit comments

Comments
 (0)