Skip to content

Commit 5d08b93

Browse files
authored
Update snp_diversity.md
1 parent 1d24f2d commit 5d08b93

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/snp_diversity.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,21 @@ Site filters (select subset of genomic sites from INDIR):
7272
2) Quantify between-sample heterogenity genome-wide
7373
`snp_diversity.py /path/to/snps --genomic_type genome-wide --sample_type pooled-sample --out /path/to/output`
7474

75-
3) Quantify between-sample heterogenity per-gene
75+
3) Quantify between-sample heterogenity per-gene
7676
`snp_diversity.py /path/to/snps --genomic_type per-gene --sample_type pooled-samples --out /path/to/output`
7777

7878
4) Use downsampling to control the read-depth at each genomic site
7979
`snp_diversity.py /path/to/snps --genomic_type genome-wide --sample_type per-sample --out /path/to/output`
8080

8181
5) Only quantify diversity at non-synonymous sites
82+
`snp_diversity.py /path/to/snps --genomic_type genome-wide --sample_type pooled-samples --site_type 1D --locus_type CDS --out /path/to/output`
83+
84+
6) Only quantify diversity at synonymous sites (Note: use the ratio of 5/6 for pN/pS)
8285
`snp_diversity.py /path/to/snps --genomic_type genome-wide --sample_type pooled-samples --site_type 4D --locus_type CDS --out /path/to/output`
8386

84-
6) Quantify SNPs using a different definition of a polymorphism
87+
7) Quantify SNPs using a different definition of a polymorphism
8588
`snp_diversity.py /path/to/snps --genomic_type genome-wide --sample_type per-sample --snp_maf 0.05 --out /path/to/output`
8689

87-
7) Run a quick test
90+
8) Run a quick test
8891
`snp_diversity.py /path/to/snps --max_sites 10000 --out /path/to/output`
8992

0 commit comments

Comments
 (0)