Skip to content

Commit 6b8b46b

Browse files
committed
update text
1 parent da9d0a8 commit 6b8b46b

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

harpy/snp.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ def mpileup(inputs, output_dir, regions, genome, threads, populations, ploidy, e
7676
that region will be called. If an integer is provided (default), then Harpy will
7777
call variants in parallel for intervals of that size across the entire genome.
7878
79-
Optionally specify `--populations` for population-aware variant calling.
80-
Use **harpy popgroup** to create a sample grouping file to
81-
use as input for `--populations`.
79+
Optionally specify `--populations` for population-aware variant calling (**harpy popgroup** can create that file).
8280
"""
8381
output_dir = output_dir.rstrip("/")
8482
workflowdir = os.path.join(output_dir, 'workflow')
@@ -180,9 +178,7 @@ def freebayes(inputs, output_dir, genome, threads, populations, ploidy, regions,
180178
that region will be called. If an integer is provided (default), then Harpy will
181179
call variants in parallel for intervals of that size across the entire genome.
182180
183-
Optionally specify `--populations` for population-aware variant calling.
184-
Use **harpy popgroup** to create a sample grouping file to
185-
use as input for `--populations`.
181+
Optionally specify `--populations` for population-aware variant calling (**harpy popgroup** can create that file).
186182
"""
187183
output_dir = output_dir.rstrip("/")
188184
workflowdir = os.path.join(output_dir, 'workflow')

harpy/sv.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ def leviathan(inputs, output_dir, genome, min_size, min_barcodes, iterations, du
7777
Provide the input alignment (`.bam`) files and/or directories at the end of the command as
7878
individual files/folders, using shell wildcards (e.g. `data/drosophila*.bam`), or both.
7979
80-
Optionally specify `--populations` for population-pooled variant calling.
81-
Use **harpy popgroup** to create a sample grouping file to
82-
use as input for `--populations`.
80+
Optionally specify `--populations` for population-pooled variant calling
81+
(**harpy popgroup** can create that file). If you suspect Leviathan is missing certain variants
82+
you expect to find, try lowering `--sharing-thresholds`, _e.g._ `95,95,95`. The thresholds don't
83+
have to be the same across the different size classes.
8384
"""
8485
output_dir = output_dir.rstrip("/")
8586
workflowdir = os.path.join(output_dir, 'workflow')
@@ -181,9 +182,7 @@ def naibr(inputs, output_dir, genome, vcf, min_size, min_barcodes, min_quality,
181182
as that created by `harpy phase` and Harpy will use [whatshap haplotag](https://whatshap.readthedocs.io/en/latest/guide.html#whatshap-haplotag)
182183
to phase your input bam files prior to calling variants with NAIBR.
183184
184-
Optionally specify `--populations` for population-pooled variant calling.
185-
Use **harpy popgroup** to create a sample grouping file to
186-
use as input for `--populations`.
185+
Optionally specify `--populations` for population-pooled variant calling (**harpy popgroup** can create that file).
187186
"""
188187
output_dir = output_dir.rstrip("/")
189188
workflowdir = os.path.join(output_dir, 'workflow')

0 commit comments

Comments
 (0)