├── ccan
├── hash
│ ├── LICENSE
│ ├── _info
│ └── test
│ │ └── run.c
└── build_assert
│ ├── LICENSE
│ ├── test
│ ├── compile_ok.c
│ ├── compile_fail.c
│ ├── compile_fail-expr.c
│ └── run-BUILD_ASSERT_OR_ZERO.c
│ ├── build_assert.h
│ └── _info
├── config.h
├── githash.cc
├── sysdeps
├── Darwin.inc
└── Linux.inc
├── testrunner.cc
├── antonie.hh
├── compat.hh
├── ext
├── html
│ ├── jquery-ui-1.10.4.custom
│ │ └── css
│ │ │ └── ui-lightness
│ │ │ └── images
│ │ │ ├── animated-overlay.gif
│ │ │ ├── ui-icons_222222_256x240.png
│ │ │ ├── ui-icons_228ef1_256x240.png
│ │ │ ├── ui-icons_ef8c08_256x240.png
│ │ │ ├── ui-icons_ffd27a_256x240.png
│ │ │ ├── ui-icons_ffffff_256x240.png
│ │ │ ├── ui-bg_flat_10_000000_40x100.png
│ │ │ ├── ui-bg_glass_65_ffffff_1x400.png
│ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png
│ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png
│ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png
│ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png
│ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png
│ │ │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png
│ │ │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png
│ └── nvd3
│ │ ├── .gitignore
│ │ └── LICENSE.md
├── libmba
│ ├── mba
│ │ ├── iterator.h
│ │ ├── dbug.h
│ │ ├── suba.h
│ │ ├── diff.h
│ │ ├── varray.h
│ │ ├── msgno.h
│ │ ├── hashmap.h
│ │ └── allocator.h
│ ├── allocator.c
│ └── varray.c
└── nhpup_1.1.js
├── .gitignore
├── invert.cc
├── stitchalg.hh
├── update-git-hash-if-necessary
├── .travis.yml
├── testrun.sh
├── test-saminfra_cc.cc
├── 16ssearcher.hh
├── fastqindex.hh
├── tclap
├── Makefile.am
├── Visitor.h
├── IgnoreRestVisitor.h
├── OptionalUnlabeledTracker.h
├── Constraint.h
├── CmdLineOutput.h
├── HelpVisitor.h
├── VersionVisitor.h
├── ArgTraits.h
├── ValuesConstraint.h
├── CmdLineInterface.h
├── XorHandler.h
├── StandardTraits.h
├── ArgException.h
└── MultiSwitchArg.h
├── test-misc_hh.cc
├── fqgrep.cc
├── test-dnamisc_cc.cc
├── 16ssearcher.md
├── strdiff.c
├── gendump.cc
├── refgenome2.hh
├── misc.hh
├── stitcher.cc
├── saminfra.hh
├── geneannotated.hh
├── test-nucstore_cc.cc
├── digisplice.cc
├── fastq.hh
├── gffedit.cc
├── nucstore.hh
├── misc.cc
├── support.js
├── refgenome2.cc
├── dino.cc
├── zstuff.hh
├── pfqgrep.cc
├── nwunsch.cc
├── fastqindex.cc
├── viewer.html
├── gfflookup.cc
├── fastq.cc
├── refgenome.hh
├── gtfreader.cc
├── AntonieLaunch.py
├── geneannotated.cc
├── genbankparser.cc
├── Makefile
├── dnamisc.cc
├── stitchalg.cc
├── phi-x174.cc
├── dnamisc.hh
└── viewer.js
/ccan/hash/LICENSE:
--------------------------------------------------------------------------------
1 | ../../licenses/CC0
--------------------------------------------------------------------------------
/ccan/build_assert/LICENSE:
--------------------------------------------------------------------------------
1 | ../../licenses/CC0
--------------------------------------------------------------------------------
/config.h:
--------------------------------------------------------------------------------
1 | #define HAVE_LITTLE_ENDIAN 1
2 |
--------------------------------------------------------------------------------
/githash.cc:
--------------------------------------------------------------------------------
1 | #include "githash.h"
2 |
3 | const char* g_gitHash=GIT_HASH;
4 |
--------------------------------------------------------------------------------
/sysdeps/Darwin.inc:
--------------------------------------------------------------------------------
1 | CXX2011FLAGS=-std=c++11 -stdlib=libc++ -I/usr/local/include/ -ftemplate-depth=1000
--------------------------------------------------------------------------------
/sysdeps/Linux.inc:
--------------------------------------------------------------------------------
1 | CXX2014FLAGS=-std=gnu++17
2 | STATICFLAGS ?=-Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic -static-libgcc -lm -lc
3 |
--------------------------------------------------------------------------------
/testrunner.cc:
--------------------------------------------------------------------------------
1 | #define BOOST_TEST_DYN_LINK
2 | #define BOOST_TEST_MAIN
3 | #define BOOST_TEST_MODULE unit
4 |
5 | #include
6 |
--------------------------------------------------------------------------------
/antonie.hh:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 |
4 | typedef uint32_t dnapos_t;
5 | extern unsigned int dnanpos;
6 | extern const char* phiXFastA;
7 |
--------------------------------------------------------------------------------
/ccan/build_assert/test/compile_ok.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | BUILD_ASSERT(1 == 1);
6 | return 0;
7 | }
8 |
--------------------------------------------------------------------------------
/compat.hh:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #ifdef _WIN32
3 | #define getcwd(x,y) GetCurrentDirectory((y),(x))
4 | #else
5 | #include
6 | #include
7 | #endif
8 |
9 |
10 |
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/animated-overlay.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/animated-overlay.gif
--------------------------------------------------------------------------------
/ccan/build_assert/test/compile_fail.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | #ifdef FAIL
6 | BUILD_ASSERT(1 == 0);
7 | #endif
8 | return 0;
9 | }
10 |
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_222222_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_222222_256x240.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled Object files
2 | *.slo
3 | *.lo
4 | *.o
5 |
6 | # Compiled Dynamic libraries
7 | *.so
8 | *.dylib
9 |
10 | # Compiled Static libraries
11 | *.lai
12 | *.la
13 | *.a
14 |
15 | # other
16 | *.d
17 | *~
18 |
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
--------------------------------------------------------------------------------
/ccan/build_assert/test/compile_fail-expr.c:
--------------------------------------------------------------------------------
1 | #include
2 |
3 | int main(int argc, char *argv[])
4 | {
5 | #ifdef FAIL
6 | return BUILD_ASSERT_OR_ZERO(1 == 0);
7 | #else
8 | return 0;
9 | #endif
10 | }
11 |
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
--------------------------------------------------------------------------------
/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/berthubert/antonie/master/ext/html/jquery-ui-1.10.4.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
--------------------------------------------------------------------------------
/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int main(int argc, char *argv[])
5 | {
6 | plan_tests(1);
7 | ok1(BUILD_ASSERT_OR_ZERO(1 == 1) == 0);
8 | return exit_status();
9 | }
10 |
--------------------------------------------------------------------------------
/invert.cc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "misc.hh"
3 | using namespace std;
4 |
5 | int main(int argc, char**argv)
6 | {
7 | for(int n = 1 ; n < argc; ++n) {
8 | string nucs(argv[n]);
9 | reverseNucleotides(&nucs);
10 | cout<
3 | #include "fastqindex.hh"
4 |
5 | std::string doStitch(const std::map > >& fhpos,
6 | const std::string& startseed_,
7 | const std::string& endseed, unsigned int maxlen, int chunklen, bool verbose);
8 | int dnaDiff(const std::string& a, const std::string& b);
9 |
--------------------------------------------------------------------------------
/update-git-hash-if-necessary:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | HASH=$(git describe --always --dirty=+ | tr -d '\n')
3 |
4 | echo \#define GIT_HASH \"$HASH\" > githash.h.tmp
5 | echo $HASH > githash
6 |
7 | cmp -s githash.h githash.h.tmp > /dev/null
8 |
9 | if [ "$?" -ne "0" ]
10 | then
11 | mv githash.h.tmp githash.h
12 | echo updated githash.h
13 | else
14 | rm githash.h.tmp
15 | fi
16 |
17 |
18 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: cpp
2 | compiler:
3 | - gcc
4 | - clang
5 | before_script:
6 | - sudo apt-get update
7 | - sudo apt-get install libboost-test-dev libz-dev
8 | - wget http://ds9a.nl/antonie/test-files.tar.bz2
9 | - tar xf test-files.tar.bz2
10 | script:
11 | - make -j 4
12 | - make -j 4 check
13 | - ./testrun.sh
14 | notifications:
15 | email:
16 | - bert.hubert@netherlabs.nl
17 |
18 |
--------------------------------------------------------------------------------
/ext/libmba/mba/iterator.h:
--------------------------------------------------------------------------------
1 | #ifndef MBA_ITERATOR_H
2 | #define MBA_ITERATOR_H
3 |
4 | /* iter - container for iterator state
5 | */
6 |
7 | typedef struct _iter {
8 | unsigned long i1;
9 | unsigned long i2;
10 | unsigned long i3;
11 | void *p;
12 | } iter_t;
13 |
14 | typedef void (*iterate_fn)(void *obj, iter_t *iter);
15 | typedef void *(*iterate_next_fn)(void *obj, iter_t *iter);
16 |
17 | #endif /* MBA_ITERATOR_H */
18 |
--------------------------------------------------------------------------------
/ext/html/nvd3/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Jekyll Files #
3 | ################
4 | _site
5 |
6 |
7 | # Random Files #
8 | ################
9 | *.swp
10 | *~
11 | *.log
12 |
13 |
14 | # Private Test Data #
15 | #####################
16 | *REALDATA*
17 |
18 |
19 | # OS generated files #
20 | ######################
21 | .DS_Store*
22 | ehthumbs.db
23 | Icon?
24 | Thumbs.db
25 | # nodejs packages #
26 | ######################
27 | node_modules
28 |
--------------------------------------------------------------------------------
/testrun.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | rm -f data.js loci.0.js
4 | ./antonie -1 sbw25/P1-1-35_S5_L001_R1_001.fastq -2 sbw25/P1-1-35_S5_L001_R2_001.fastq -r sbw25/NC_012660.fna -a sbw25/NC_012660.gbk
5 |
6 | if grep 895351 data.js -q
7 | then
8 | echo Found SNP 895151
9 | else
10 | echo missed SNP 895151
11 | exit 1
12 | fi
13 |
14 | if grep YP_002874253.1 data.js -q
15 | then
16 | echo Found YP_002874253.1
17 | else
18 | echo missed YP_002874253.1
19 | exit 1
20 | fi
21 |
22 |
23 | exit 0
24 |
--------------------------------------------------------------------------------
/test-saminfra_cc.cc:
--------------------------------------------------------------------------------
1 | #include
2 | #include "saminfra.hh"
3 | BOOST_AUTO_TEST_SUITE(saminfra_hh)
4 | using std::string;
5 |
6 | BOOST_AUTO_TEST_CASE(test_bamCompress) {
7 | BOOST_CHECK_EQUAL(bamCompress("AAAA"), string("\x11\x11", 2));
8 | BOOST_CHECK_EQUAL(bamCompress("CCCC"), string("\x22\x22", 2));
9 | BOOST_CHECK_EQUAL(bamCompress("ACACACAC"), string("\x12\x12\x12\x12", 4));
10 | BOOST_CHECK_EQUAL(bamCompress("NNNN"), string("\xff\xff", 2));
11 | BOOST_CHECK_EQUAL(bamCompress("PPPP"), string("\xff\xff", 2));
12 | }
13 |
14 |
15 | BOOST_AUTO_TEST_SUITE_END()
16 |
--------------------------------------------------------------------------------
/16ssearcher.hh:
--------------------------------------------------------------------------------
1 | #pragma once
2 | #include
3 | #include
4 | #include
5 | #include
83 |
84 |
85 |
86 |
87 |
88 |
94 |
95 |
98 |
99 |
100 |
120 |
121 |