多基因或基因组区域集合的交叉和可视化工具

intervene的Python项目详细描述


https://raw.githubusercontent.com/asntech/intervene/master/docs/img/intervene_logo.png

干预

a tool for intersection and visualization of multiple gene or genomic region sets
https://travis-ci.org/asntech/intervene.svg?branch=masterhttps://img.shields.io/pypi/pyversions/intervene.svghttps://img.shields.io/pypi/v/intervene.svghttps://anaconda.org/bioconda/intervene/badges/version.svghttps://anaconda.org/bioconda/intervene/badges/downloads.svghttps://anaconda.org/bioconda/intervene/badges/installer/conda.svghttps://img.shields.io/github/issues/asntech/intervene.svghttps://img.shields.io/twitter/url/https/github.com/asntech/intervene.svg?style=social

文件

有不同格式的详细文档:HTMLPDFePUB

http://intervene.readthedocs.io/en/latest/_images/Intervene_sketch.png

安装

使用conda快速安装

conda install -c bioconda intervene

这将安装所有依赖项,您可以使用intervene。

使用pip安装

可以使用pip从pypi安装intervenate。

从pypi安装:

pip install intervene

注意:如果使用pip安装,请确保安装下面列出的bedtools和r包。

intervene需要以下python模块和r包:

安装床具

我们正在使用pybedtools,它是bedtools的python包装器。因此,在使用干预前,应安装床具。建议您安装最新版本,但如果您已经安装了较旧的版本,应该没问题。

一个快速安装,如果你有康达安装。

conda install -c bioconda bedtools

请阅读https://github.com/arq5x/bedtools2上的说明来安装bedtools,并确保它位于您的路径上,并且您可以从任何目录调用bedtools。

安装所需的R软件包

intervene需要三个r包,UpSetRcorrplot用于可视化,Cairo用于生成高质量的矢量和位图图形。

install.packages(c("UpSetR","corrplot","Cairo"))

安装干预源

您可以使用github或bitbucket中的git安装开发版本。

从Bitbucket安装开发版本

如果您已经安装了git,请使用这个:

git clone https://bitbucket.org/CBGR/intervene.git
cd intervene
python setup.py sdist install

从github安装开发版本

如果您已经安装了git,请使用这个:

git clone https://github.com/asntech/intervene.git
cd intervene
python setup.py sdist install

如何使用intervene

安装intervene后,您可以键入:

intervene --help

这将显示以下帮助消息。

usage: intervene <subcommand> [options]

positional arguments <subcommand>:
  {venn,upset,pairwise}
                        List of subcommands
    venn                Venn diagram of intersection of genomic regions or list sets (upto 6-way).
    upset               UpSet diagram of intersection of genomic regions or list sets.
    pairwise            Pairwise intersection and heatmap of N genomic region sets in <BED/GTF/GFF> format.

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit

要查看这三个子命令的帮助pairwisevennupset类型:

intervene pairwise --help

intervene venn --help

intervene upset --help

对测试数据运行intervene

要使用示例数据运行intervene,请使用以下命令。要访问测试数据,请确保有sudoroot访问权限。

intervene pairwise --test

intervene venn --test

intervene upset --test

如果已从源代码本地安装intervente,则可能无法找到测试数据。您可以在这里下载测试数据https://github.com/asntech/intervene/tree/master/intervene/example_data,并使用-i而不是--test指向它。

./intervene/intervene venn -i intervene/example_data/ENCODE_hESC/*.bed
./intervene/intervene upset -i intervene/example_data/ENCODE_hESC/*.bed
./intervene/intervene pairwise -i intervene/example_data/dbSUPER_mm9/*.bed

上述三个测试命令将生成以下三个图(A、B和C)。

http://intervene.readthedocs.io/en/latest/_images/Intervene_plots.png

默认情况下,您的结果将与名为Intervene_results的文件夹一起存储在当前工作目录中。如果要将结果保存到特定文件夹中,可以键入:

intervene upset --test --output ~/path/to/your/folder

互动闪亮应用程序

Intervene Shiny应用程序在https://asntech.shinyapps.io/intervenehttps://intervene.shinyapps.io/intervene免费提供

闪亮应用程序的源代码位于https://github.com/asntech/intervene-shiny

支持

如果您有任何问题,或在程序中发现任何错误,请致电aziz.khan[at]ncmm.uio.no

引用我们

如果您使用intervene,请引用我们:Khan A, Mathelier A. Intervene: a tool for intersection and visualization of multiple gene or genomic region sets. BMC Bioinformatics. 2017;18:287. doi: 10.1186/s12859-017-1708-7

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在表被注释到配置之前获取表的元数据?   java滚动条不会出现在JList上   java JOGL监视器GPU内存   java为什么要使用RecyclerView onDraw延迟   java定制Oppo Reno 2 Z CPH1951(手机型号)的固件(闪存文件)   java自定义线程池执行器   java如何解决发布版本中重复的jar条目[com/安卓/volley/R.class]?   java如何使用Bukkit API触发事件?   java在blazemeter jmeter RTE插件中使用ctrl+w输入   C#/Visual Studio的java JDT等价物   java为什么当maxread值很大而收到的消息数量很小时,卡夫卡消费者会无限期消费?   java游戏2。x:包含模板列表的绑定模型   带压缩的java日志旋转   运行时。exec用java运行程序读取它正在做什么