Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
38 committed Jun 21, 2022
1 parent a1355f1 commit 02711ab
Show file tree
Hide file tree
Showing 8 changed files with 56 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ test.d4

.bak/

data

hts/htslib/**/*.o
hts/htslib/**/lib*.a
hts/htslib/**/lib*.so
Expand Down
3 changes: 3 additions & 0 deletions d4tools/test/data/index-test.bedgraph
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1 0 900000 50
2 0 1000000 20
2 1500000 2000000 100
2 changes: 2 additions & 0 deletions d4tools/test/data/index-test.genomesize
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1 1000000
2 2000000
Binary file added d4tools/test/data/input.d4
Binary file not shown.
Binary file added d4tools/test/data/multitrack.d4
Binary file not shown.
3 changes: 3 additions & 0 deletions d4tools/test/index/build/cmdline
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
${D4TOOLS} create -g ${DATADIR}/index-test.genomesize ${DATADIR}/index-test.bedgraph ${OUTDIR}/index-test.d4 && \
${D4TOOLS} index build -S ${OUTDIR}/index-test.d4 && \
${D4TOOLS} index show ${OUTDIR}/index-test.d4 sum
47 changes: 47 additions & 0 deletions d4tools/test/index/build/output.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
1 0 65536 Sum(3276800.00000)
1 65536 131072 Sum(3276800.00000)
1 131072 196608 Sum(3276800.00000)
1 196608 262144 Sum(3276800.00000)
1 262144 327680 Sum(3276800.00000)
1 327680 393216 Sum(3276800.00000)
1 393216 458752 Sum(3276800.00000)
1 458752 524288 Sum(3276800.00000)
1 524288 589824 Sum(3276800.00000)
1 589824 655360 Sum(3276800.00000)
1 655360 720896 Sum(3276800.00000)
1 720896 786432 Sum(3276800.00000)
1 786432 851968 Sum(3276800.00000)
1 851968 917504 Sum(2401600.00000)
1 917504 983040 Sum(0.00000)
1 983040 1000000 Sum(0.00000)
2 0 65536 Sum(1310720.00000)
2 65536 131072 Sum(1310720.00000)
2 131072 196608 Sum(1310720.00000)
2 196608 262144 Sum(1310720.00000)
2 262144 327680 Sum(1310720.00000)
2 327680 393216 Sum(1310720.00000)
2 393216 458752 Sum(1310720.00000)
2 458752 524288 Sum(1310720.00000)
2 524288 589824 Sum(1310720.00000)
2 589824 655360 Sum(1310720.00000)
2 655360 720896 Sum(1310720.00000)
2 720896 786432 Sum(1310720.00000)
2 786432 851968 Sum(1310720.00000)
2 851968 917504 Sum(1310720.00000)
2 917504 983040 Sum(1310720.00000)
2 983040 1048576 Sum(339200.00000)
2 1048576 1114112 Sum(0.00000)
2 1114112 1179648 Sum(0.00000)
2 1179648 1245184 Sum(0.00000)
2 1245184 1310720 Sum(0.00000)
2 1310720 1376256 Sum(0.00000)
2 1376256 1441792 Sum(0.00000)
2 1441792 1507328 Sum(732800.00000)
2 1507328 1572864 Sum(6553600.00000)
2 1572864 1638400 Sum(6553600.00000)
2 1638400 1703936 Sum(6553600.00000)
2 1703936 1769472 Sum(6553600.00000)
2 1769472 1835008 Sum(6553600.00000)
2 1835008 1900544 Sum(6553600.00000)
2 1900544 1966080 Sum(6553600.00000)
2 1966080 2000000 Sum(0.00000)
1 change: 1 addition & 0 deletions pyd4/examples/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data/**

0 comments on commit 02711ab

Please sign in to comment.