Update .travis.yml
Python implementation of emptydrops-like cell calling as in CellRanger v3.0.2
All code originally comes from https://github.com/10XGenomics/cellranger with minimal modifications for packaging and running under python3.
from emptydrops import find_nonambient_barcodes from emptydrops.matrix import CountMatrix matrix = CountMatrix.from_legacy_mtx(mtx_dir) find_nonambient_barcodes( matrix, # Full expression matrix orig_cell_bcs, # (iterable of str): Strings of initially-called cell barcodes min_umi_frac_of_median=0.01, min_umis_nonambient=500, max_adj_pvalue=0.01 )
Returns:
[ 'eval_bcs', # Candidate barcode indices in addition to those in `orig_cell_bcs` (n) 'log_likelihood',# Ambient log likelihoods (n) 'pvalues', # pvalues (n) 'pvalues_adj', # B-H adjusted pvalues (n) 'is_nonambient', # Boolean nonambient calls (n) ]
用于单细胞RNA测序数据中识别空液滴和细胞条形码
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
emptydrops
Python implementation of emptydrops-like cell calling as in CellRanger v3.0.2
Disclaimer:
All code originally comes from https://github.com/10XGenomics/cellranger with minimal modifications for packaging and running under python3.
Usage:
Returns: