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

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Feb 28, 2019
1 parent cdfaa02 commit ef3e6e2
Show file tree
Hide file tree
Showing 19 changed files with 25,172 additions and 21,501 deletions.
4 changes: 3 additions & 1 deletion ClustersPloter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ date

fi

ls -l $prefix.prepare.data.log $prefix.plot.log $prefix.prepare.data.error $prefix.plot.error
ls -ltrh $prefix.prepare.data.log $prefix.plot.log
echo
ls -ltrh $prefix.prepare.data.error $prefix.plot.error

if [ -s $prefix.plot.error ];
then
Expand Down
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
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
. /zfssz4/BC_COM_P0/F18FTSECKF1389/ASPjisD/software/minimap2/minimap2-2.11_x64-linux/env.sh
#. /zfssz4/BC_COM_P0/F18FTSECKF1389/ASPjisD/software/minimap2/minimap2-2.11_x64-linux/env.sh
40 changes: 24 additions & 16 deletions example/out1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2024,13 +2024,15 @@ <h1>./out1, you can zoom in/out or drag, thanks https://github.com/ariutta/svg-p



<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.5460.147060.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.5460.147060.1.+</tspan>
<tspan>track name -> pO83_CORR</tspan>
<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>
<tspan>ref start-end -> NC_017659.1:5460-147060</tspan></title>
<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>

<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+</tspan>
<tspan>track name -> pO83_CORR.indel</tspan>
<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>
<tspan>ref start-end -> NC_017659.1.fake:5460-147060</tspan></title>
<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>

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



<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.2101.5468.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.2101.5468.1.+</tspan>
<tspan>track name -> pO83_CORR</tspan>
<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>
<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>

<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+</tspan>
<tspan>track name -> pO83_CORR.indel</tspan>
<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>
<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>

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



<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1.1898.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1.1898.1.+</tspan>
<tspan>track name -> pO83_CORR</tspan>
<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>
<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>

<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+</tspan>
<tspan>track name -> pO83_CORR.indel</tspan>
<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>
<tspan>ref start-end -> NC_017659.1.fake:1-1898</tspan></title>
<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>

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



<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1891.2100.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.NC_017659.1.1891.2100.1.+</tspan>
<tspan>track name -> pO83_CORR</tspan>
<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>
<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>

<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+</tspan>
<g class='myth'><title><tspan>feature_id -> pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+</tspan>
<tspan>track name -> pO83_CORR.indel</tspan>
<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>
<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>

<g class='myth'><title><tspan>pO83_CORR.NC_017659.1.1891.2100.1.+ -> pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+</tspan>
<tspan>query -> NC_017659.1.fake:5251:5460</tspan>
Expand Down
8 changes: 8 additions & 0 deletions example/out1.notitle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions example/out1.plot.log
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ draw feature_id = pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+



plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.5251.5460.1.+,pO83_CORR.NC_017659.1.1891.2100.1.+, 1th -> 4
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.1891.5257.1.+,pO83_CORR.NC_017659.1.2101.5468.1.+, 2th -> 4
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.5460.147060.1.+,pO83_CORR.NC_017659.1.5460.147060.1.+, 3th -> 4
plot crosslink pair pO83_CORR.indel.NC_017659.1.fake.1.1898.1.+,pO83_CORR.NC_017659.1.1.1898.1.+, 4th -> 4
lengend start
scale_display is yes
disply scale
Expand Down
2 changes: 1 addition & 1 deletion example/out1.prepare.data.error.tmp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
+ cat out1.synteny.setting.conf
+ cat out1.synteny.crosslink
+ cat out1.pO83_CORR.out1.synteny.gff out1.pO83_CORR.indel.out1.synteny.gff
+ sort -u
+ awk -F ' ' '{print $3}'
+ sort -u
+ sed -r 's/^(pO83_CORR\s.*\.gff)\s/\1,out1.pO83_CORR.out1.synteny.gff\t/' tracks.1.list
+ cp tracks.1.list.out1 tracks.1.list.out1.tmp
+ sed -r 's/^(pO83_CORR.indel\s.*\.gff)\s/\1,out1.pO83_CORR.indel.out1.synteny.gff\t/' tracks.1.list.out1.tmp
Expand Down
40 changes: 24 additions & 16 deletions example/out1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ef3e6e2

Please sign in to comment.