Skip to content

Commit 97c0ea7

Browse files
committed
Update docstring for new demo
1 parent 3314a83 commit 97c0ea7

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

mixalime/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '2.12.9'
1+
__version__ = '2.12.10'
22
import importlib
33

44
__min_reqs__ = [

mixalime/create.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ def file_to_table(filename: str, counts=None, min_qual=10, min_cnt=5,
218218
lt.append((name, row.ref, ','.join(row.alts)))
219219
else:
220220
if snp_bad_check and lt[1][-1] != bad:
221-
raise Exception(f'SNV at {chrom}:{start} comes from at least two different BADs: {bad} and {lt[1][-1]}.')
221+
raise Exception(f'SNV at {chrom}:{start} comes from at least two different BADs: {bad} and {lt[1][-1]}.'
222+
' If that is expected, consider setting --no-snp-bad-check flag.')
222223
lt.append((filename_id, ref, alt, bad))
223224
if flag and snps_set is not None:
224225
snps_set[bad].add((chrom, start))

mixalime/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ def reproduce(filename: str, pretty: bool = True, check_results: bool = True):
239239
A [i]scorefiles[/i] folder should appear now in a working directory with plenty of BED-like files.\
240240
First, we'd like to parse those files into a [bold]MixALime[/bold]-friendly and efficient data structures for further usage, as well as perform some \
241241
basic filtering if necessary:
242-
[magenta]>[/magenta] [cyan]mixalime create myprojectname [i]scorefiles[/i][/cyan]
242+
[magenta]>[/magenta] [cyan]mixalime create myprojectname [i]scorefiles[/i] --no-snp-bad-check[/cyan]
243+
Here, --no-snp-bad-check is necessarily for our demo: we used cancer data from the K562 cell line, and SNVs can indeed come from different BAD regions.
243244
Then we fit model parameters to the data with Negative Binomial distribution:
244245
[magenta]>[/magenta] [cyan]mixalime fit myprojectname NB[/cyan]
245246
Next we obtain raw p-values:

0 commit comments

Comments
 (0)