update
This commit is contained in:
parent
ec99499e46
commit
913d108111
11
README.md
11
README.md
@ -1,6 +1,7 @@
|
||||
# DNASequence
|
||||
|
||||
[提问者问题原文链接](https://www.zhihu.com/question/36143261/answer/3624848144)
|
||||
|
||||
## 关于如何构建本项目
|
||||
|
||||
> 请确保安装了构建工具xmake,和任意C++构建工具并将路径添加到了PATH目录
|
||||
@ -9,7 +10,7 @@
|
||||
|
||||
```bash
|
||||
#编译 -v 表示 verbose 输出详细编译信息具体说明去上面的xmake链接看看
|
||||
xmake b -v dna_pybind
|
||||
xmake b -v
|
||||
# 运行
|
||||
xmake r
|
||||
|
||||
@ -17,7 +18,6 @@ xmake r
|
||||
xmake project -k vsxmake
|
||||
```
|
||||
|
||||
|
||||
## 代码逻辑介绍
|
||||
|
||||
DNASequence处理
|
||||
@ -34,8 +34,11 @@ ACGTACACATTGCTGTCTGCTGAACCACCTAG
|
||||
@SRR13280199.1 2 length=32
|
||||
ACGTACACATTGCTGTCTGCTGAACCACCTAG
|
||||
```
|
||||
|
||||
## pybind支持
|
||||
>在编译完文件后会得到dna.pyd文件和python提示文件dna.pyi,用法如下
|
||||
|
||||
> 在编译完文件后会得到dna.pyd文件和python提示文件dna.pyi,用法如下
|
||||
|
||||
```python
|
||||
import dna
|
||||
|
||||
@ -43,6 +46,7 @@ help(dna)
|
||||
|
||||
dna.dna_reverse("filteredReads.txt","reversedSequence.txt")
|
||||
```
|
||||
|
||||
```
|
||||
Help on module dna:
|
||||
|
||||
@ -74,6 +78,7 @@ buf_len : 897963094
|
||||
[Timer: chunk_id:[1]] Stop timing , used 3185ms
|
||||
[Timer: All spent] Stop timing , used 3186ms
|
||||
```
|
||||
|
||||
# 注意!
|
||||
|
||||
> 输入的时候麻烦最后一行的换行别删
|
||||
|
Loading…
Reference in New Issue
Block a user