PlotDotplot
The kit was used for displaying dotplot of genome alignment basing on mscan and mummer
Install / Use
/learn @Atvar2/PlotDotplotREADME
plotDotplot
The kit was used for displaying dotplot of genome alignment basing on mscan and mummer
Copyright (C) 2014 Arthur Zwaenepoel Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
Beijing Genomics Institute, Animal and Plant research: https://www.genomics.cn/
#The Kit was used for displaying genomic collinearity basing on result of Mummer or Mscan.
Installation
The Kit was writted mainly by perl, and tested with perl v5.10.1 on CentOS release 6.9. Install it, just simply execute as following.Then you can run it directly.
git clone https://github.com/chenjunhui/plotDotplot/edit/plotDotplot
Notably, the kit depend on SVG package of perl, thus, you should install it and export PERL5LIB="/user/packages:$PERL5LIB" before run it.
Usage
On the command line, just run
perl ../displayCollinearity.pl test0.syn Actinidia_chinensis.Red5.len kiwifruit.chr.len colors.txt test.svg --spec1 specie --spec2 specie --r 2 --unit 20 --identity 1
<br/>
Input file
- genome Length
LG1 21084470
LG10 22486653
LG11 16130964
- collinearity blocks
LG1 LG1 8087 9743 LG11 LG11 9655989 9657635 93.94
Specie1_chromosome flag[chr|geneID] start end Specie2_chromosome flag[chr|geneID] start end score
Parameters
perl displayCollinearity.pl <syn_chr_file> <chr1_file> <chr2_file> <svg_out> [options]
<blockFile>: The synteny relationshiop or aligment between two genome.
<queryLength>: The species chromosomes length file plot in the X axis.
<referenceLength>:The species chromosomes length file plot in the Y axis.
<svg_out>: The output svg file.
--identity Add identity to the figure if display the alignment. [default: 0]
--spec1 <str>: Set the X axis title. [default:species1]
--spec2 <str>: Set the Y axis title. [default:species2]
--r <int>: Set the radius of each syntenic dot. [default:3]
--unit <int>: Set the scale on the X/Y axis. [default:20]
--rx <int>: Set the resolution of X axis. [default:200000]
--ry <int>: Set the resolution of Y axis. [default:200000]
--reorder: reorder chromosome of x axis basing on chromosome on y axis.
--orderaxis: axis needed to be ordered, default: x.
--png: Convert the svg file into png format.
Contributors
chenjhbio: chenjunhui@genomics.cn
Related Skills
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
342.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
