全基因组复制鉴定

WGD的Python项目详细描述


WGDI

Latest PyPI version

AuthorPengchuan Sun (sunpengchuan)
Emailsunpengchuan@gmail.com
LicenseBSD

说明

精细识别全基因组复制事件,生成基因组同源表。

功能

  • 生成同源基因点图。
  • 通过colinerscan和mcscanx两个模块生成基因组同源表。
  • 计算同源对的ks。
  • 在同源基因点图中标记同源块的ks值,以帮助确定由不同加倍事件产生的共线片段。

安装

pip install wgdi

用法

以下是使用此模块的两种方法。第一个是通过模块调用传入配置参数选项。有关特定参数,请参见选项。第二种方法是执行脚本并将配置参数选项写入扩展名为的配置文件。具体执行方法见选项。

选项

$ wgdi -h

  -d DOTPLOT, --dotplot DOTPLOT
                        More information, try to use 'wgdi -d example'
  -c CORRESPONDENCE, --correspondence CORRESPONDENCE
                        More information, try to use 'wgdi -c example'
  -a ALIGNMENT, --alignment ALIGNMENT
                        More information, try to use 'wgdi -a example'
  -r RETAIN, --retain RETAIN
                        More information, try to use 'wgdi -r example'
  -bk BLKKS, --blkks BLKKS
                        More information, try to use 'wgdi -bk example'
  -ks CALKS, --calks CALKS
                        More information, try to use 'wgdi -ks example'

每个参数都是一个处理程序,详细信息可以通过wgdi-*example(*represent argument)获得,并保存到your.conf或options。

$ wgdi -d example

    [dotplot]
    blast = blast file
    gff1 =  gff1 file
    gff2 =  gff2 file
    lens1 = lens1 file
    lens2 = lens2 file
    genome1_name =  Genome1 name
    genome2_name =  Genome2 name
    WGD = 1
    markersize = 0.5
    savefile = savefile(.png,.pdf)

修改参数后,执行class。运行()或wgdi-*your.conf。

fromwgdi.dotplotimportdotplotoptions={'blast':'os_os.1e-5.blast','gff1':'os.gff','gff2':'os.gff','lens1':'os_chrs.lens','lens2':'os_chrs.lens','genome1_name':'os','genome2_name':'os','WGD ':1,'markersize':0.5,'savefile':'os_os.dotplot.new.png'}options=list(options.items())newdot=dotplot(options)newdot.run()

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

推荐PyPI第三方库


热门话题
java如何向第二个组合框模型项添加数组值从第一个组合框所选项获取数组名称?   使用Java与WebSphere的SSL握手错误   eclipse线程“main”Java中的第一个Java程序异常。lang.NoClassDefFoundError   java将Javafx应用作为Web应用移植的最佳方式   IDE的java右JVM文件夹   java如何在基本适配器中停止文本到语音   java If block使用substring和equals方法以假值执行   在本例中,如何在java中返回多个值?   java第二个主类在maven构建期间覆盖第一个主类   如何在java中设置运行时ArrayList的泛型类型?   java从主机读取文件