Skip to content

Commit ab5d313

Browse files
authored
Merge pull request #162 from pachterlab/devel
merge devel into master
2 parents 7623307 + 03796ff commit ab5d313

26 files changed

+689
-2275402
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,4 @@ venv.bak/
104104
# mypy
105105
.mypy_cache/
106106
.DS_Store
107+
.vscode/

kb_python/config.py

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import platform
33
import shutil
44
from collections import namedtuple
5-
from typing import Optional
5+
from typing import NamedTuple, Optional
66
from urllib.parse import urljoin
77

88
import ngs_tools as ngs
@@ -89,12 +89,27 @@ def get_compiled_bustools_path(alias: str = COMPILED_DIR) -> Optional[str]:
8989
KALLISTO_PATH = get_compiled_kallisto_path() or get_provided_kallisto_path()
9090
BUSTOOLS_PATH = get_compiled_bustools_path() or get_provided_bustools_path()
9191

92+
9293
# Technology to file position mapping
93-
Technology = namedtuple('Technology', ['name', 'description', 'chemistry'])
94+
class Technology(NamedTuple):
95+
name: str
96+
description: str
97+
chemistry: ngs.chemistry.Chemistry
98+
show: bool = True
99+
100+
94101
TECHNOLOGIES = sorted([
95102
Technology('10XV1', '10x version 1', ngs.chemistry.get_chemistry('10xv1')),
96103
Technology('10XV2', '10x version 2', ngs.chemistry.get_chemistry('10xv2')),
97104
Technology('10XV3', '10x version 3', ngs.chemistry.get_chemistry('10xv3')),
105+
Technology(
106+
'10XV3_ULTIMA', '10x version 3 sequenced with Ultima',
107+
ngs.chemistry.get_chemistry('10xv3_Ultima')
108+
),
109+
Technology(
110+
'10XFB', '10x Feature Barcode',
111+
ngs.chemistry.get_chemistry('10xFBonly'), False
112+
),
98113
Technology('CELSEQ', 'CEL-Seq', ngs.chemistry.get_chemistry('celseq')),
99114
Technology(
100115
'CELSEQ2', 'CEL-SEQ version 2', ngs.chemistry.get_chemistry('celseq2')

kb_python/constants.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
BUS_SC_FILENAME = 'output.s.c.bus'
1717
BUS_UNFILTERED_FILENAME = 'output.unfiltered.bus'
1818
BUS_FILTERED_FILENAME = 'output.filtered.bus'
19-
BUS_MASHED_FILENAME = 'mashed.bus'
20-
BUS_MERGED_FILENAME = 'merged.bus'
21-
ECMAP_MERGED_FILENAME = 'merged.ec'
2219
BUS_CDNA_PREFIX = 'spliced'
2320
BUS_INTRON_PREFIX = 'unspliced'
2421
ECMAP_FILENAME = 'matrix.ec'
@@ -63,6 +60,8 @@
6360
INTERNAL_SUFFIX = '_internal'
6461
UMI_SUFFIX = '_umi'
6562
CAPTURE_FILENAME = 'capture_nonUMI.txt'
63+
INSPECT_INTERNAL_FILENAME = 'inspect_internal.json'
64+
INSPECT_UMI_FILENAME = 'inspect_umi.json'
6665

6766
# File codes.
6867
# These are appended to the filename whenever it undergoes some kind of

0 commit comments

Comments
 (0)