Skip to content

Instantly share code, notes, and snippets.

@remram44
Last active July 25, 2019 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save remram44/8bd1532c983d4cea853fcd95c11a5abf to your computer and use it in GitHub Desktop.
Save remram44/8bd1532c983d4cea853fcd95c11a5abf to your computer and use it in GitHub Desktop.
reprounzip-graph from whole-tale/provenance-examples

AJPS example

Real-world single-step Rscript with inputs and output

reprozip trace Rscript Stokes_AJPS_Replication.R
reprozip pack ajps
reprounzip graph --processes process --packages drop --otherfiles io --regex-filter ^/etc graphfile.dot ajps.rpz
dot -Tsvg graphfile.dot -o graph.svg
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
-->
<!-- Title: G Pages: 1 -->
<svg width="1312pt" height="693pt"
viewBox="0.00 0.00 1312.15 692.87" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 688.87)">
<title>G</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-688.87 1308.15,-688.87 1308.15,4 -4,4"/>
<g id="clust1" class="cluster"><title>cluster_run0</title>
<polygon fill="none" stroke="black" points="8,-277.87 8,-676.87 1296.15,-676.87 1296.15,-277.87 8,-277.87"/>
<text text-anchor="middle" x="652.073" y="-661.67" font-family="Times,serif" font-size="14.00">run0</text>
</g>
<!-- prog0 -->
<g id="node1" class="node"><title>prog0</title>
<path fill="black" stroke="black" d="M154,-406.87C154,-406.87 28,-406.87 28,-406.87 22,-406.87 16,-400.87 16,-394.87 16,-394.87 16,-382.87 16,-382.87 16,-376.87 22,-370.87 28,-370.87 28,-370.87 154,-370.87 154,-370.87 160,-370.87 166,-376.87 166,-382.87 166,-382.87 166,-394.87 166,-394.87 166,-400.87 160,-406.87 154,-406.87"/>
<text text-anchor="middle" x="91" y="-385.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/local/bin/Rscript (1)</text>
</g>
<!-- prog1 -->
<g id="node2" class="node"><title>prog1</title>
<path fill="black" stroke="black" d="M448.185,-406.87C448.185,-406.87 321.185,-406.87 321.185,-406.87 315.185,-406.87 309.185,-400.87 309.185,-394.87 309.185,-394.87 309.185,-382.87 309.185,-382.87 309.185,-376.87 315.185,-370.87 321.185,-370.87 321.185,-370.87 448.185,-370.87 448.185,-370.87 454.185,-370.87 460.185,-376.87 460.185,-382.87 460.185,-382.87 460.185,-394.87 460.185,-394.87 460.185,-400.87 454.185,-406.87 448.185,-406.87"/>
<text text-anchor="middle" x="384.685" y="-385.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/local/lib/R/bin/R (1)</text>
</g>
<!-- prog0&#45;&gt;prog1 -->
<g id="edge1" class="edge"><title>prog0&#45;&gt;prog1</title>
<path fill="none" stroke="black" d="M166.359,-388.87C206.745,-388.87 256.847,-388.87 298.763,-388.87"/>
<polygon fill="black" stroke="black" points="298.955,-392.37 308.955,-388.87 298.955,-385.37 298.955,-392.37"/>
<text text-anchor="middle" x="196.5" y="-392.67" font-family="Times,serif" font-size="14.00">exec</text>
</g>
<!-- prog2 -->
<g id="node3" class="node"><title>prog2</title>
<path fill="black" stroke="black" d="M760.87,-406.87C760.87,-406.87 686.87,-406.87 686.87,-406.87 680.87,-406.87 674.87,-400.87 674.87,-394.87 674.87,-394.87 674.87,-382.87 674.87,-382.87 674.87,-376.87 680.87,-370.87 686.87,-370.87 686.87,-370.87 760.87,-370.87 760.87,-370.87 766.87,-370.87 772.87,-376.87 772.87,-382.87 772.87,-382.87 772.87,-394.87 772.87,-394.87 772.87,-400.87 766.87,-406.87 760.87,-406.87"/>
<text text-anchor="middle" x="723.87" y="-385.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/uname (2)</text>
</g>
<!-- prog1&#45;&gt;prog2 -->
<g id="edge2" class="edge"><title>prog1&#45;&gt;prog2</title>
<path fill="none" stroke="black" d="M460.517,-388.87C522.07,-388.87 608.072,-388.87 664.591,-388.87"/>
<polygon fill="black" stroke="black" points="664.789,-392.37 674.789,-388.87 664.789,-385.37 664.789,-392.37"/>
<text text-anchor="middle" x="588.37" y="-392.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog3 -->
<g id="node4" class="node"><title>prog3</title>
<path fill="black" stroke="black" d="M787.37,-560.87C787.37,-560.87 660.37,-560.87 660.37,-560.87 654.37,-560.87 648.37,-554.87 648.37,-548.87 648.37,-548.87 648.37,-536.87 648.37,-536.87 648.37,-530.87 654.37,-524.87 660.37,-524.87 660.37,-524.87 787.37,-524.87 787.37,-524.87 793.37,-524.87 799.37,-530.87 799.37,-536.87 799.37,-536.87 799.37,-548.87 799.37,-548.87 799.37,-554.87 793.37,-560.87 787.37,-560.87"/>
<text text-anchor="middle" x="723.87" y="-539.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/local/lib/R/bin/R (3)</text>
</g>
<!-- prog1&#45;&gt;prog3 -->
<g id="edge3" class="edge"><title>prog1&#45;&gt;prog3</title>
<path fill="none" stroke="black" d="M425.356,-406.989C487.373,-435.313 607.122,-490.005 674.24,-520.66"/>
<polygon fill="black" stroke="black" points="672.799,-523.85 683.35,-524.82 675.708,-517.482 672.799,-523.85"/>
<text text-anchor="middle" x="588.37" y="-497.67" font-family="Times,serif" font-size="14.00">fork</text>
</g>
<!-- prog7 -->
<g id="node8" class="node"><title>prog7</title>
<path fill="black" stroke="black" d="M801.37,-321.87C801.37,-321.87 646.37,-321.87 646.37,-321.87 640.37,-321.87 634.37,-315.87 634.37,-309.87 634.37,-309.87 634.37,-297.87 634.37,-297.87 634.37,-291.87 640.37,-285.87 646.37,-285.87 646.37,-285.87 801.37,-285.87 801.37,-285.87 807.37,-285.87 813.37,-291.87 813.37,-297.87 813.37,-297.87 813.37,-309.87 813.37,-309.87 813.37,-315.87 807.37,-321.87 801.37,-321.87"/>
<text text-anchor="middle" x="723.87" y="-300.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/local/lib/R/bin/exec/R (1)</text>
</g>
<!-- prog1&#45;&gt;prog7 -->
<g id="edge7" class="edge"><title>prog1&#45;&gt;prog7</title>
<path fill="none" stroke="black" d="M457.193,-370.844C511.173,-357.236 585.297,-338.55 641.536,-324.373"/>
<polygon fill="black" stroke="black" points="642.623,-327.709 651.464,-321.87 640.912,-320.921 642.623,-327.709"/>
<text text-anchor="middle" x="588.37" y="-347.67" font-family="Times,serif" font-size="14.00">exec</text>
</g>
<!-- prog4 -->
<g id="node5" class="node"><title>prog4</title>
<path fill="black" stroke="black" d="M1057.26,-645.87C1057.26,-645.87 930.258,-645.87 930.258,-645.87 924.258,-645.87 918.258,-639.87 918.258,-633.87 918.258,-633.87 918.258,-621.87 918.258,-621.87 918.258,-615.87 924.258,-609.87 930.258,-609.87 930.258,-609.87 1057.26,-609.87 1057.26,-609.87 1063.26,-609.87 1069.26,-615.87 1069.26,-621.87 1069.26,-621.87 1069.26,-633.87 1069.26,-633.87 1069.26,-639.87 1063.26,-645.87 1057.26,-645.87"/>
<text text-anchor="middle" x="993.758" y="-624.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/local/lib/R/bin/R (4)</text>
</g>
<!-- prog3&#45;&gt;prog4 -->
<g id="edge4" class="edge"><title>prog3&#45;&gt;prog4</title>
<path fill="none" stroke="black" d="M775.364,-560.938C793.023,-567.116 813.019,-573.957 831.37,-579.87 860.24,-589.173 892.222,-598.821 920.049,-607.005"/>
<polygon fill="black" stroke="black" points="919.126,-610.382 929.707,-609.836 921.095,-603.664 919.126,-610.382"/>
<text text-anchor="middle" x="859.37" y="-599.67" font-family="Times,serif" font-size="14.00">fork</text>
</g>
<!-- prog5 -->
<g id="node6" class="node"><title>prog5</title>
<path fill="black" stroke="black" d="M1021.26,-537.87C1021.26,-537.87 966.258,-537.87 966.258,-537.87 960.258,-537.87 954.258,-531.87 954.258,-525.87 954.258,-525.87 954.258,-513.87 954.258,-513.87 954.258,-507.87 960.258,-501.87 966.258,-501.87 966.258,-501.87 1021.26,-501.87 1021.26,-501.87 1027.26,-501.87 1033.26,-507.87 1033.26,-513.87 1033.26,-513.87 1033.26,-525.87 1033.26,-525.87 1033.26,-531.87 1027.26,-537.87 1021.26,-537.87"/>
<text text-anchor="middle" x="993.758" y="-516.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/sed (5)</text>
</g>
<!-- prog3&#45;&gt;prog5 -->
<g id="edge5" class="edge"><title>prog3&#45;&gt;prog5</title>
<path fill="none" stroke="black" d="M799.628,-535.724C810.28,-534.743 821.102,-533.766 831.37,-532.87 869.146,-529.575 911.924,-526.143 943.943,-523.633"/>
<polygon fill="black" stroke="black" points="944.243,-527.12 953.94,-522.852 943.698,-520.142 944.243,-527.12"/>
<text text-anchor="middle" x="859.37" y="-536.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog6 -->
<g id="node7" class="node"><title>prog6</title>
<path fill="black" stroke="black" d="M1021.26,-591.87C1021.26,-591.87 966.258,-591.87 966.258,-591.87 960.258,-591.87 954.258,-585.87 954.258,-579.87 954.258,-579.87 954.258,-567.87 954.258,-567.87 954.258,-561.87 960.258,-555.87 966.258,-555.87 966.258,-555.87 1021.26,-555.87 1021.26,-555.87 1027.26,-555.87 1033.26,-561.87 1033.26,-567.87 1033.26,-567.87 1033.26,-579.87 1033.26,-579.87 1033.26,-585.87 1027.26,-591.87 1021.26,-591.87"/>
<text text-anchor="middle" x="993.758" y="-570.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/sed (6)</text>
</g>
<!-- prog3&#45;&gt;prog6 -->
<g id="edge6" class="edge"><title>prog3&#45;&gt;prog6</title>
<path fill="none" stroke="black" d="M799.491,-551.505C845.635,-556.845 903.55,-563.547 943.894,-568.215"/>
<polygon fill="black" stroke="black" points="943.674,-571.713 954.01,-569.386 944.479,-564.76 943.674,-571.713"/>
<text text-anchor="middle" x="859.37" y="-564.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog9 -->
<g id="node9" class="node"><title>prog9</title>
<path fill="black" stroke="black" d="M1018.26,-321.87C1018.26,-321.87 969.258,-321.87 969.258,-321.87 963.258,-321.87 957.258,-315.87 957.258,-309.87 957.258,-309.87 957.258,-297.87 957.258,-297.87 957.258,-291.87 963.258,-285.87 969.258,-285.87 969.258,-285.87 1018.26,-285.87 1018.26,-285.87 1024.26,-285.87 1030.26,-291.87 1030.26,-297.87 1030.26,-297.87 1030.26,-309.87 1030.26,-309.87 1030.26,-315.87 1024.26,-321.87 1018.26,-321.87"/>
<text text-anchor="middle" x="993.758" y="-300.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/sh (8)</text>
</g>
<!-- prog7&#45;&gt;prog9 -->
<g id="edge8" class="edge"><title>prog7&#45;&gt;prog9</title>
<path fill="none" stroke="black" d="M813.7,-303.87C858.198,-303.87 910.216,-303.87 946.683,-303.87"/>
<polygon fill="black" stroke="black" points="947.005,-307.37 957.005,-303.87 947.005,-300.37 947.005,-307.37"/>
<text text-anchor="middle" x="859.37" y="-307.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog11 -->
<g id="node11" class="node"><title>prog11</title>
<path fill="black" stroke="black" d="M1021.76,-375.87C1021.76,-375.87 965.758,-375.87 965.758,-375.87 959.758,-375.87 953.758,-369.87 953.758,-363.87 953.758,-363.87 953.758,-351.87 953.758,-351.87 953.758,-345.87 959.758,-339.87 965.758,-339.87 965.758,-339.87 1021.76,-339.87 1021.76,-339.87 1027.76,-339.87 1033.76,-345.87 1033.76,-351.87 1033.76,-351.87 1033.76,-363.87 1033.76,-363.87 1033.76,-369.87 1027.76,-375.87 1021.76,-375.87"/>
<text text-anchor="middle" x="993.758" y="-354.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/sh (10)</text>
</g>
<!-- prog7&#45;&gt;prog11 -->
<g id="edge10" class="edge"><title>prog7&#45;&gt;prog11</title>
<path fill="none" stroke="black" d="M813.7,-321.776C856.997,-330.504 907.413,-340.667 943.696,-347.98"/>
<polygon fill="black" stroke="black" points="943.043,-351.419 953.537,-349.964 944.426,-344.557 943.043,-351.419"/>
<text text-anchor="middle" x="859.37" y="-339.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog13 -->
<g id="node13" class="node"><title>prog13</title>
<path fill="black" stroke="black" d="M1021.76,-429.87C1021.76,-429.87 965.758,-429.87 965.758,-429.87 959.758,-429.87 953.758,-423.87 953.758,-417.87 953.758,-417.87 953.758,-405.87 953.758,-405.87 953.758,-399.87 959.758,-393.87 965.758,-393.87 965.758,-393.87 1021.76,-393.87 1021.76,-393.87 1027.76,-393.87 1033.76,-399.87 1033.76,-405.87 1033.76,-405.87 1033.76,-417.87 1033.76,-417.87 1033.76,-423.87 1027.76,-429.87 1021.76,-429.87"/>
<text text-anchor="middle" x="993.758" y="-408.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/sh (12)</text>
</g>
<!-- prog7&#45;&gt;prog13 -->
<g id="edge12" class="edge"><title>prog7&#45;&gt;prog13</title>
<path fill="none" stroke="black" d="M760.479,-321.881C796.397,-339.559 853.766,-366.476 905.37,-384.87 917.644,-389.245 931.029,-393.59 943.551,-397.474"/>
<polygon fill="black" stroke="black" points="942.784,-400.9 953.371,-400.482 944.834,-394.207 942.784,-400.9"/>
<text text-anchor="middle" x="859.37" y="-381.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog16 -->
<g id="node15" class="node"><title>prog16</title>
<path fill="black" stroke="black" d="M1021.76,-483.87C1021.76,-483.87 965.758,-483.87 965.758,-483.87 959.758,-483.87 953.758,-477.87 953.758,-471.87 953.758,-471.87 953.758,-459.87 953.758,-459.87 953.758,-453.87 959.758,-447.87 965.758,-447.87 965.758,-447.87 1021.76,-447.87 1021.76,-447.87 1027.76,-447.87 1033.76,-453.87 1033.76,-459.87 1033.76,-459.87 1033.76,-471.87 1033.76,-471.87 1033.76,-477.87 1027.76,-483.87 1021.76,-483.87"/>
<text text-anchor="middle" x="993.758" y="-462.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/sh (15)</text>
</g>
<!-- prog7&#45;&gt;prog16 -->
<g id="edge14" class="edge"><title>prog7&#45;&gt;prog16</title>
<path fill="none" stroke="black" d="M761.214,-321.963C778.594,-331.946 798.745,-345.622 813.37,-361.87 825.072,-374.872 819.258,-384.249 831.37,-396.87 857.553,-424.156 870.656,-423.867 905.37,-438.87 917.446,-444.089 930.859,-448.758 943.478,-452.687"/>
<polygon fill="black" stroke="black" points="942.803,-456.139 953.388,-455.675 944.824,-449.437 942.803,-456.139"/>
<text text-anchor="middle" x="859.37" y="-435.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- /test/ajps/Rplots.pdf -->
<g id="node17" class="node"><title>/test/ajps/Rplots.pdf</title>
<ellipse fill="#a3b4e0" stroke="black" cx="993.758" cy="-240.87" rx="88.2768" ry="26.7407"/>
<text text-anchor="middle" x="993.758" y="-244.67" font-family="Times,serif" font-size="14.00" fill="#131c39">Rplots.pdf</text>
<text text-anchor="middle" x="993.758" y="-229.67" font-family="Times,serif" font-size="14.00" fill="#131c39">/test/ajps/Rplots.pdf</text>
</g>
<!-- prog7&#45;&gt;/test/ajps/Rplots.pdf -->
<g id="edge18" class="edge"><title>prog7&#45;&gt;/test/ajps/Rplots.pdf</title>
<path fill="none" stroke="#000088" d="M801.636,-285.817C836.684,-277.574 878.162,-267.82 913.506,-259.508"/>
<polygon fill="#000088" stroke="#000088" points="914.369,-262.901 923.302,-257.204 912.766,-256.087 914.369,-262.901"/>
</g>
<!-- prog10 -->
<g id="node10" class="node"><title>prog10</title>
<path fill="black" stroke="black" d="M1276.15,-321.87C1276.15,-321.87 1186.15,-321.87 1186.15,-321.87 1180.15,-321.87 1174.15,-315.87 1174.15,-309.87 1174.15,-309.87 1174.15,-297.87 1174.15,-297.87 1174.15,-291.87 1180.15,-285.87 1186.15,-285.87 1186.15,-285.87 1276.15,-285.87 1276.15,-285.87 1282.15,-285.87 1288.15,-291.87 1288.15,-297.87 1288.15,-297.87 1288.15,-309.87 1288.15,-309.87 1288.15,-315.87 1282.15,-321.87 1276.15,-321.87"/>
<text text-anchor="middle" x="1231.15" y="-300.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/bin/which (9)</text>
</g>
<!-- prog9&#45;&gt;prog10 -->
<g id="edge9" class="edge"><title>prog9&#45;&gt;prog10</title>
<path fill="none" stroke="black" d="M1030.51,-303.87C1065.75,-303.87 1120.46,-303.87 1163.7,-303.87"/>
<polygon fill="black" stroke="black" points="1163.86,-307.37 1173.86,-303.87 1163.86,-300.37 1163.86,-307.37"/>
<text text-anchor="middle" x="1128.15" y="-307.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog12 -->
<g id="node12" class="node"><title>prog12</title>
<path fill="black" stroke="black" d="M1271.15,-375.87C1271.15,-375.87 1191.15,-375.87 1191.15,-375.87 1185.15,-375.87 1179.15,-369.87 1179.15,-363.87 1179.15,-363.87 1179.15,-351.87 1179.15,-351.87 1179.15,-345.87 1185.15,-339.87 1191.15,-339.87 1191.15,-339.87 1271.15,-339.87 1271.15,-339.87 1277.15,-339.87 1283.15,-345.87 1283.15,-351.87 1283.15,-351.87 1283.15,-363.87 1283.15,-363.87 1283.15,-369.87 1277.15,-375.87 1271.15,-375.87"/>
<text text-anchor="middle" x="1231.15" y="-354.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/uname (11)</text>
</g>
<!-- prog11&#45;&gt;prog12 -->
<g id="edge11" class="edge"><title>prog11&#45;&gt;prog12</title>
<path fill="none" stroke="black" d="M1033.89,-357.87C1070.61,-357.87 1126.09,-357.87 1168.71,-357.87"/>
<polygon fill="black" stroke="black" points="1168.97,-361.37 1178.97,-357.87 1168.97,-354.37 1168.97,-361.37"/>
<text text-anchor="middle" x="1128.15" y="-361.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog14 -->
<g id="node14" class="node"><title>prog14</title>
<path fill="black" stroke="black" d="M1273.65,-429.87C1273.65,-429.87 1188.65,-429.87 1188.65,-429.87 1182.65,-429.87 1176.65,-423.87 1176.65,-417.87 1176.65,-417.87 1176.65,-405.87 1176.65,-405.87 1176.65,-399.87 1182.65,-393.87 1188.65,-393.87 1188.65,-393.87 1273.65,-393.87 1273.65,-393.87 1279.65,-393.87 1285.65,-399.87 1285.65,-405.87 1285.65,-405.87 1285.65,-417.87 1285.65,-417.87 1285.65,-423.87 1279.65,-429.87 1273.65,-429.87"/>
<text text-anchor="middle" x="1231.15" y="-408.17" font-family="Times,serif" font-size="14.00" fill="white">/usr/bin/tput (13)</text>
</g>
<!-- prog13&#45;&gt;prog14 -->
<g id="edge13" class="edge"><title>prog13&#45;&gt;prog14</title>
<path fill="none" stroke="black" d="M1033.89,-411.87C1069.88,-411.87 1123.91,-411.87 1166.17,-411.87"/>
<polygon fill="black" stroke="black" points="1166.37,-415.37 1176.37,-411.87 1166.37,-408.37 1166.37,-415.37"/>
<text text-anchor="middle" x="1128.15" y="-415.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- prog17 -->
<g id="node16" class="node"><title>prog17</title>
<path fill="black" stroke="black" d="M1260.65,-483.87C1260.65,-483.87 1201.65,-483.87 1201.65,-483.87 1195.65,-483.87 1189.65,-477.87 1189.65,-471.87 1189.65,-471.87 1189.65,-459.87 1189.65,-459.87 1189.65,-453.87 1195.65,-447.87 1201.65,-447.87 1201.65,-447.87 1260.65,-447.87 1260.65,-447.87 1266.65,-447.87 1272.65,-453.87 1272.65,-459.87 1272.65,-459.87 1272.65,-471.87 1272.65,-471.87 1272.65,-477.87 1266.65,-483.87 1260.65,-483.87"/>
<text text-anchor="middle" x="1231.15" y="-462.17" font-family="Times,serif" font-size="14.00" fill="white">/bin/rm (16)</text>
</g>
<!-- prog16&#45;&gt;prog17 -->
<g id="edge15" class="edge"><title>prog16&#45;&gt;prog17</title>
<path fill="none" stroke="black" d="M1033.89,-465.87C1073.71,-465.87 1135.61,-465.87 1179.22,-465.87"/>
<polygon fill="black" stroke="black" points="1179.34,-469.37 1189.34,-465.87 1179.34,-462.37 1179.34,-469.37"/>
<text text-anchor="middle" x="1128.15" y="-469.67" font-family="Times,serif" font-size="14.00">fork+exec</text>
</g>
<!-- /test/ajps/Stokes_AJPS_Replication.R -->
<g id="node18" class="node"><title>/test/ajps/Stokes_AJPS_Replication.R</title>
<ellipse fill="#a3b4e0" stroke="black" cx="384.685" cy="-242.87" rx="157.87" ry="26.7407"/>
<text text-anchor="middle" x="384.685" y="-246.67" font-family="Times,serif" font-size="14.00" fill="#131c39">arg</text>
<text text-anchor="middle" x="384.685" y="-231.67" font-family="Times,serif" font-size="14.00" fill="#131c39">/test/ajps/Stokes_AJPS_Replication.R</text>
</g>
<!-- /test/ajps/Stokes_AJPS_Replication.R&#45;&gt;prog7 -->
<g id="edge16" class="edge"><title>/test/ajps/Stokes_AJPS_Replication.R&#45;&gt;prog7</title>
<path fill="none" stroke="#8888cc" d="M493.764,-262.423C535.672,-270.004 583.332,-278.626 624.289,-286.036"/>
<polygon fill="#8888cc" stroke="#8888cc" points="623.813,-289.506 634.276,-287.843 625.059,-282.618 623.813,-289.506"/>
</g>
<!-- /test/ajps/newspapers_count.csv -->
<g id="node19" class="node"><title>/test/ajps/newspapers_count.csv</title>
<ellipse fill="#a3b4e0" stroke="black" cx="384.685" cy="-170.87" rx="134.201" ry="26.7407"/>
<text text-anchor="middle" x="384.685" y="-174.67" font-family="Times,serif" font-size="14.00" fill="#131c39">newspapers_count.csv</text>
<text text-anchor="middle" x="384.685" y="-159.67" font-family="Times,serif" font-size="14.00" fill="#131c39">/test/ajps/newspapers_count.csv</text>
</g>
<!-- /test/ajps/newspapers_count.csv&#45;&gt;prog7 -->
<g id="edge19" class="edge"><title>/test/ajps/newspapers_count.csv&#45;&gt;prog7</title>
<path fill="none" stroke="#8888cc" d="M483.836,-189.177C503.507,-194.025 523.819,-199.899 542.37,-206.87 594.712,-226.541 650.824,-258.623 686.345,-280.461"/>
<polygon fill="#8888cc" stroke="#8888cc" points="684.574,-283.481 694.917,-285.778 688.264,-277.532 684.574,-283.481"/>
</g>
<!-- /test/ajps/precincts0711.csv -->
<g id="node20" class="node"><title>/test/ajps/precincts0711.csv</title>
<ellipse fill="#a3b4e0" stroke="black" cx="384.685" cy="-98.8701" rx="117.26" ry="26.7407"/>
<text text-anchor="middle" x="384.685" y="-102.67" font-family="Times,serif" font-size="14.00" fill="#131c39">precincts0711.csv</text>
<text text-anchor="middle" x="384.685" y="-87.6701" font-family="Times,serif" font-size="14.00" fill="#131c39">/test/ajps/precincts0711.csv</text>
</g>
<!-- /test/ajps/precincts0711.csv&#45;&gt;prog7 -->
<g id="edge20" class="edge"><title>/test/ajps/precincts0711.csv&#45;&gt;prog7</title>
<path fill="none" stroke="#8888cc" d="M484.254,-113.187C504.196,-118.351 524.507,-125.361 542.37,-134.87 610.715,-171.252 672.351,-240.255 702.807,-277.855"/>
<polygon fill="#8888cc" stroke="#8888cc" points="700.195,-280.193 709.172,-285.82 705.663,-275.823 700.195,-280.193"/>
</g>
<!-- /test/ajps/replication_file.csv -->
<g id="node21" class="node"><title>/test/ajps/replication_file.csv</title>
<ellipse fill="#a3b4e0" stroke="black" cx="384.685" cy="-26.8701" rx="122.159" ry="26.7407"/>
<text text-anchor="middle" x="384.685" y="-30.6701" font-family="Times,serif" font-size="14.00" fill="#131c39">replication_file.csv</text>
<text text-anchor="middle" x="384.685" y="-15.6701" font-family="Times,serif" font-size="14.00" fill="#131c39">/test/ajps/replication_file.csv</text>
</g>
<!-- /test/ajps/replication_file.csv&#45;&gt;prog7 -->
<g id="edge17" class="edge"><title>/test/ajps/replication_file.csv&#45;&gt;prog7</title>
<path fill="none" stroke="#8888cc" d="M489.014,-41.1572C507.555,-46.3117 526.126,-53.3257 542.37,-62.8701 629.38,-113.996 687.809,-225.071 711.281,-276.6"/>
<polygon fill="#8888cc" stroke="#8888cc" points="708.11,-278.083 715.381,-285.789 714.502,-275.23 708.11,-278.083"/>
</g>
</g>
</svg>

Multistep example

Trace three separate very simple scripts (bash, bash, python) using the --continue flag

reprozip trace ./step1.sh
reprozip trace --continue ./step2.sh
reprozip trace --continue ./plot.py
reprozip pack multistep

reprounzip graph --processes process --packages drop --otherfiles io --regex-filter ^/etc graphfile.dot multistep.rpz
dot -Tsvg graphfile.dot -o graph.svg
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Onestep example

Runs three separate very simple scripts (bash, bash, python) via a master script.

reprozip trace ./run.sh
reprozip pack onestep

reprounzip graph --processes process --packages drop --otherfiles io --regex-filter ^/etc graphfile.dot onestep.rpz
dot -Tsvg graphfile.dot -o graph.svg
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Water tale

Trace execution of nbconvert on a notebook.

reprozip trace  jupyter nbconvert   --ExecutePreprocessor.allow_errors=True   --ExecutePreprocessor.timeout=-1   --FilesWriter.build_directory=./results   --execute workspace/wt_quickstart.ipynb

reprozip pack watertale

reprounzip graph --processes process --packages drop --otherfiles io --regex-filter ^/etc graphfile.dot watertale.rpzk

Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment