Repository 'vg_deconstruct'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/vg_deconstruct

Changeset 0:a347dad1f305 (2020-04-09)
Next changeset 1:76d18b1e970b (2022-06-23)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vg commit fc3deb5bce07a12b7f9bbd380118a7d2230a1003"
added:
deconstruct.xml
macros.xml
test-data/hla.vg
test-data/hla.xg
test-data/hla_variants.vcf
test-data/snarls.pb
test-data/x.gfa
test-data/x.json
test-data/x.vg
b
diff -r 000000000000 -r a347dad1f305 deconstruct.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/deconstruct.xml Thu Apr 09 04:36:41 2020 -0400
[
@@ -0,0 +1,82 @@
+<tool id="vg_deconstruct" name="vg deconstruct" version="@TOOL_VERSION@">
+    <description>construct a dynamic succinct variation graph</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <command detect_errors="exit_code"><![CDATA[
+ln -s '$infile' ./infile.${infile.ext} &&
+
+vg deconstruct
+#if $path:
+    --path '${','.join([$p for $p in $path])}'
+#end if
+#if $path_prefix
+    --path-prefix '${','.join([$p for $p in $path_prefix])}'
+#end if
+#if $alt_prefix
+    --alt-prefix '${','.join([$p for $p in $alt_prefix])}'
+#end if
+#if $snarls:
+    --snarls '$snarls'
+#end if
+$path_traversals  ## -e
+--threads=\${GALAXY_SLOTS:-1}
+./infile.${infile.ext}
+
+> '$output'
+
+    ]]></command>
+    <inputs>
+        <param name="infile" type="data" format="xg,odgi" label="Graph files" />
+        <param argument="--path" type="text" value="" label="A reference path to deconstruct against"
+            help="comma-separated list accepted">
+            <sanitizer>
+                <valid initial="string.printable">
+                    <remove value="&apos;"/>
+                </valid>
+            </sanitizer>
+        </param>
+        <param argument="--path-prefix" type="text" value="" label="All paths beginning with this value used as reference"
+            help="comma-separated list accepted">
+            <sanitizer>
+                <valid initial="string.printable">
+                    <remove value="&apos;"/>
+                </valid>
+            </sanitizer>
+        </param>
+        <param argument="--alt-prefix" type="text" value="" label="Non-reference paths beginning with with this value get lumped together to same sample in VCF"
+            help="comma-separated list accepted">
+            <sanitizer>
+                <valid initial="string.printable">
+                    <remove value="&apos;"/>
+                </valid>
+            </sanitizer>
+        </param>
+        <param argument="--snarls" type="data" format="xg,odgi" label="Snarls files" optional="true"
+            help="from `vg snarls` to avoid recomputing" />
+
+        <param argument="--path-traversals" type="boolean" truevalue="--path-traversals" falsevalue="" checked="false"
+            label="Only consider traversals that correspond to paths in the grpah" />
+    </inputs>
+    <outputs>
+        <data name="output" format="vcf" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="infile" value="hla.xg" />
+            <param name="path" value="gi|568815592:29791752-29792749" />
+            <param name="path_traversals" value="true" />
+            <output name="output" file="hla_variants.vcf" />
+        </test>
+    </tests>
+    <help><![CDATA[
+variation graph (vg) deconstruct module
+-----------------------------------
+
+Creates VCF records for Snarls present in a graph (relative to a chosen reference path).
+
+    ]]></help>
+    <expand macro="citations">
+    </expand>
+</tool>
b
diff -r 000000000000 -r a347dad1f305 macros.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml Thu Apr 09 04:36:41 2020 -0400
b
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<macros>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="@TOOL_VERSION@">vg</requirement>
+        </requirements>
+    </xml>
+    <token name="@TOOL_VERSION@">1.23.0</token>
+    <xml name="citations">
+        <citations>
+            <yield />
+        </citations>
+    </xml>
+</macros>
b
diff -r 000000000000 -r a347dad1f305 test-data/hla.vg
b
Binary file test-data/hla.vg has changed
b
diff -r 000000000000 -r a347dad1f305 test-data/hla.xg
b
Binary file test-data/hla.xg has changed
b
diff -r 000000000000 -r a347dad1f305 test-data/hla_variants.vcf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/hla_variants.vcf Thu Apr 09 04:36:41 2020 -0400
b
@@ -0,0 +1,21 @@
+##fileformat=VCFv4.2
+##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
+##contig=<ID=gi|568815592:29791752-29792749,length=998>
+#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT gi|157734152:29563108-29564082 gi|528476637:29761569-29762543 gi|568815454:1057585-1058559 gi|568815529:1275535-1276509 gi|568815551:1054737-1055734 gi|568815561:1054328-1055325 gi|568815564:1054403-1055400 gi|568815567:1054737-1055711 gi|568815569:1097903-1098900
+gi|568815592:29791752-29792749 92 . G A 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 105 . C T 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 151 . CAG C 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 160 . A G 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 222 . G A 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 283 . C G 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 295 . TT CC 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 348 . G A 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 357 . G A 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 395 . T C 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 468 . T C 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 583 . G C 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 621 . G T 23 . . GT 0 1 0 0 0 0 0 1 0
+gi|568815592:29791752-29792749 660 . G A 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 824 . CGCGGGCGCCGTGGATGGAGCA C 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 982 . G A 23 . . GT 1 1 1 1 0 0 0 1 0
+gi|568815592:29791752-29792749 995 . C T 23 . . GT 1 1 1 1 0 0 0 1 0
b
diff -r 000000000000 -r a347dad1f305 test-data/snarls.pb
b
Binary file test-data/snarls.pb has changed
b
diff -r 000000000000 -r a347dad1f305 test-data/x.gfa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/x.gfa Thu Apr 09 04:36:41 2020 -0400
b
b'@@ -0,0 +1,513 @@\n+H\tVN:Z:1.0\n+S\t56\tATTAGCCATGTGACTTTGAACAAGTTAGTTAA\n+S\t35\tA\n+S\t110\tTCATTGTCAAC\n+S\t60\tT\n+S\t30\tACGTTTGACAATCTATCAC\n+S\t6\tTTG\n+S\t67\tT\n+S\t215\tA\n+S\t73\tA\n+S\t182\tCTGCTCTCTT\n+S\t164\tG\n+S\t115\tACATTAGGA\n+S\t153\tT\n+S\t112\tACAGTCAACGCTCAATACAAGG\n+S\t185\tTTGTCAGATC\n+S\t64\tA\n+S\t186\tG\n+S\t90\tGAGGAAAGCCTCTGACAACTGGT\n+S\t139\tGGGCAC\n+S\t4\tT\n+S\t13\tA\n+S\t86\tC\n+S\t168\tA\n+S\t207\tCAAA\n+S\t104\tTCCTTG\n+S\t183\tA\n+S\t52\tA\n+S\t177\tT\n+S\t12\tATAT\n+S\t179\tTGTCCAGGAATGAACC\n+S\t75\tA\n+S\t23\tT\n+S\t111\tA\n+S\t41\tTGGAGCCA\n+S\t43\tG\n+S\t11\tT\n+S\t68\tGGAGAT\n+S\t171\tG\n+S\t69\tC\n+S\t82\tG\n+S\t85\tG\n+S\t130\tTTGTGT\n+S\t119\tG\n+S\t125\tT\n+S\t39\tC\n+S\t77\tA\n+S\t126\tG\n+S\t108\tC\n+S\t71\tAT\n+S\t66\tC\n+S\t103\tC\n+S\t156\tC\n+S\t59\tG\n+S\t172\tCTGCTCTTTCCCTCAATTGTTCATTTGTCT\n+S\t208\tT\n+S\t2\tA\n+S\t10\tA\n+S\t27\tCTTTGATTTATTTGAAGT\n+S\t26\tT\n+S\t211\tGG\n+S\t124\tTAAGACCCAGAGGGCTCACCCAGAGTCGAG\n+S\t144\tT\n+S\t127\tCTCAAGGACAGCTCTCC\n+S\t116\tA\n+S\t100\tT\n+S\t79\tTTTGCTGTGAAGATTAAATTAGGTGATGCTTG\n+S\t200\tC\n+S\t20\tTGCTATGTGTAACTAGTAATGGTAATGGATAT\n+S\t81\tT\n+S\t195\tA\n+S\t141\tT\n+S\t187\tA\n+S\t213\tA\n+S\t135\tT\n+S\t9\tAAATTTTCTGGAGTTCTAT\n+S\t189\tA\n+S\t138\tT\n+S\t109\tT\n+S\t161\tT\n+S\t107\tGGCTCTTCTGGCTT\n+S\t46\tT\n+S\t57\tTCTCTCTGAACTTCAGTT\n+S\t152\tGCTCTCCTTGTCCCTCC\n+S\t170\tC\n+S\t88\tC\n+S\t129\tT\n+S\t209\tG\n+S\t120\tCTCTGCTCACCG\n+S\t78\tG\n+S\t133\tCAGAGTGTATACGA\n+S\t72\tG\n+S\t24\tTT\n+S\t8\tG\n+S\t184\tC\n+S\t37\tA\n+S\t1\tCAAATAAG\n+S\t137\tTAACTCTGTTC\n+S\t22\tC\n+S\t83\tA\n+S\t154\tC\n+S\t190\tC\n+S\t201\tT\n+S\t99\tC\n+S\t121\tC\n+S\t206\tC\n+S\t14\tT\n+S\t33\tAGGGGTAATGTGGGGAA\n+S\t40\tT\n+S\t113\tA\n+S\t174\tT\n+S\t165\tA\n+S\t142\tGGTGAAAGA\n+S\t5\tC\n+S\t55\tT\n+S\t114\tG\n+S\t123\tGATCTTCAAGTTTGAAAATTGCATCTCAAATC\n+S\t32\tT\n+S\t136\tG\n+S\t117\tT\n+S\t45\tC\n+S\t145\tAACAGAGGAAATGCC\n+S\t197\tT\n+S\t196\tAGGGC\n+S\t210\tCTACCCAGGCCATTTTAAGTTTCCTGT\n+S\t151\tA\n+S\t54\tG\n+S\t63\tC\n+S\t191\tTTCTCATCCCTCCT\n+S\t91\tG\n+S\t62\tATT\n+S\t205\tTACTCCACAT\n+S\t158\tGATCTCTTCACT\n+S\t150\tT\n+S\t176\tC\n+S\t122\tT\n+S\t58\tC\n+S\t199\tT\n+S\t28\tA\n+S\t173\tC\n+S\t148\tGGCTTTTTATCAGAACATGTTTCCAAGCTTAT\n+S\t188\tG\n+S\t92\tA\n+S\t36\tTGGAAAGAATAC\n+S\t98\tTA\n+S\t204\tC\n+S\t118\tTGGCAGTAGCTCAGAGATCT\n+S\t162\tC\n+S\t84\tAAGCT\n+S\t7\tA\n+S\t25\tC\n+S\t203\tG\n+S\t95\tTTACTG\n+S\t76\tG\n+S\t34\tG\n+S\t50\tTCCTCACTTTGCC\n+S\t93\tA\n+S\t18\tTCCTGG\n+S\t194\tG\n+S\t147\tT\n+S\t42\tT\n+S\t87\tAGGGAATAGTGCCTGGCAT\n+S\t132\tC\n+S\t140\tC\n+S\t157\tA\n+S\t167\tG\n+S\t169\tGAA\n+S\t202\tTAA\n+S\t16\tG\n+S\t180\tG\n+S\t160\tGCCT\n+S\t19\tT\n+S\t49\tA\n+S\t44\tACAAATCTGGGT\n+S\t31\tC\n+S\t146\tG\n+S\t74\tCTACTGACAGCAGA\n+S\t106\tA\n+S\t61\tA\n+S\t29\tG\n+S\t94\tG\n+S\t212\tACTAAGGACAAAGGTGCGGGGAGAT\n+S\t102\tGAAACATTTGGCTATTGACCTCTTTC\n+S\t128\tC\n+S\t159\tG\n+S\t70\tG\n+S\t21\tGTTGGGCTT\n+S\t193\tC\n+S\t38\tAAGAT\n+S\t163\tTTATCTTTACTGTTACC\n+S\t131\tT\n+S\t192\tT\n+S\t101\tTTACTATGAATCCTCACCTTCCTTGACTTCTT\n+S\t105\tG\n+S\t17\tT\n+S\t53\tCA\n+S\t47\tCAA\n+S\t175\tA\n+S\t166\tAATCTTTCC\n+S\t89\tA\n+S\t214\tG\n+S\t198\tC\n+S\t3\tG\n+S\t80\tTGA\n+S\t96\tC\n+S\t51\tG\n+S\t178\tA\n+S\t149\tCCCTTTTCCC\n+S\t155\tA\n+S\t181\tA\n+S\t143\tA\n+S\t48\tG\n+S\t15\tCCAACTCTCTGG\n+S\t65\tTCTCTAATA\n+S\t97\tT\n+S\t134\tA\n+P\tx\t1+,3+,5+,6+,8+,9+,11+,12+,14+,15+,17+,18+,20+,21+,23+,24+,26+,27+,29+,30+,32+,33+,35+,36+,38+,40+,41+,43+,44+,46+,47+,49+,50+,52+,53+,55+,56+,57+,60+,61+,62+,64+,65+,67+,68+,70+,71+,73+,74+,76+,78+,79+,81+,83+,84+,86+,87+,89+,90+,92+,94+,95+,97+,98+,100+,101+,102+,103+,104+,106+,107+,109+,110+,112+,114+,115+,117+,118+,120+,122+,123+,124+,126+,127+,129+,130+,132+,133+,135+,136+,137+,139+,141+,142+,144+,145+,147+,148+,149+,151+,152+,154+,155+,157+,158+,159+,160+,162+,163+,165+,166+,168+,169+,171+,172+,174+,176+,177+,179+,181+,182+,184+,185+,187+,188+,190+,191+,193+,195+,196+,198+,199+,201+,202+,204+,205+,206+,207+,209+,210+,211+,212+,214+,215+\t8M,1M,1M,3M,1M,19M,1M,4M,1M,12M,1M,6M,32M,9M,1M,2M,1M,18M,1M,19M,1M,17M,1M,12M,5M,1M,8M,1M,12M,1M,3M,1M,13M,1M,2M,1M,32M,18M,1M,1M,3M,1M,9M,1M,6M,1M,2M,1M,14M,1M,1M,32M,1M,1M,5M,1M,19M,1M,23M,1M,1M,6M,1M,2M,1M,32M,26M,1M,6M,1M,14M,1M,11M,22M,1M,9M,1M,20M,12M,1M,32M,30M,1M,17M,1M,6M,1M,14M,1M,1M,11M,6M,1M,9M,1M,15M,1M,32M,10M,1M,17M,1M,1M,1M,12M,1M,4M,1M,17M,1M,9M,1M,3M,1M,30M,1M,1M,1M,16M,1M,10M,1M,10M,1M,1M,1M,14M,1M,1M,5M,1M,1M,1M,3M,1M,10M,1M,4M,1M,27M,2M,25M,1M,1M\t\n+L\t56\t+\t57\t+\t0M\n+L\t35\t+\t36\t+\t0M\n+L\t110\t+\t111\t+\t0M\n+L\t110\t+\t112\t+\t0M\n+L\t60\t+\t61\t+\t0M\n+L\t30\t+\t31\t+\t0M\n+L\t30\t+\t32\t+\t0M\n+L\t6\t+\t7\t+\t0M\n+L\t6\t+\t8\t+\t0M\n+L\t67\t+\t68'..b'0M\n+L\t39\t+\t41\t+\t0M\n+L\t77\t+\t79\t+\t0M\n+L\t126\t+\t127\t+\t0M\n+L\t108\t+\t110\t+\t0M\n+L\t71\t+\t72\t+\t0M\n+L\t71\t+\t73\t+\t0M\n+L\t66\t+\t68\t+\t0M\n+L\t103\t+\t104\t+\t0M\n+L\t156\t+\t158\t+\t0M\n+L\t59\t+\t62\t+\t0M\n+L\t60\t+\t59\t+\t0M\n+L\t172\t+\t173\t+\t0M\n+L\t172\t+\t174\t+\t0M\n+L\t208\t+\t210\t+\t0M\n+L\t2\t+\t4\t+\t0M\n+L\t2\t+\t5\t+\t0M\n+L\t10\t+\t12\t+\t0M\n+L\t27\t+\t28\t+\t0M\n+L\t27\t+\t29\t+\t0M\n+L\t26\t+\t27\t+\t0M\n+L\t211\t+\t212\t+\t0M\n+L\t124\t+\t125\t+\t0M\n+L\t124\t+\t126\t+\t0M\n+L\t144\t+\t145\t+\t0M\n+L\t127\t+\t128\t+\t0M\n+L\t127\t+\t129\t+\t0M\n+L\t116\t+\t118\t+\t0M\n+L\t100\t+\t101\t+\t0M\n+L\t79\t+\t80\t+\t0M\n+L\t79\t+\t81\t+\t0M\n+L\t200\t+\t202\t+\t0M\n+L\t20\t+\t21\t+\t0M\n+L\t81\t+\t82\t+\t0M\n+L\t81\t+\t83\t+\t0M\n+L\t195\t+\t196\t+\t0M\n+L\t141\t+\t142\t+\t0M\n+L\t187\t+\t188\t+\t0M\n+L\t213\t+\t215\t+\t0M\n+L\t135\t+\t136\t+\t0M\n+L\t135\t+\t137\t+\t0M\n+L\t9\t+\t10\t+\t0M\n+L\t9\t+\t11\t+\t0M\n+L\t189\t+\t191\t+\t0M\n+L\t138\t+\t139\t+\t0M\n+L\t109\t+\t110\t+\t0M\n+L\t161\t+\t163\t+\t0M\n+L\t107\t+\t108\t+\t0M\n+L\t107\t+\t109\t+\t0M\n+L\t46\t+\t47\t+\t0M\n+L\t57\t+\t58\t+\t0M\n+L\t57\t+\t60\t+\t0M\n+L\t152\t+\t153\t+\t0M\n+L\t152\t+\t154\t+\t0M\n+L\t170\t+\t172\t+\t0M\n+L\t88\t+\t90\t+\t0M\n+L\t129\t+\t130\t+\t0M\n+L\t209\t+\t210\t+\t0M\n+L\t120\t+\t121\t+\t0M\n+L\t120\t+\t122\t+\t0M\n+L\t78\t+\t79\t+\t0M\n+L\t133\t+\t134\t+\t0M\n+L\t133\t+\t135\t+\t0M\n+L\t72\t+\t74\t+\t0M\n+L\t24\t+\t25\t+\t0M\n+L\t24\t+\t26\t+\t0M\n+L\t8\t+\t9\t+\t0M\n+L\t184\t+\t185\t+\t0M\n+L\t37\t+\t38\t+\t0M\n+L\t1\t+\t2\t+\t0M\n+L\t1\t+\t3\t+\t0M\n+L\t137\t+\t138\t+\t0M\n+L\t137\t+\t139\t+\t0M\n+L\t22\t+\t24\t+\t0M\n+L\t83\t+\t84\t+\t0M\n+L\t154\t+\t155\t+\t0M\n+L\t190\t+\t191\t+\t0M\n+L\t201\t+\t202\t+\t0M\n+L\t99\t+\t101\t+\t0M\n+L\t121\t+\t123\t+\t0M\n+L\t206\t+\t207\t+\t0M\n+L\t14\t+\t15\t+\t0M\n+L\t33\t+\t34\t+\t0M\n+L\t33\t+\t35\t+\t0M\n+L\t40\t+\t41\t+\t0M\n+L\t113\t+\t115\t+\t0M\n+L\t174\t+\t175\t+\t0M\n+L\t174\t+\t176\t+\t0M\n+L\t165\t+\t166\t+\t0M\n+L\t142\t+\t143\t+\t0M\n+L\t142\t+\t144\t+\t0M\n+L\t5\t+\t6\t+\t0M\n+L\t55\t+\t56\t+\t0M\n+L\t114\t+\t115\t+\t0M\n+L\t123\t+\t124\t+\t0M\n+L\t32\t+\t33\t+\t0M\n+L\t136\t+\t137\t+\t0M\n+L\t117\t+\t118\t+\t0M\n+L\t45\t+\t47\t+\t0M\n+L\t145\t+\t146\t+\t0M\n+L\t145\t+\t147\t+\t0M\n+L\t197\t+\t199\t+\t0M\n+L\t196\t+\t197\t+\t0M\n+L\t196\t+\t198\t+\t0M\n+L\t210\t+\t211\t+\t0M\n+L\t210\t+\t212\t+\t0M\n+L\t151\t+\t152\t+\t0M\n+L\t54\t+\t56\t+\t0M\n+L\t63\t+\t65\t+\t0M\n+L\t191\t+\t192\t+\t0M\n+L\t191\t+\t193\t+\t0M\n+L\t91\t+\t93\t+\t0M\n+L\t91\t+\t94\t+\t0M\n+L\t62\t+\t63\t+\t0M\n+L\t62\t+\t64\t+\t0M\n+L\t205\t+\t206\t+\t0M\n+L\t205\t+\t207\t+\t0M\n+L\t158\t+\t159\t+\t0M\n+L\t158\t+\t160\t+\t0M\n+L\t150\t+\t152\t+\t0M\n+L\t176\t+\t177\t+\t0M\n+L\t122\t+\t123\t+\t0M\n+L\t58\t+\t59\t+\t0M\n+L\t58\t+\t61\t+\t0M\n+L\t199\t+\t200\t+\t0M\n+L\t199\t+\t201\t+\t0M\n+L\t28\t+\t30\t+\t0M\n+L\t173\t+\t175\t+\t0M\n+L\t173\t+\t176\t+\t0M\n+L\t148\t+\t149\t+\t0M\n+L\t188\t+\t189\t+\t0M\n+L\t188\t+\t190\t+\t0M\n+L\t92\t+\t93\t+\t0M\n+L\t92\t+\t94\t+\t0M\n+L\t36\t+\t37\t+\t0M\n+L\t36\t+\t38\t+\t0M\n+L\t98\t+\t99\t+\t0M\n+L\t98\t+\t100\t+\t0M\n+L\t204\t+\t205\t+\t0M\n+L\t118\t+\t119\t+\t0M\n+L\t118\t+\t120\t+\t0M\n+L\t162\t+\t163\t+\t0M\n+L\t84\t+\t85\t+\t0M\n+L\t84\t+\t86\t+\t0M\n+L\t7\t+\t9\t+\t0M\n+L\t25\t+\t27\t+\t0M\n+L\t203\t+\t205\t+\t0M\n+L\t95\t+\t96\t+\t0M\n+L\t95\t+\t97\t+\t0M\n+L\t76\t+\t77\t+\t0M\n+L\t76\t+\t78\t+\t0M\n+L\t34\t+\t36\t+\t0M\n+L\t50\t+\t51\t+\t0M\n+L\t50\t+\t52\t+\t0M\n+L\t93\t+\t95\t+\t0M\n+L\t18\t+\t19\t+\t0M\n+L\t18\t+\t20\t+\t0M\n+L\t194\t+\t196\t+\t0M\n+L\t147\t+\t148\t+\t0M\n+L\t42\t+\t44\t+\t0M\n+L\t87\t+\t88\t+\t0M\n+L\t87\t+\t89\t+\t0M\n+L\t132\t+\t133\t+\t0M\n+L\t140\t+\t142\t+\t0M\n+L\t157\t+\t158\t+\t0M\n+L\t167\t+\t169\t+\t0M\n+L\t169\t+\t170\t+\t0M\n+L\t169\t+\t171\t+\t0M\n+L\t202\t+\t203\t+\t0M\n+L\t202\t+\t204\t+\t0M\n+L\t16\t+\t18\t+\t0M\n+L\t180\t+\t182\t+\t0M\n+L\t160\t+\t161\t+\t0M\n+L\t160\t+\t162\t+\t0M\n+L\t19\t+\t20\t+\t0M\n+L\t49\t+\t50\t+\t0M\n+L\t44\t+\t45\t+\t0M\n+L\t44\t+\t46\t+\t0M\n+L\t31\t+\t33\t+\t0M\n+L\t146\t+\t148\t+\t0M\n+L\t74\t+\t75\t+\t0M\n+L\t74\t+\t76\t+\t0M\n+L\t106\t+\t107\t+\t0M\n+L\t61\t+\t62\t+\t0M\n+L\t29\t+\t30\t+\t0M\n+L\t94\t+\t95\t+\t0M\n+L\t212\t+\t213\t+\t0M\n+L\t212\t+\t214\t+\t0M\n+L\t102\t+\t103\t+\t0M\n+L\t102\t+\t104\t+\t0M\n+L\t128\t+\t130\t+\t0M\n+L\t159\t+\t160\t+\t0M\n+L\t70\t+\t71\t+\t0M\n+L\t21\t+\t22\t+\t0M\n+L\t21\t+\t23\t+\t0M\n+L\t193\t+\t194\t+\t0M\n+L\t193\t+\t195\t+\t0M\n+L\t38\t+\t39\t+\t0M\n+L\t38\t+\t40\t+\t0M\n+L\t163\t+\t164\t+\t0M\n+L\t163\t+\t165\t+\t0M\n+L\t131\t+\t133\t+\t0M\n+L\t192\t+\t194\t+\t0M\n+L\t192\t+\t195\t+\t0M\n+L\t101\t+\t102\t+\t0M\n+L\t105\t+\t107\t+\t0M\n+L\t17\t+\t18\t+\t0M\n+L\t53\t+\t54\t+\t0M\n+L\t53\t+\t55\t+\t0M\n+L\t47\t+\t48\t+\t0M\n+L\t47\t+\t49\t+\t0M\n+L\t175\t+\t177\t+\t0M\n+L\t166\t+\t167\t+\t0M\n+L\t166\t+\t168\t+\t0M\n+L\t89\t+\t90\t+\t0M\n+L\t214\t+\t215\t+\t0M\n+L\t198\t+\t199\t+\t0M\n+L\t3\t+\t4\t+\t0M\n+L\t3\t+\t5\t+\t0M\n+L\t80\t+\t81\t+\t0M\n+L\t96\t+\t98\t+\t0M\n+L\t51\t+\t53\t+\t0M\n+L\t178\t+\t179\t+\t0M\n+L\t149\t+\t150\t+\t0M\n+L\t149\t+\t151\t+\t0M\n+L\t155\t+\t156\t+\t0M\n+L\t155\t+\t157\t+\t0M\n+L\t181\t+\t182\t+\t0M\n+L\t143\t+\t145\t+\t0M\n+L\t48\t+\t50\t+\t0M\n+L\t15\t+\t16\t+\t0M\n+L\t15\t+\t17\t+\t0M\n+L\t65\t+\t66\t+\t0M\n+L\t65\t+\t67\t+\t0M\n+L\t97\t+\t98\t+\t0M\n+L\t134\t+\t135\t+\t0M\n'
b
diff -r 000000000000 -r a347dad1f305 test-data/x.json
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/x.json Thu Apr 09 04:36:41 2020 -0400
[
b'@@ -0,0 +1,1 @@\n+{"edge": [{"from": "1", "to": "2"}, {"from": "1", "to": "3"}, {"from": "2", "to": "4"}, {"from": "2", "to": "5"}, {"from": "3", "to": "4"}, {"from": "3", "to": "5"}, {"from": "4", "to": "6"}, {"from": "5", "to": "6"}, {"from": "6", "to": "7"}, {"from": "6", "to": "8"}, {"from": "7", "to": "9"}, {"from": "8", "to": "9"}, {"from": "9", "to": "10"}, {"from": "9", "to": "11"}, {"from": "10", "to": "12"}, {"from": "11", "to": "12"}, {"from": "12", "to": "13"}, {"from": "12", "to": "14"}, {"from": "13", "to": "15"}, {"from": "14", "to": "15"}, {"from": "15", "to": "16"}, {"from": "15", "to": "17"}, {"from": "16", "to": "18"}, {"from": "17", "to": "18"}, {"from": "18", "to": "19"}, {"from": "18", "to": "20"}, {"from": "19", "to": "20"}, {"from": "20", "to": "21"}, {"from": "21", "to": "22"}, {"from": "21", "to": "23"}, {"from": "22", "to": "24"}, {"from": "23", "to": "24"}, {"from": "24", "to": "25"}, {"from": "24", "to": "26"}, {"from": "25", "to": "27"}, {"from": "26", "to": "27"}, {"from": "27", "to": "28"}, {"from": "27", "to": "29"}, {"from": "28", "to": "30"}, {"from": "29", "to": "30"}, {"from": "30", "to": "31"}, {"from": "30", "to": "32"}, {"from": "31", "to": "33"}, {"from": "32", "to": "33"}, {"from": "33", "to": "34"}, {"from": "33", "to": "35"}, {"from": "34", "to": "36"}, {"from": "35", "to": "36"}, {"from": "36", "to": "37"}, {"from": "36", "to": "38"}, {"from": "37", "to": "38"}, {"from": "38", "to": "39"}, {"from": "38", "to": "40"}, {"from": "39", "to": "41"}, {"from": "40", "to": "41"}, {"from": "41", "to": "42"}, {"from": "41", "to": "43"}, {"from": "42", "to": "44"}, {"from": "43", "to": "44"}, {"from": "44", "to": "45"}, {"from": "44", "to": "46"}, {"from": "45", "to": "47"}, {"from": "46", "to": "47"}, {"from": "47", "to": "48"}, {"from": "47", "to": "49"}, {"from": "48", "to": "50"}, {"from": "49", "to": "50"}, {"from": "50", "to": "51"}, {"from": "50", "to": "52"}, {"from": "51", "to": "53"}, {"from": "52", "to": "53"}, {"from": "53", "to": "54"}, {"from": "53", "to": "55"}, {"from": "54", "to": "56"}, {"from": "55", "to": "56"}, {"from": "56", "to": "57"}, {"from": "57", "to": "58"}, {"from": "57", "to": "60"}, {"from": "58", "to": "59"}, {"from": "58", "to": "61"}, {"from": "60", "to": "59"}, {"from": "59", "to": "62"}, {"from": "60", "to": "61"}, {"from": "61", "to": "62"}, {"from": "62", "to": "63"}, {"from": "62", "to": "64"}, {"from": "63", "to": "65"}, {"from": "64", "to": "65"}, {"from": "65", "to": "66"}, {"from": "65", "to": "67"}, {"from": "66", "to": "68"}, {"from": "67", "to": "68"}, {"from": "68", "to": "69"}, {"from": "68", "to": "70"}, {"from": "69", "to": "71"}, {"from": "70", "to": "71"}, {"from": "71", "to": "72"}, {"from": "71", "to": "73"}, {"from": "72", "to": "74"}, {"from": "73", "to": "74"}, {"from": "74", "to": "75"}, {"from": "74", "to": "76"}, {"from": "75", "to": "77"}, {"from": "75", "to": "78"}, {"from": "76", "to": "77"}, {"from": "76", "to": "78"}, {"from": "77", "to": "79"}, {"from": "78", "to": "79"}, {"from": "79", "to": "80"}, {"from": "79", "to": "81"}, {"from": "80", "to": "81"}, {"from": "81", "to": "82"}, {"from": "81", "to": "83"}, {"from": "82", "to": "84"}, {"from": "83", "to": "84"}, {"from": "84", "to": "85"}, {"from": "84", "to": "86"}, {"from": "85", "to": "87"}, {"from": "86", "to": "87"}, {"from": "87", "to": "88"}, {"from": "87", "to": "89"}, {"from": "88", "to": "90"}, {"from": "89", "to": "90"}, {"from": "90", "to": "91"}, {"from": "90", "to": "92"}, {"from": "91", "to": "93"}, {"from": "91", "to": "94"}, {"from": "92", "to": "93"}, {"from": "92", "to": "94"}, {"from": "93", "to": "95"}, {"from": "94", "to": "95"}, {"from": "95", "to": "96"}, {"from": "95", "to": "97"}, {"from": "96", "to": "98"}, {"from": "97", "to": "98"}, {"from": "98", "to": "99"}, {"from": "98", "to": "100"}, {"from": "99", "to": "101"}, {"from": "100", "to": "101"}, {"from": "101", "to": "102"}, {"from": "102", "to": "103"}, {"from": "102", "to": "104"}, {"from": "10'..b', "to_length": 1}], "position": {"node_id": "155"}, "rank": "103"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "157"}, "rank": "104"}, {"edit": [{"from_length": 12, "to_length": 12}], "position": {"node_id": "158"}, "rank": "105"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "159"}, "rank": "106"}, {"edit": [{"from_length": 4, "to_length": 4}], "position": {"node_id": "160"}, "rank": "107"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "162"}, "rank": "108"}, {"edit": [{"from_length": 17, "to_length": 17}], "position": {"node_id": "163"}, "rank": "109"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "165"}, "rank": "110"}, {"edit": [{"from_length": 9, "to_length": 9}], "position": {"node_id": "166"}, "rank": "111"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "168"}, "rank": "112"}, {"edit": [{"from_length": 3, "to_length": 3}], "position": {"node_id": "169"}, "rank": "113"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "171"}, "rank": "114"}, {"edit": [{"from_length": 30, "to_length": 30}], "position": {"node_id": "172"}, "rank": "115"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "174"}, "rank": "116"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "176"}, "rank": "117"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "177"}, "rank": "118"}, {"edit": [{"from_length": 16, "to_length": 16}], "position": {"node_id": "179"}, "rank": "119"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "181"}, "rank": "120"}, {"edit": [{"from_length": 10, "to_length": 10}], "position": {"node_id": "182"}, "rank": "121"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "184"}, "rank": "122"}, {"edit": [{"from_length": 10, "to_length": 10}], "position": {"node_id": "185"}, "rank": "123"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "187"}, "rank": "124"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "188"}, "rank": "125"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "190"}, "rank": "126"}, {"edit": [{"from_length": 14, "to_length": 14}], "position": {"node_id": "191"}, "rank": "127"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "193"}, "rank": "128"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "195"}, "rank": "129"}, {"edit": [{"from_length": 5, "to_length": 5}], "position": {"node_id": "196"}, "rank": "130"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "198"}, "rank": "131"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "199"}, "rank": "132"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "201"}, "rank": "133"}, {"edit": [{"from_length": 3, "to_length": 3}], "position": {"node_id": "202"}, "rank": "134"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "204"}, "rank": "135"}, {"edit": [{"from_length": 10, "to_length": 10}], "position": {"node_id": "205"}, "rank": "136"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "206"}, "rank": "137"}, {"edit": [{"from_length": 4, "to_length": 4}], "position": {"node_id": "207"}, "rank": "138"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "209"}, "rank": "139"}, {"edit": [{"from_length": 27, "to_length": 27}], "position": {"node_id": "210"}, "rank": "140"}, {"edit": [{"from_length": 2, "to_length": 2}], "position": {"node_id": "211"}, "rank": "141"}, {"edit": [{"from_length": 25, "to_length": 25}], "position": {"node_id": "212"}, "rank": "142"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "214"}, "rank": "143"}, {"edit": [{"from_length": 1, "to_length": 1}], "position": {"node_id": "215"}, "rank": "144"}], "name": "x"}]}\n'
b
diff -r 000000000000 -r a347dad1f305 test-data/x.vg
b
Binary file test-data/x.vg has changed