Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Commit ef3e6e2

Browse files
fix bug
1 parent cdfaa02 commit ef3e6e2

19 files changed

+25172
-21501
lines changed

ClustersPloter.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ date
5656

5757
fi
5858

59-
ls -l $prefix.prepare.data.log $prefix.plot.log $prefix.prepare.data.error $prefix.plot.error
59+
ls -ltrh $prefix.prepare.data.log $prefix.plot.log
60+
echo
61+
ls -ltrh $prefix.prepare.data.error $prefix.plot.error
6062

6163
if [ -s $prefix.plot.error ];
6264
then

env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
export PATH=/zfssz5/BC_PUB/Software/03.Soft_ALL/samtools-1.7:/ifs4/BC_PUB/biosoft/pipeline/newblc/03.Soft_ALL/bcftools-1.3.1:$PATH
2-
. /zfssz4/BC_COM_P0/F18FTSECKF1389/ASPjisD/software/minimap2/minimap2-2.11_x64-linux/env.sh
2+
#. /zfssz4/BC_COM_P0/F18FTSECKF1389/ASPjisD/software/minimap2/minimap2-2.11_x64-linux/env.sh

example/out1.html

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2024,13 +2024,15 @@ <h1>./out1, you can zoom in/out or drag, thanks https://github.com/ariutta/svg-p
20242024

20252025

20262026

2027-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.5460.147060.1.+</tspan>
2027+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.5460.147060.1.+</tspan>
20282028
<tspan>track name -> pO83_CORR</tspan>
2029-
<tspan>ref start-end -> NC_017659.1:5460-147060</tspan></title><path id="pO83_CORR.NC_017659.1.5460.147060.1.+" path d="M884.036827195467 149 L884.036827195467 151 L20439.4157223796 151 L20439.4157223796 149 Z" clip-path="url(#cut-pO83_CORR-NC_017659.1-1)" style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2029+
<tspan>ref start-end -> NC_017659.1:5460-147060</tspan></title>
2030+
<path id="pO83_CORR.NC_017659.1.5460.147060.1.+" d="M884.036827195467 149 L884.036827195467 151 L20439.4157223796 151 L20439.4157223796 149 Z" clip-path="url(#cut-pO83_CORR-NC_017659.1-1)" style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20302031

2031-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+</tspan>
2032+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+</tspan>
20322033
<tspan>track name -> pO83_CORR.indel</tspan>
2033-
<tspan>ref start-end -> NC_017659.1.fake:5460-147060</tspan></title><path id="pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+" path d="M649.401558073654 349 L649.401558073654 351 L20204.7804532578 351 L20204.7804532578 349 Z" clip-path="url(#cut-pO83_CORR.indel-NC_017659.1.fake-1)" style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2034+
<tspan>ref start-end -> NC_017659.1.fake:5460-147060</tspan></title>
2035+
<path id="pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+" d="M649.401558073654 349 L649.401558073654 351 L20204.7804532578 351 L20204.7804532578 349 Z" clip-path="url(#cut-pO83_CORR.indel-NC_017659.1.fake-1)" style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20342036

20352037
<g class='myth'><title><tspan>pO83_CORR.NC_017659.1.5460.147060.1.+ -> pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+</tspan>
20362038
<tspan>query -> NC_017659.1.fake:5460:147060</tspan>
@@ -2045,13 +2047,15 @@ <h1>./out1, you can zoom in/out or drag, thanks https://github.com/ariutta/svg-p
20452047

20462048

20472049

2048-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.2101.5468.1.+</tspan>
2050+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.2101.5468.1.+</tspan>
20492051
<tspan>track name -> pO83_CORR</tspan>
2050-
<tspan>ref start-end -> NC_017659.1:2101-5468</tspan></title><polygon id="pO83_CORR.NC_017659.1.2101.5468.1.+" points="420.152266288952,149 420.152266288952,151 885.279745042493,151 885.279745042493,149 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2052+
<tspan>ref start-end -> NC_017659.1:2101-5468</tspan></title>
2053+
<polygon id="pO83_CORR.NC_017659.1.2101.5468.1.+" points="420.152266288952,149 420.152266288952,151 885.279745042493,151 885.279745042493,149 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20512054

2052-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+</tspan>
2055+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+</tspan>
20532056
<tspan>track name -> pO83_CORR.indel</tspan>
2054-
<tspan>ref start-end -> NC_017659.1.fake:1891-5257</tspan></title><polygon id="pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+" points="156.515580736544,349 156.515580736544,351 621.504957507082,351 621.504957507082,349 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2057+
<tspan>ref start-end -> NC_017659.1.fake:1891-5257</tspan></title>
2058+
<polygon id="pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+" points="156.515580736544,349 156.515580736544,351 621.504957507082,351 621.504957507082,349 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20552059

20562060
<g class='myth'><title><tspan>pO83_CORR.NC_017659.1.2101.5468.1.+ -> pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+</tspan>
20572061
<tspan>query -> NC_017659.1.fake:1891:5257</tspan>
@@ -2065,13 +2069,15 @@ <h1>./out1, you can zoom in/out or drag, thanks https://github.com/ariutta/svg-p
20652069

