README.md 3.01 KB
Newer Older
adaZ-9's avatar
adaZ-9 committed
1

wangsen's avatar
wangsen committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25


# 论文
CIRI-Deep Enables Single-Cell and Spatial Transcriptomic Analysis of Circular RNAs with Deep Learning
https://onlinelibrary.wiley.com/doi/10.1002/advs.202308115



# 模型结构
CIRI-deep模型可有效用于各转录组样本间推断差异剪接环形RNA,拓展了环形RNA的研究范围,为环形RNA研究提供了新的高效分析方法。同时,CIRI-deepA模型可以提供单细胞及空间水平环形RNA的有效解析,

![img](./images/image.png)



# 算法原理
CIRI deep通过深度神经网络对circRNA的顺式特征和样本对(总RNA或富含poly(A)的RNA)的RBP表达进行训练。

![Alt text](./images/image-1.png)


# 环境配置
## Docker(方法一)

adaZ-9's avatar
adaZ-9 committed
26
```
wangsen's avatar
wangsen committed
27
28
docker pull  image.sourcefind.cn:5000/dcu/admin/base/custom:cirideep
docker run -dit --shm-size 80g --network=host --name=CIRI --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /opt/hyhal/:/opt/hyhal/:ro image.sourcefind.cn:5000/dcu/admin/base/custom:cirideep   /bin/bash
wangsen's avatar
wangsen committed
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
docker exec -it CIRI /bin/bash
```

安装依赖

```
pip install ./whl/tensorflow-1.15.1+git06e2e8aa.dtk2404-cp37-cp37m-linux_x86_64.whl
pip install -r requirements.txt  -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
```



## Dockerfile(方法二)

```
docker build -t geneformer:latest .
docker run -dit --shm-size 80g --network=host --name=geneformer --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -u root -v /opt/hyhal/:/opt/hyhal/:ro geneformer:latest /bin/bash
docker exec -it CIRI /bin/bash
```

wangsen's avatar
wangsen committed
49
## anaconda (方法三)
wangsen's avatar
wangsen committed
50
51
52
53
54
55
56
57
58

1.创建conda虚拟环境:

```
conda create -n  CIRI  python=3.7
conda activate CIRI 
```

2.其它依赖库参照requirements.txt安装:
adaZ-9's avatar
adaZ-9 committed
59

adaZ-9's avatar
adaZ-9 committed
60
```
wangsen's avatar
wangsen committed
61
62
63
64
65
66
67
pip install ./whl/tensorflow-1.15.1+git06e2e8aa.dtk2404-cp37-cp37m-linux_x86_64.whl
pip install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
```


# 预测

adaZ-9's avatar
adaZ-9 committed
68

wangsen's avatar
wangsen committed
69
## 用CIRI-deep进行预测
adaZ-9's avatar
adaZ-9 committed
70
```
wangsen's avatar
wangsen committed
71
python CIRIdeep.py predict -geneExp_absmax ./demo/RBPmax_totalRNA.tsv -seqFeature ./demo/cisfeature.tsv -splicing_max ./demo/splicingamount_max.tsv -predict_list ./demo/predict_list.txt -model_path ./models/CIRIdeep.h5 -outdir ./outdir -RBP_dir ./demo/RBPexp_total -splicing_dir ./demo/splicingamount
adaZ-9's avatar
adaZ-9 committed
72
73

```
wangsen's avatar
wangsen committed
74
75
76
77
78
79
80

输出文件在outputdir下

![Alt text](./images/image3.png)



wangsen's avatar
wangsen committed
81
## 用CIRI-deepA进行预测
adaZ-9's avatar
adaZ-9 committed
82

wangsen's avatar
wangsen committed
83
84
```
python CIRIdeep.py predict -geneExp_absmax ./demo/RBPmax_polyA.tsv -seqFeature ./demo/cisfeature.tsv -predict_list ./demo/predict_list.txt -model_path ./models/CIRIdeepA.h5 -outdir ./outdir -RBP_dir ./demo/RBPexp_polyA --CIRIdeepA
wangsen's avatar
wangsen committed
85
86
```

wangsen's avatar
wangsen committed
87
88
89
90
91
92
输出文件在outputdir下

![Alt text](./images/image4.png)



wangsen's avatar
wangsen committed
93

wangsen's avatar
wangsen committed
94
# 应用场景
wangsen's avatar
wangsen committed
95

wangsen's avatar
wangsen committed
96
97
## 算法类别
ai for science
wangsen's avatar
wangsen committed
98

wangsen's avatar
wangsen committed
99
100
101
## 行业 
科研

wangsen's avatar
wangsen committed
102
103
##  热门应用  
科研  教育 医疗
wangsen's avatar
wangsen committed
104
105
106

# 源码仓库及问题反馈

wangsen's avatar
wangsen committed
107
http://developer.sourcefind.cn/codes/modelzoo/cirideep.git
wangsen's avatar
wangsen committed
108
109

# 参考资料
wangsen's avatar
wangsen committed
110
111

```
wangsen's avatar
wangsen committed
112
113
114
115
116
117
118
git clone https://github.com/gyjames/CIRIdeep.git
```