没有项目描述
caravagene的Python项目详细描述
…原始::html
<;p align="center">;
<;img alt="caravagene logo"title="lala logo" src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/logo.png"width="500">;
<;br/><;br/>>;
<;p>;
图片:https://travis-ci.org/edinburgh-genome-foundry/caravagene.svg?branch=master
:目标:https://travis ci.org/edinburgh genome foundry/lala
:alt:travis ci构建状态
…图片::https://coveralls.io/repos/github/edinburgh-genome-foundry/caravagene/badge.svg?branch=master
:目标:https://coveralls.io/github/edinburgh-genome-foundry/caravagene?branch=master
caravagene(完整文档`此处<;https://edinburgh genome foundry.github.io/caravagene/>;``uu)是一个python库,用于从一个部分列表绘制dna结构的模式:
。代码::python
部分('insulator',label='i1')
])
构造.到图像('construct.jpeg')
…原始:html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/construct.jpeg"width="600">;
<;/p>;
https://raw.githubusercontent.com/edinburgh genome foundry/caravagene/master/examples/multiconstruct.pdf>;`
显示多个结构:
…代码::python
部分('rc1',category='recombose-recognition-sequence'),
部分('my promotor',category='promotor'),
部分('rna稳定性',category='rna-stability-sequence'),
部分('<;i>;acs<;/i>;',category='cds'),
部件('polya',category='terminator'),
部件('i1',category='绝缘体'),
构造(name="asm2",部件=[
部件('my promotor',category='promotor'),
部分('gene with a very long name',category='cds'),
部分('polya',category='terminator'),
部分('i1',category='insulator')
]
]
My_constructs.to_pdf('multiconstruct.pdf')
……原始::html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/multiconstruct_screen_capture.png"width="800">;
<;/p>;
也可以扩展caravagene以支持其他类别/符号,如下所示:
…代码::python
from caravagene import symbol_files
symbol_files['my-new-category']="path/to/some/symbol.svg'
>最后,这里是一个使用excel电子表格的示例:
**电子表格:**
。原始:html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/from_spreadsheet_sample.png"width="600">;
<;/p>;
**Python代码:**
代码::python
from caravagene import constructlist
my_constructs=constructlist("my_spreadsheet.xlsx")
my_constructs.to_pdf('my_schemas.pdf')
或**命令行(一次性使用):**
代码::外壳y_spreadsheet.xlsx my_schemas.pdf
或**命令行(当电子表格在磁盘上更改时重新呈现):**
…代码::shell
caravagene my_spreadsheet.xlsx my_schemas.pdf--查看
**输出:**
…原始:html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/from_spreadsheet_capture.png"width="700">;
<;/p>;
安装
----
安装它。代码::shell
(sudo)apt get install wkhtmltopf
代码::shell
sudo pip install caravagene
代码::shell
sudo python setup.py install
license
--
在github<;https://github.com/edinburgh genome foundry/caravagene>;``上发布,获得麻省理工学院许可证(版权所有,Edinburgh genome foundry)。
欢迎大家参与!< BR>
<;p align="center">;
<;img alt="caravagene logo"title="lala logo" src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/logo.png"width="500">;
<;br/><;br/>>;
<;p>;
图片:https://travis-ci.org/edinburgh-genome-foundry/caravagene.svg?branch=master
:目标:https://travis ci.org/edinburgh genome foundry/lala
:alt:travis ci构建状态
…图片::https://coveralls.io/repos/github/edinburgh-genome-foundry/caravagene/badge.svg?branch=master
:目标:https://coveralls.io/github/edinburgh-genome-foundry/caravagene?branch=master
caravagene(完整文档`此处<;https://edinburgh genome foundry.github.io/caravagene/>;``uu)是一个python库,用于从一个部分列表绘制dna结构的模式:
。代码::python
部分('insulator',label='i1')
])
构造.到图像('construct.jpeg')
…原始:html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/construct.jpeg"width="600">;
<;/p>;
https://raw.githubusercontent.com/edinburgh genome foundry/caravagene/master/examples/multiconstruct.pdf>;`
显示多个结构:
…代码::python
部分('rc1',category='recombose-recognition-sequence'),
部分('my promotor',category='promotor'),
部分('rna稳定性',category='rna-stability-sequence'),
部分('<;i>;acs<;/i>;',category='cds'),
部件('polya',category='terminator'),
部件('i1',category='绝缘体'),
构造(name="asm2",部件=[
部件('my promotor',category='promotor'),
部分('gene with a very long name',category='cds'),
部分('polya',category='terminator'),
部分('i1',category='insulator')
]
]
My_constructs.to_pdf('multiconstruct.pdf')
……原始::html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/multiconstruct_screen_capture.png"width="800">;
<;/p>;
也可以扩展caravagene以支持其他类别/符号,如下所示:
…代码::python
from caravagene import symbol_files
symbol_files['my-new-category']="path/to/some/symbol.svg'
>最后,这里是一个使用excel电子表格的示例:
**电子表格:**
。原始:html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/from_spreadsheet_sample.png"width="600">;
<;/p>;
**Python代码:**
代码::python
from caravagene import constructlist
my_constructs=constructlist("my_spreadsheet.xlsx")
my_constructs.to_pdf('my_schemas.pdf')
或**命令行(一次性使用):**
代码::外壳y_spreadsheet.xlsx my_schemas.pdf
或**命令行(当电子表格在磁盘上更改时重新呈现):**
…代码::shell
caravagene my_spreadsheet.xlsx my_schemas.pdf--查看
**输出:**
…原始:html
<;p align="center">;
<;img src="https://raw.githubusercontent.com/edinburgh-genome-foundry/caravagene/master/examples/from_spreadsheet_capture.png"width="700">;
<;/p>;
安装
----
安装它。代码::shell
(sudo)apt get install wkhtmltopf
代码::shell
sudo pip install caravagene
代码::shell
sudo python setup.py install
license
--
欢迎大家参与!< BR>