brie 2.2.2__tar.gz → 2.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {brie-2.2.2 → brie-2.2.3}/.gitignore +1 -0
- {brie-2.2.2 → brie-2.2.3}/PKG-INFO +17 -5
- {brie-2.2.2 → brie-2.2.3}/brie/plot/LRtest_plot.py +1 -1
- {brie-2.2.2 → brie-2.2.3}/brie/plot/base_plot.py +1 -1
- brie-2.2.3/brie/version.py +2 -0
- {brie-2.2.2 → brie-2.2.3}/brie.egg-info/PKG-INFO +17 -5
- {brie-2.2.2 → brie-2.2.3}/brie.egg-info/entry_points.txt +0 -1
- {brie-2.2.2 → brie-2.2.3}/doc/brie_quant.rst +10 -6
- {brie-2.2.2 → brie-2.2.3}/doc/install.rst +19 -21
- {brie-2.2.2 → brie-2.2.3}/doc/release.rst +5 -0
- brie-2.2.2/brie/version.py +0 -2
- {brie-2.2.2 → brie-2.2.3}/.readthedocs.yml +0 -0
- {brie-2.2.2 → brie-2.2.3}/.travis.yml +0 -0
- {brie-2.2.2 → brie-2.2.3}/LICENSE +0 -0
- {brie-2.2.2 → brie-2.2.3}/README.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/__init__.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/_cli/__init__.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/_cli/_cli.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/_cli/count.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/_cli/download.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/_cli/extract.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/_cli/quant.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/bin/__init__.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/bin/brie_main.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/bin/count.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/bin/quant.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/__init__.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/base_model.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/hypothesis_tests.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/model_Beta.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/model_TFProb.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/model_TFProb_dev.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/model_wrap.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/simulator.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/models/tools.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/plot/__init__.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/settings.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/__init__.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/base_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/bias_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/count.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/count_droplet.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/fasta_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/gtf_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/io_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/preprocessing.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/run_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/sam_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/utils/tran_utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/version1/brie.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/version1/brie_diff.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie/version1/model_brie.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie.egg-info/SOURCES.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie.egg-info/dependency_links.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie.egg-info/requires.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/brie.egg-info/top_level.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/Makefile +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/brie1.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/brie_count.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/conf.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/image/BRIE2_roadmap.png +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/index.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/quick_start.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/requirements.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/doc/tutorial.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/brie2_demo.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/demo_v1/anno_maker.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/demo_v1/brie_demo.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/gastrulation/E-MTAB-4079.130cells.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/gastrulation/brie_sashimi.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/gastrulation/gastrulation_130cells.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/gastrulation/prepare_anno.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/gastrulation/sashimi_setting.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/examples/make_list.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/requirements.txt +0 -0
- {brie-2.2.2 → brie-2.2.3}/setup.cfg +0 -0
- {brie-2.2.2 → brie-2.2.3}/setup.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/simulator/README.rst +0 -0
- {brie-2.2.2 → brie-2.2.3}/simulator/simuDropout.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/simulator/simuPSI.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/simulator/spanki_demo.sh +0 -0
- {brie-2.2.2 → brie-2.2.3}/simulator/utils.py +0 -0
- {brie-2.2.2 → brie-2.2.3}/tests/README.rst +0 -0
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: brie
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: BRIE: Bayesian regression for isoform estimate
|
|
5
5
|
Home-page: https://brie.readthedocs.io
|
|
6
6
|
Author: Yuanhua Huang
|
|
7
7
|
Author-email: yuanhua@hku.hk
|
|
8
8
|
License: Apache-2.0
|
|
9
9
|
Keywords: RNA splicing,Bayesian regression,single cell RNA-seq,variantional inference
|
|
10
|
-
Platform: UNKNOWN
|
|
11
10
|
Requires-Python: >=3.5
|
|
12
|
-
Provides-Extra: docs
|
|
13
11
|
License-File: LICENSE
|
|
12
|
+
Requires-Dist: anndata>=0.6
|
|
13
|
+
Requires-Dist: scanpy>=1.5
|
|
14
|
+
Requires-Dist: pysam>=0.15.2
|
|
15
|
+
Requires-Dist: numpy>=1.18.0
|
|
16
|
+
Requires-Dist: scipy>=1.4.1
|
|
17
|
+
Requires-Dist: statsmodels>=0.11
|
|
18
|
+
Requires-Dist: pandas>=0.23.0
|
|
19
|
+
Requires-Dist: h5py>=2.9.0
|
|
20
|
+
Requires-Dist: matplotlib>=3.1.2
|
|
21
|
+
Requires-Dist: seaborn>=0.10.0
|
|
22
|
+
Requires-Dist: tensorflow>=2.0.0
|
|
23
|
+
Requires-Dist: tensorflow-probability>=0.8.0
|
|
24
|
+
Requires-Dist: scikit-learn>=0.23
|
|
25
|
+
Requires-Dist: click>=7.0.0
|
|
26
|
+
Provides-Extra: docs
|
|
27
|
+
Requires-Dist: sphinx_bootstrap_theme; extra == "docs"
|
|
14
28
|
|
|
15
29
|
|PyPI| |Docs| |Build Status|
|
|
16
30
|
|
|
@@ -125,5 +139,3 @@ References
|
|
|
125
139
|
quantification in single cells
|
|
126
140
|
<https://genomebiology.biomedcentral.com/articles/10.1186/s13059-017-1248-5>`_.
|
|
127
141
|
\ **Genome Biology**\, 2017; 18(1):123.
|
|
128
|
-
|
|
129
|
-
|
|
@@ -75,7 +75,7 @@ def volcano(adata, x="cell_coeff", y="ELBO_gain", index=0, score_red=4,
|
|
|
75
75
|
plt.scatter(xval[~idx], yval[~idx], color="gray")
|
|
76
76
|
plt.scatter(xval[idx], yval[idx], color="firebrick")
|
|
77
77
|
|
|
78
|
-
lable = adata.var.index if anno_id
|
|
78
|
+
lable = adata.var.index if anno_id == 'index' else adata.var[anno_id]
|
|
79
79
|
|
|
80
80
|
texts = []
|
|
81
81
|
for i in idx_anno:
|
|
@@ -1,16 +1,30 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: brie
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: BRIE: Bayesian regression for isoform estimate
|
|
5
5
|
Home-page: https://brie.readthedocs.io
|
|
6
6
|
Author: Yuanhua Huang
|
|
7
7
|
Author-email: yuanhua@hku.hk
|
|
8
8
|
License: Apache-2.0
|
|
9
9
|
Keywords: RNA splicing,Bayesian regression,single cell RNA-seq,variantional inference
|
|
10
|
-
Platform: UNKNOWN
|
|
11
10
|
Requires-Python: >=3.5
|
|
12
|
-
Provides-Extra: docs
|
|
13
11
|
License-File: LICENSE
|
|
12
|
+
Requires-Dist: anndata>=0.6
|
|
13
|
+
Requires-Dist: scanpy>=1.5
|
|
14
|
+
Requires-Dist: pysam>=0.15.2
|
|
15
|
+
Requires-Dist: numpy>=1.18.0
|
|
16
|
+
Requires-Dist: scipy>=1.4.1
|
|
17
|
+
Requires-Dist: statsmodels>=0.11
|
|
18
|
+
Requires-Dist: pandas>=0.23.0
|
|
19
|
+
Requires-Dist: h5py>=2.9.0
|
|
20
|
+
Requires-Dist: matplotlib>=3.1.2
|
|
21
|
+
Requires-Dist: seaborn>=0.10.0
|
|
22
|
+
Requires-Dist: tensorflow>=2.0.0
|
|
23
|
+
Requires-Dist: tensorflow-probability>=0.8.0
|
|
24
|
+
Requires-Dist: scikit-learn>=0.23
|
|
25
|
+
Requires-Dist: click>=7.0.0
|
|
26
|
+
Provides-Extra: docs
|
|
27
|
+
Requires-Dist: sphinx_bootstrap_theme; extra == "docs"
|
|
14
28
|
|
|
15
29
|
|PyPI| |Docs| |Build Status|
|
|
16
30
|
|
|
@@ -125,5 +139,3 @@ References
|
|
|
125
139
|
quantification in single cells
|
|
126
140
|
<https://genomebiology.biomedcentral.com/articles/10.1186/s13059-017-1248-5>`_.
|
|
127
141
|
\ **Genome Biology**\, 2017; 18(1):123.
|
|
128
|
-
|
|
129
|
-
|
|
@@ -46,6 +46,8 @@ Example command line for mode 2:
|
|
|
46
46
|
|
|
47
47
|
.. code-block:: bash
|
|
48
48
|
|
|
49
|
+
# keep the following line if you have GPU and want to specify a card
|
|
50
|
+
CUDA_VISIBLE_DEVICES=1 \
|
|
49
51
|
brie-quant -i out_dir/brie_count.h5ad -o out_dir/brie_quant_aggr.h5ad --interceptMode gene
|
|
50
52
|
|
|
51
53
|
|
|
@@ -177,10 +179,10 @@ you are using):
|
|
|
177
179
|
-g GENE_FILE, --geneFile=GENE_FILE
|
|
178
180
|
File for gene features in tsv[.gz] with gene and feature ids.
|
|
179
181
|
-o OUT_FILE, --out_file=OUT_FILE
|
|
180
|
-
Full path of output file for annData in h5ad
|
|
181
|
-
$inFile/brie_quant.h5ad]
|
|
182
|
-
--LRTindex=LRT_INDEX Index (0-based) of cell features to test with LRT:
|
|
183
|
-
or comma separated integers [default: None]
|
|
182
|
+
Full path of output file for annData in h5ad
|
|
183
|
+
[default: $inFile/brie_quant.h5ad]
|
|
184
|
+
--LRTindex=LRT_INDEX Index (0-based) of cell features to test with LRT:
|
|
185
|
+
All, None or comma separated integers [default: None]
|
|
184
186
|
--testBase=TEST_BASE Features in testing base model: full, null [default: full]
|
|
185
187
|
--interceptMode=INTERCEPT_MODE
|
|
186
188
|
Intercept mode: gene, cell or None [default: None]
|
|
@@ -194,8 +196,8 @@ you are using):
|
|
|
194
196
|
Minimum unique counts for fitltering genes [default: 10]
|
|
195
197
|
--minCell=MIN_CELL Minimum number of cells with unique count for fitltering genes
|
|
196
198
|
[default: 30]
|
|
197
|
-
--minMIF=MIN_MIF Minimum minor isoform frequency in unique count
|
|
198
|
-
0.001]
|
|
199
|
+
--minMIF=MIN_MIF Minimum minor isoform frequency in unique count
|
|
200
|
+
[default: 0.001]
|
|
199
201
|
|
|
200
202
|
VI Optimization:
|
|
201
203
|
--MCsize=MC_SIZE Sample size for Monte Carlo Expectation [default: 3]
|
|
@@ -205,3 +207,5 @@ you are using):
|
|
|
205
207
|
Element size per batch: n_gene * total cell [default: 500000]
|
|
206
208
|
--pseudoCount=PSEUDO_COUNT
|
|
207
209
|
Pseudo count to add on unique count matrices [default: 0.01]
|
|
210
|
+
-p NPROC, --nproc=NPROC
|
|
211
|
+
Number of processes for computing [default: 6]
|
|
@@ -9,11 +9,12 @@ easier and cleaner management of dependent packages, particularly TensorFlow and
|
|
|
9
9
|
TensorFlow-probability, which are under active development.
|
|
10
10
|
|
|
11
11
|
The following command line in terminal (Linux or MacOS) will create a conda
|
|
12
|
-
environment with name ``TFProb``, probably in the path ``~/.conda/envs/TFProb
|
|
12
|
+
environment with name ``TFProb``, probably in the path ``~/.conda/envs/TFProb``
|
|
13
|
+
(tested on Python 3.7 to 3.11):
|
|
13
14
|
|
|
14
15
|
.. code-block:: bash
|
|
15
16
|
|
|
16
|
-
conda create -n TFProb python=3.
|
|
17
|
+
conda create -n TFProb python=3.11
|
|
17
18
|
|
|
18
19
|
Alternatively, you can create the environment in another path by replacing
|
|
19
20
|
``-n TFProb`` with ``-p ANY_PATH/TFProb`` to specify the path for conda
|
|
@@ -51,32 +52,29 @@ your own conda environment.
|
|
|
51
52
|
GPU usage
|
|
52
53
|
=========
|
|
53
54
|
One of the key benefits of using TensorFlow backend is its direct support of
|
|
54
|
-
GPU for substantial speedups (generally >10x).
|
|
55
|
-
|
|
55
|
+
GPU for substantial speedups (generally >10x). In general, the above
|
|
56
|
+
installation should directly support GPU use as default by using the newest
|
|
57
|
+
tensorflow and tensorflow-probability.
|
|
56
58
|
|
|
57
|
-
|
|
59
|
+
To check if the installation is compatible with GPUs, you can print out the
|
|
60
|
+
detectable GPU cards, as below (it gives `[ ]` if failing to setup properly):
|
|
58
61
|
|
|
59
|
-
|
|
60
|
-
conda install -c anaconda cudatoolkit
|
|
62
|
+
.. code-block:: html
|
|
61
63
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
For more information on GPU configuration, please refer to the
|
|
65
|
-
`Tensorflow documentation`_ or `anaconda GPU`_.
|
|
64
|
+
$ python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
|
|
65
|
+
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU'), ...]
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
However, occasionally, the newest TensorFlow may not be stable or compatible
|
|
68
|
+
widely, for example the `tensorflow[and-cuda]==2.16.1` is not compatible with GPUs,
|
|
69
|
+
see discussion `here <https://github.com/tensorflow/tensorflow/issues/63362#issuecomment-2053849484>`_.
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
Here is one way to use a lower version for GPU configurations with NVIDIA GPU
|
|
72
|
+
on Ubuntu (tested on 21/04/2024):
|
|
72
73
|
|
|
73
|
-
.. code-block::
|
|
74
|
-
|
|
75
|
-
$ brie-quant
|
|
76
|
-
I tensorflow/stream_executor/platform/default/dso_loader.cc:53]
|
|
77
|
-
Successfully opened dynamic library libcudart.so.11.0
|
|
78
|
-
Welcome to brie-quant in BRIE v2.0.5!
|
|
74
|
+
.. code-block:: bash
|
|
79
75
|
|
|
76
|
+
pip install tensorflow-probability==0.23.0
|
|
77
|
+
pip install tensorflow[and-cuda]==2.15.1
|
|
80
78
|
|
|
81
79
|
.. note::
|
|
82
80
|
At the moment, TensorFlow calls all available GPUs, which is not necessary.
|
|
@@ -5,6 +5,11 @@ Release notes
|
|
|
5
5
|
Release in future
|
|
6
6
|
=================
|
|
7
7
|
|
|
8
|
+
Release v2.2.3 (15/05/2022)
|
|
9
|
+
===========================
|
|
10
|
+
* minor fix in plotting function brie.pl.count()
|
|
11
|
+
* add submodule brie-tutorials
|
|
12
|
+
|
|
8
13
|
Release v2.2.2 (04/11/2022)
|
|
9
14
|
===========================
|
|
10
15
|
* support limit the CPU threads used by tensorflow in brie-quant (default 6)
|
brie-2.2.2/brie/version.py
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|