20662070

20672071

2068-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1.1898.1.+</tspan>
2072+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1.1898.1.+</tspan>
20692073
<tspan>track name -> pO83_CORR</tspan>
2070-
<tspan>ref start-end -> NC_017659.1:1-1898</tspan></title><polygon id="pO83_CORR.NC_017659.1.1.1898.1.+" points="130.138101983003,149 130.138101983003,151 392.25566572238,151 392.25566572238,149 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2074+
<tspan>ref start-end -> NC_017659.1:1-1898</tspan></title>
2075+
<polygon id="pO83_CORR.NC_017659.1.1.1898.1.+" points="130.138101983003,149 130.138101983003,151 392.25566572238,151 392.25566572238,149 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20712076

2072-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+</tspan>
2077+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+</tspan>
20732078
<tspan>track name -> pO83_CORR.indel</tspan>
2074-
<tspan>ref start-end -> NC_017659.1.fake:1-1898</tspan></title><path id="pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+" path d="M-104.49716713881 349 L-104.49716713881 351 L157.620396600567 351 L157.620396600567 349 Z" clip-path="url(#cut-pO83_CORR.indel-NC_017659.1.fake-1)" style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2079+
<tspan>ref start-end -> NC_017659.1.fake:1-1898</tspan></title>
2080+
<path id="pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+" d="M-104.49716713881 349 L-104.49716713881 351 L157.620396600567 351 L157.620396600567 349 Z" clip-path="url(#cut-pO83_CORR.indel-NC_017659.1.fake-1)" style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20752081

20762082
<g class='myth'><title><tspan>pO83_CORR.NC_017659.1.1.1898.1.+ -> pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+</tspan>
20772083
<tspan>query -> NC_017659.1.fake:1:1898</tspan>
@@ -2086,13 +2092,15 @@ <h1>./out1, you can zoom in/out or drag, thanks https://github.com/ariutta/svg-p
20862092

20872093

20882094

2089-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1891.2100.1.+</tspan>
2095+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1891.2100.1.+</tspan>
20902096
<tspan>track name -> pO83_CORR</tspan>
2091-
<tspan>ref start-end -> NC_017659.1:1891-2100</tspan></title><polygon id="pO83_CORR.NC_017659.1.1891.2100.1.+" points="391.150849858357,149 391.150849858357,151 420.152266288952,151 420.152266288952,149 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2097+
<tspan>ref start-end -> NC_017659.1:1891-2100</tspan></title>
2098+
<polygon id="pO83_CORR.NC_017659.1.1891.2100.1.+" points="391.150849858357,149 391.150849858357,151 420.152266288952,151 420.152266288952,149 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20922099

2093-
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+</tspan>
2100+
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+</tspan>
20942101
<tspan>track name -> pO83_CORR.indel</tspan>
2095-
<tspan>ref start-end -> NC_017659.1.fake:5251-5460</tspan></title><polygon id="pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+" points="620.538243626062,349 620.538243626062,351 649.539660056657,351 649.539660056657,349 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
2102+
<tspan>ref start-end -> NC_017659.1.fake:5251-5460</tspan></title>
2103+
<polygon id="pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+" points="620.538243626062,349 620.538243626062,351 649.539660056657,351 649.539660056657,349 " style="fill:orange;stroke:black;stroke-width:0;opacity:0.5"/></g>
20962104

20972105
<g class='myth'><title><tspan>pO83_CORR.NC_017659.1.1891.2100.1.+ -> pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+</tspan>
20982106
<tspan>query -> NC_017659.1.fake:5251:5460</tspan>

example/out1.notitle.svg

Lines changed: 8 additions & 0 deletions
Loading

example/out1.plot.log

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ draw feature_id = pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+
110110

111111

112112

113+
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+,pO83_CORR.NC_017659.1.1891.2100.1.+, 1th -> 4
114+
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+,pO83_CORR.NC_017659.1.2101.5468.1.+, 2th -> 4
115+
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+,pO83_CORR.NC_017659.1.5460.147060.1.+, 3th -> 4
116+
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+,pO83_CORR.NC_017659.1.1.1898.1.+, 4th -> 4
113117
lengend start
114118
scale_display is yes
115119
disply scale

example/out1.prepare.data.error.tmp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
+ cat out1.synteny.setting.conf
1919
+ cat out1.synteny.crosslink
2020
+ cat out1.pO83_CORR.out1.synteny.gff out1.pO83_CORR.indel.out1.synteny.gff
21-
+ sort -u
2221
+ awk -F ' ' '{print $3}'
22+
+ sort -u
2323
+ sed -r 's/^(pO83_CORR\s.*\.gff)\s/\1,out1.pO83_CORR.out1.synteny.gff\t/' tracks.1.list
2424
+ cp tracks.1.list.out1 tracks.1.list.out1.tmp
2525
+ sed -r 's/^(pO83_CORR.indel\s.*\.gff)\s/\1,out1.pO83_CORR.indel.out1.synteny.gff\t/' tracks.1.list.out1.tmp

example/out1.svg

Lines changed: 24 additions & 16 deletions
Loading

0 commit comments

Comments
 (0)