Skip to content

Commit 6ea0083

Browse files
committed
update docs
1 parent 13e3865 commit 6ea0083

6 files changed

Lines changed: 32267 additions & 464 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ __pycache__/
2121
/docs/api/_autosummary/
2222
docs/tutorials/.ipynb_checkpoints/
2323
docs/tutorials/k562/pretrained_seq2acc.pth
24+
docs/tutorials/k562/02_prepare_data/
2425
_build
2526
build_doc.sh
2627
.ipynb_checkpoints

docs/_static/versions.json

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[
2-
{
3-
"name": "dev",
4-
"version": "dev",
5-
"url": "https://pinellolab.github.io/cell2net/version/dev/"
6-
}
7-
]
2+
{
3+
"name": "latest (0.13)",
4+
"version": "0.13",
5+
"url": "https://pinellolab.github.io/cell2net/docs/latest/",
6+
"preferred": true
7+
},
8+
{
9+
"name": "0.13",
10+
"version": "0.13",
11+
"url": "https://pinellolab.github.io/cell2net/docs/0.13/"
12+
}
13+
]

docs/install.md

Lines changed: 134 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,136 @@
1-
# Installation
1+
# Cell2Net Installation Guide
22

3-
## install from github
3+
## About Cell2Net
44

5-
pip install cell2net
5+
**Cell2Net** is a comprehensive Python framework for analyzing multimodal single-cell data, specifically designed to dissect multi-scale gene regulation by predicting expression using multiple input features, including TF expression, peak accessibility, and DNA sequence. This powerful toolkit enables researchers to model and understand gene regulatory networks by connecting chromatin accessibility patterns with gene expression profiles.
6+
7+
### Key Features
8+
9+
🧬 **Multiome Data Preprocessing**
10+
11+
- Seamless handling of paired RNA-seq and ATAC-seq data
12+
- Built on MuData framework for efficient multimodal data storage
13+
- Supports 10x Genomics multiome and other paired assay formats
14+
15+
🤖 **Deep Learning Models**
16+
17+
- Sequence-to-accessibility prediction models (similar to ChromBPNet)
18+
- Joint RNA-ATAC modeling with neural networks
19+
- Pretrained encoders for transfer learning across cell types
20+
21+
🔬 **Regulatory Network Analysis**
22+
23+
- Peak-to-gene linking algorithms
24+
- Transcription factor motif scanning and analysis
25+
- TF-target gene relationship inference
26+
- Regulatory circuit reconstruction
27+
28+
📊 **Comprehensive Preprocessing**
29+
30+
- Metacell generation for noise reduction
31+
- Genomic annotation integration (genes, peaks, motifs)
32+
- Batch effect correction and normalization
33+
34+
🎯 **Interpretability Tools**
35+
36+
- Attribution-based model interpretation
37+
- Saturation mutagenesis for sequence analysis
38+
- Perturbation prediction and analysis (Ongoing)
39+
- Visualization utilities for regulatory networks
40+
41+
### Use Cases
42+
43+
- **Gene Regulatory Network Reconstruction**: Build interpretable models connecting TFs → chromatin accessibility → gene expression
44+
- **Cell Type Analysis**: Compare regulatory programs across different cell types and conditions
45+
- **Perturbation Prediction**: Model effects of genetic variants, TF knockdowns, or drug treatments
46+
- **Developmental Biology**: Analyze regulatory changes during differentiation and development
47+
- **Disease Research**: Understand regulatory dysregulation in disease contexts
48+
49+
### Scientific Background
50+
51+
Cell2Net addresses the challenge of understanding how chromatin accessibility changes drive gene expression differences across cells. By jointly modeling both modalities with deep learning, it captures complex regulatory relationships that traditional correlation-based methods miss. The framework incorporates:
52+
53+
- **Sequence context**: DNA sequence features that determine TF binding
54+
- **Chromatin state**: Accessibility patterns that enable or restrict binding
55+
- **Expression coupling**: Direct modeling of accessibility-expression relationships
56+
- **Regulatory hierarchy**: TF → peak → gene causal relationships
57+
58+
## Installation
59+
60+
### Prerequisites
61+
62+
- Python 3.8 or higher
63+
- CUDA-compatible GPU (recommended for model training)
64+
- At least 16GB RAM for large datasets
65+
66+
### Install from PyPI (Recommended)
67+
68+
```bash
69+
pip install cell2net
70+
```
71+
72+
### Install from GitHub (Latest Development Version)
73+
74+
```bash
75+
pip install git+https://github.com/pinellolab/cell2net.git
76+
```
77+
78+
### Install in Development Mode
79+
80+
For contributors or users wanting to modify the source code:
81+
82+
```bash
83+
git clone https://github.com/pinellolab/cell2net.git
84+
cd cell2net
85+
pip install -e .
86+
```
87+
88+
### Optional Dependencies
89+
90+
For enhanced functionality, install additional packages:
91+
92+
```bash
93+
# For advanced visualization
94+
pip install plotly kaleido
95+
96+
# For motif analysis
97+
pip install logomaker
98+
99+
# For GPU acceleration (if not already installed)
100+
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
101+
```
102+
103+
## Quick Start
104+
105+
After installation, verify your setup:
106+
107+
```python
108+
import cell2net as cn
109+
import mudata as md
110+
111+
# Load example data
112+
mdata = md.read_h5mu("path/to/multiome_data.h5mu")
113+
114+
# Basic preprocessing
115+
cn.pp.add_peaks(mdata, mod_name='atac')
116+
cn.pp.add_dna_sequence(mdata, ref_fasta='genome.fa')
117+
118+
# Create and train a model
119+
model = cn.tl.Cell2Net(mdata, gene='GENE_OF_INTEREST')
120+
model.train()
121+
```
122+
123+
## Getting Help
124+
125+
- 📖 **Documentation**: [Complete tutorials and API reference](docs/)
126+
- 🐛 **Issues**: [Report bugs or request features](https://github.com/pinellolab/cell2net/issues)
127+
- 💬 **Discussions**: [Community Q&A and discussions](https://github.com/pinellolab/cell2net/discussions)
128+
- 📧 **Contact**: For research collaborations or questions
129+
130+
## Citation
131+
132+
If you use Cell2Net in your research, please cite our paper:
133+
134+
```bibtex
135+
[Citation information will be added upon publication]
136+
```

docs/tutorials/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ We provide several tutorials to help you get started with Cell2Net and explore i
55

66
.. toctree::
77
:maxdepth: 2
8-
:caption: Tutorials
98

109
k562/index

0 commit comments

Comments
 (0)