Changeset 2943
- Timestamp:
- Jan 4, 2013, 7:38:38 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 28 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/0.10-stable (added) merged: 2920,2922-2926,2928-2931,2933-2941
- Property svn:mergeinfo changed
-
trunk/Makefile.am
r2853 r2943 94 94 esac 95 95 96 maintainer-check-local: mc_installcheck yat-pc-check 96 maintainer-check-local: mc_installcheck yat-pc-check mc_without_samtools 97 97 98 98 mc_installcheck: … … 167 167 168 168 include $(srcdir)/am/maintainer.am 169 170 # run within maintainer-check 171 # try ./configure --without-samtools; make; make check 172 mc_without_samtools: 173 @rm -rf _mc_without_samtools 174 mkdir _mc_without_samtools 175 cd _mc_without_samtools \ 176 && ../$(srcdir)/configure $(DISTCHECK_CONFIGURE_FLAGS) --without-samtools \ 177 && $(MAKE) $(AM_MAKEFLAGS) && $(MAKE) check $(AM_MAKEFLAGS) -
trunk/NEWS
r2921 r2943 10 10 yat 0.10.x series from http://dev.thep.lu.se/yat/svn/branches/0.10-stable 11 11 12 version 0.10 (released NOT YET) 12 version 0.10 (released 4 January 2013) 13 - samtools wrapper classes (ticket #729) 14 - new utility functions (ticket #717) 13 15 14 16 A complete list of closed tickets can be found here [[br]] … … 290 292 Copyright (C) 2010, 2011 Peter Johansson 291 293 Copyright (C) 2012 Jari Häkkinen, Peter Johansson 294 Copyright (C) 2013 Peter Johansson 292 295 293 296 This file is part of yat library, http://dev.thep.lu.se/yat -
trunk/README
r2916 r2943 102 102 == Optional packages == 103 103 104 === Samtools === 105 106 Samtools available from http://samtools.sourceforge.net/ is required 107 to enable classes related to bam files. You can build yat without 108 samtools if you run configure with `--without-samtools`, in which case 109 bam related classes are not included in built library. Header files 110 <sam.h> and <bam.h> are needed as well as library libbam. If you have 111 header files available outside compiler's search path, you can help 112 the compiler with `./configure CPPFLAGS=-I<include dir>` when header 113 files are found in directory `<include dir>`. Likewise, you can run 114 `./configure LDFLAGS=-L<lib dir>` when library is found in `<lib dir>` 115 outside linker's search path. In order to run tests related to bam 116 files, the samtools binary is also needed. If not found during 117 configuration, these tests will be skipped. If you have samtools 118 available outside PATH, you can help configure to find it with 119 `./configure SAMTOOLS=/path/to/samtools`. 120 121 === ZLIB === 122 123 Zlib available from http://www.zlib.net/ is required to build samtools 124 and consequently needed to build yat too, unless you turn off samtools 125 support (please refer to samtools section above). Header file `zlib.h` 126 and library libz are required. If installed in an unconventional 127 location you can help the compiler/linker with `CPPFLAGS=-I<include 128 dir>` and `LDFLAGS=-L<lib dir>`, respectively. 129 104 130 === ATLAS === 105 131 -
trunk/README.developer
r2787 r2943 59 59 way but there is still some work to do before we do exceptions in a neutral way. 60 60 61 === Samtools === 62 63 Code that depends on samtools API should be excluded from the build 64 when configured --without-samtools, i.e., put files within 65 `HAVE_LIBBAM` conditionals (or alternatively put code inside `#ifdef 66 HAVE_SAMTOOL` preprocessor conditionals). In order to support multiple 67 inclusion styles we do not include <bam.h> directly, but `#include 68 <config_bam.h>` and `#include YAT_BAM_HEADER`. Similarly, for `<sam.h>` 69 include `YAT_SAM_HEADER`. For more details on this, refer to 70 `yat/omic/config_bam.h`. 71 61 72 === Doxygen === 62 73 We generate our documentation using [http://www.doxygen.org Doxygen] -
trunk/configure.ac
r2891 r2943 289 289 AC_CHECK_LIB([z], [inflateEnd], [], 290 290 [YAT_MSG_ERROR([Library 'libz' was not found])]) 291 AC_CHECK_HEADER([bam.h], [], 292 [YAT_MSG_ERROR([Header file 'bam.h' was not found])]) 291 YAT_CHECK_HEADER_BAM([],[YAT_MSG_ERROR([Header file 'bam.h' was not found])]) 293 292 # try link against libbam 294 YAT_CHECK_LIBBAM([LIBS="$BAM_LIBS $LIBS"], 293 YAT_CHECK_LIBBAM([LIBS="$BAM_LIBS $LIBS" 294 AC_DEFINE([HAVE_LIBBAM], [1], 295 [Define to 1 if libbam is available])], 295 296 [YAT_MSG_ERROR([Library 'libbam' was not found])]) 296 297 AC_PATH_PROG([SAMTOOLS], [samtools], [false]) -
trunk/m4/version.m4
r2921 r2943 2 2 # 3 3 # Copyright (C) 2008, 2009 Jari Häkkinen, Peter Johansson 4 # Copyright (C) 2010, 2011, 2012 Peter Johansson4 # Copyright (C) 2010, 2011, 2012, 2013 Peter Johansson 5 5 # 6 6 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 69 69 # yat-0.9.1 6:1:0 70 70 # yat-0.9.2 6:2:0 71 # yat-0.10 7:0:0 71 72 # 72 73 # *Accidently, the libtool number was not updated for yat 0.5 -
trunk/m4/yat_check_libbam.m4
r2919 r2943 21 21 # along with yat. If not, see <http://www.gnu.org/licenses/>. 22 22 23 # YAT_CHECK_HEADER_BAM([action-if-found], [action-if-not-found]) 24 # ============================================================== 25 # 26 AC_DEFUN([YAT_CHECK_HEADER_BAM], 27 [ 28 yat_bam_header=no 29 # check how to #include <bam.h> 30 AC_CHECK_HEADERS([bam/bam.h bam.h samtools/bam.h bam.h], 31 [yat_bam_header=yes; break]) 32 AS_IF([test x$yat_bam_header = xyes], [$1], [$2]) 33 ]) # YAT_CHECK_HEADER_BAM 34 23 35 24 36 # YAT_CHECK_LIBBAM([action-if-found], [action-if-not-found]) … … 27 39 AC_DEFUN([YAT_CHECK_LIBBAM], 28 40 [ 41 AC_REQUIRE([YAT_CHECK_HEADER_BAM]) 29 42 BAM_LIBS=no 30 43 AC_MSG_CHECKING([for library containing bam_header_destroy]) … … 39 52 AC_MSG_RESULT([$BAM_LIBS]) 40 53 ]) 41 AS_IF([test x"$BAM_LIBS" = false], [$2], [$1])54 AS_IF([test x"$BAM_LIBS" = xno], [$2], [$1]) 42 55 ]) # YAT_CHECK_LIBBAM 43 56 … … 51 64 save_LIBS=$LIBS 52 65 LIBS="$1 $LIBS" 53 AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@include <bam.h>], 54 [bam_header_t* hdr = bam_header_init(); 66 AC_LINK_IFELSE([AC_LANG_PROGRAM([@%:@if HAVE_BAM_H 67 @%:@ include <bam.h> 68 @%:@elif HAVE_BAM_BAM_H 69 @%:@ include <bam/bam.h> 70 @%:@elif HAVE_SAMTOOLS_BAM_H 71 @%:@ include <samtools/bam.h> 72 @%:@endif 73 ],[ 74 bam_header_t* hdr = bam_header_init(); 55 75 bam_header_destroy(hdr); 56 76 ])], -
trunk/test/Makefile.am
r2932 r2943 249 249 CLEANFILES += test/data/.dirstamp 250 250 CLEANFILES += test/data/foo.bam 251 CLEANFILES += test/data/foo.s upported.bam252 CLEANFILES += test/data/foo.s upported.bam.bai251 CLEANFILES += test/data/foo.sorted.bam 252 CLEANFILES += test/data/foo.sorted.bam.bai 253 253 254 254 check_DATA = test/data/foo.sorted.bam … … 260 260 261 261 if HAVE_SAMTOOLS 262 test/data/foo.bam: test/data/foo.sam test/data/.dirstamp 263 $(SAMTOOLS) view -Sb $(srcdir)/test/data/foo.sam -o$@262 test/data/foo.bam: test/data/foo.sam test/data/.dirstamp Makefile 263 $(SAMTOOLS) view -Sb $(srcdir)/test/data/foo.sam > $@-t && mv $@-t $@ 264 264 265 265 test/data/foo.sorted.bam: test/data/foo.bam … … 269 269 $(SAMTOOLS) index test/data/foo.sorted.bam 270 270 else 271 test/data/foo.sorted.bam:; : > $@ 272 test/data/foo.sorted.bam.bai:; : > $@ 271 test/data/foo.sorted.bam: test/data/.dirstamp 272 : > $@ 273 274 test/data/foo.sorted.bam.bai: test/data/.dirstamp 275 : > $@ 273 276 endif -
trunk/test/Suite.h
r2649 r2943 6 6 /* 7 7 Copyright (C) 2008 Jari Häkkinen, Peter Johansson 8 Copyright (C) 2009, 2010, 2011 Peter Johansson8 Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson 9 9 10 10 This file is part of the yat library, http://dev.thep.lu.se/yat … … 25 25 26 26 #define YAT_TEST_PROLOGUE "\n=== " << __func__ << " ===\n" 27 28 // used to tell automake that test should be skipped 29 #define EXIT_SKIP 77 27 30 28 31 #include <yat/utility/VectorMutable.h> -
trunk/test/bam_iterator.cc
r2895 r2943 20 20 #include "Suite.h" 21 21 22 #ifdef HAVE_LIBBAM 22 23 #include "yat/omic/BamFile.h" 23 24 #include "yat/omic/BamRead.h" 24 25 #include "yat/omic/BamReadIterator.h" 25 26 #include "yat/omic/BamWriteIterator.h" 27 #endif 26 28 27 29 #include <algorithm> 28 30 #include <cassert> 29 31 #include <fstream> 30 #include <iostream>31 32 #include <string> 32 33 33 34 using namespace theplu::yat; 35 36 void test1(test::Suite& suite); 37 38 int main(int argc, char* argv[]) 39 { 40 test::Suite suite(argc, argv); 41 #ifndef HAVE_LIBBAM 42 suite.out() << "no libbam\n"; 43 return EXIT_SKIP; 44 #endif 45 #ifndef HAVE_SAMTOOLS 46 suite.out() << "no samtools\n"; 47 return EXIT_SKIP; 48 #endif 49 test1(suite); 50 return suite.return_value(); 51 } 52 53 #ifdef HAVE_LIBBAM 34 54 using namespace omic; 35 55 … … 79 99 }; 80 100 81 int main(int argc, char* argv[]) 101 102 void test1(test::Suite& suite) 82 103 { 83 #ifndef HAVE_SAMTOOLS84 return EXIT_SKIP;85 #endif86 test::Suite suite(argc, argv);87 88 104 std::string file = "../../data/foo.sorted.bam"; 89 105 … … 99 115 in.open(file); 100 116 size_t n1 = std::distance(BamReadIterator(in), BamReadIterator()); 101 s td::cout<< "entries in " << file << ": " << n1 << "\n";117 suite.out() << "entries in " << file << ": " << n1 << "\n"; 102 118 in.close(); 103 119 … … 105 121 size_t n2 = std::distance(BamReadIterator(copy), BamReadIterator()); 106 122 copy.close(); 107 s td::cout<< "entries in " << outname << ": " << n2 << "\n";123 suite.out() << "entries in " << outname << ": " << n2 << "\n"; 108 124 if (n1!=n2) { 109 s td::cout<< "error: not same number of entries in copy\n";110 exit(1);125 suite.out() << "error: not same number of entries in copy\n"; 126 suite.add(false); 111 127 } 112 128 … … 115 131 if (!std::equal(BamReadIterator(in), BamReadIterator(), 116 132 BamReadIterator(copy), BamReadEqual())) { 117 s td::cout<< "error: " << file << " and " << outname << " not equal\n";118 exit(1);133 suite.out() << "error: " << file << " and " << outname << " not equal\n"; 134 suite.add(false); 119 135 } 120 136 copy.close(); 121 137 in.close(); 122 138 unlink(outname.c_str()); 123 std::cout << "OK\n";124 return 0;125 139 } 140 #endif -
trunk/test/bam_pair_analyse.cc
r2902 r2943 20 20 #include "Suite.h" 21 21 22 using namespace theplu::yat; 23 24 #if HAVE_LIBBAM 22 25 #include "yat/omic/algorithm.h" 23 26 #include "yat/omic/BamRead.h" 24 27 #include "yat/omic/BamReadIterator.h" 28 #endif 25 29 26 using namespace theplu::yat; 30 void test1(test::Suite& suite); 31 32 int main(int argc, char* argv[]) 33 { 34 test::Suite suite(argc, argv); 35 #ifndef HAVE_LIBBAM 36 suite.out() << "no libbam\n"; 37 return EXIT_SKIP; 38 #endif 39 #ifndef HAVE_SAMTOOLS 40 suite.out() << "no samtools available\n"; 41 return EXIT_SKIP; 42 #endif 43 44 #ifdef HAVE_LIBBAM 45 test1(suite); 46 #endif 47 return suite.return_value(); 48 } 49 50 51 #ifdef HAVE_LIBBAM 27 52 using namespace omic; 28 53 … … 39 64 }; 40 65 41 42 int main(int argc, char* argv[]) 66 void test1(test::Suite& suite) 43 67 { 44 #ifndef HAVE_SAMTOOLS45 return EXIT_SKIP;46 #endif47 test::Suite suite(argc, argv);48 49 68 std::string file = "../../data/foo.sorted.bam"; 50 69 … … 54 73 Counter counter; 55 74 bam_pair_analyse(iter, end, counter); 56 57 75 suite.out() << counter.n_ << "\n"; 58 59 76 suite.add(counter.n_==395); 60 61 77 is.close(); 62 return suite.return_value();63 78 } 79 #endif -
trunk/test/bam_region_iterator.cc
r2895 r2943 20 20 #include "Suite.h" 21 21 22 #ifdef HAVE_LIBBAM 22 23 #include "yat/omic/BamReadIterator.h" 23 24 #include "yat/omic/BamWriteIterator.h" 25 #include "yat/omic/config_bam.h" 26 #endif 24 27 25 #include <bam.h> 28 #ifdef YAT_BAM_HEADER 29 #include YAT_BAM_HEADER 30 #endif 26 31 27 32 #include <algorithm> … … 32 37 33 38 using namespace theplu::yat; 34 using namespace theplu::yat::omic; 39 40 void test1(test::Suite& suite); 41 int main(int argc, char* argv[]) 42 { 43 test::Suite suite(argc, argv); 44 #ifndef HAVE_LIBBAM 45 suite.out() << "no libbam\n"; 46 return EXIT_SKIP; 47 #endif 48 #ifndef HAVE_SAMTOOLS 49 suite.out() << "no samtools\n"; 50 return EXIT_SKIP; 51 #endif 52 53 try { 54 test1(suite); 55 } 56 catch (std::runtime_error& e) { 57 suite.err() << "what: " << e.what() << "\n"; 58 suite.add(false); 59 } 60 61 return suite.return_value(); 62 } 35 63 36 64 void test1(test::Suite& suite) 37 65 { 66 #ifdef HAVE_LIBBAM 67 using namespace omic; 38 68 std::string file = "../../data/foo.sorted.bam"; 39 69 … … 63 93 suite.err() << "count: " << count << "\nexpected: 185\n"; 64 94 suite.add(false); 95 #endif 65 96 } 66 67 68 int main(int argc, char* argv[])69 {70 #ifndef HAVE_SAMTOOLS71 return EXIT_SKIP;72 #endif73 test::Suite suite(argc, argv);74 75 try {76 test1(suite);77 }78 catch (std::runtime_error& e) {79 suite.err() << "what: " << e.what() << "\n";80 suite.add(false);81 }82 83 return suite.return_value();84 } -
trunk/test/common_defs.sh.in
r2927 r2943 2 2 # $Id$ 3 3 4 # Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson4 # Copyright (C) 2009, 2010, 2011, 2012, 2013 Peter Johansson 5 5 # 6 6 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 115 115 @MKDIR_P@ --verbose $test_dir 116 116 117 # Taken from Automake 1.11 tests/defs.sh.in 118 119 # Unset some MAKE... variables that may cause 'make' to act like a 120 # recursively invoked sub-make. Any 'make' invocation in a test is 121 # conceptually an independent invocation, not part of the main 122 # 'yat' build. 123 unset MFLAGS 124 unset MAKEFLAGS 125 unset MAKELEVEL 126 unset DESTDIR 127 unset V 128 unset TESTS 129 unset TEST_LOGS 130 unset RECHECK_LOGS 131 unset VERBOSE 132 117 133 cd $test_dir 118 134 -
trunk/test/rng-mt.cc
r2881 r2943 2 2 3 3 /* 4 Copyright (C) 2012 Peter Johansson4 Copyright (C) 2012, 2013 Peter Johansson 5 5 6 6 This file is part of the yat library, http://dev.thep.lu.se/yat … … 29 29 30 30 #include <algorithm> 31 #include <cstdlib> 31 32 #include <iostream> 32 33 #include <iterator> 34 #include <stdexcept> 33 35 #include <vector> 34 36 … … 44 46 void operator()(void) 45 47 { 46 for (std::vector<int>::iterator i=begin_; i!=end_; ++i) 47 *i = rnd_(100); 48 try { 49 for (std::vector<int>::iterator i=begin_; i!=end_; ++i) 50 *i = rnd_(100); 51 } 52 catch (std::exception& e) { 53 std::cerr << e.what() << "\n"; 54 exit(EXIT_FAILURE); 55 } 48 56 } 49 57 … … 87 95 suite.out() << "\ny: "; 88 96 std::copy(y.begin(), y.end(), std::ostream_iterator<int>(suite.out(), " ")); 89 suite.out() << "\n";97 suite.out() << std::endl; 90 98 91 99 if (x==y) { … … 93 101 suite.err() << "x and y are equal\n"; 94 102 } 103 } 95 104 105 106 std::vector<int> rnd_vec(void) 107 { 108 std::vector<int> x(10); 109 Visitor visitor1(x); 110 boost::thread_group threads; 111 threads.create_thread(visitor1); 112 threads.join_all(); 113 return x; 96 114 } 97 115 … … 102 120 // test that we get same number with same seed 103 121 RNG::instance()->seed(0); 104 std::vector<int> x(10); 105 Visitor visitor1(x); 106 boost::thread_group threads; 107 threads.create_thread(visitor1); 108 threads.join_all(); 109 std::vector<int> y(x); 122 std::vector<int> y = rnd_vec(); 123 suite.out() << "y: "; 124 std::copy(y.begin(), y.end(), std::ostream_iterator<int>(suite.out(), " ")); 125 suite.out() << std::endl; 126 110 127 RNG::instance()->seed(0); 111 threads.create_thread(visitor1); 112 threads.join_all(); 128 std::vector<int> x = rnd_vec(); 113 129 suite.out() << "x: "; 114 130 std::copy(x.begin(), x.end(), std::ostream_iterator<int>(suite.out(), " ")); 115 suite.out() << "\ny: "; 116 std::copy(y.begin(), y.end(), std::ostream_iterator<int>(suite.out(), " ")); 117 suite.out() << "\n"; 131 suite.out() << std::endl; 118 132 if (x!=y) { 119 133 suite.add(false); … … 135 149 Visitor visitor(x); 136 150 visitor(); 137 138 std::vector<int> y(x);139 Visitor visitor1(y);140 boost::thread_group threads;141 threads.create_thread(visitor1);142 threads.join_all();143 144 151 suite.out() << "x: "; 145 152 std::copy(x.begin(), x.end(), std::ostream_iterator<int>(suite.out(), " ")); 146 suite.out() << "\ny: "; 153 suite.out() << std::endl; 154 155 std::vector<int> y = rnd_vec(); 156 suite.out() << "y: "; 147 157 std::copy(y.begin(), y.end(), std::ostream_iterator<int>(suite.out(), " ")); 148 suite.out() << "\n";158 suite.out() << std::endl; 149 159 150 160 if (x==y) { -
trunk/test/utility.cc
r2908 r2943 4 4 Copyright (C) 2006 Jari Häkkinen, Markus Ringnér 5 5 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 6 Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson 6 Copyright (C) 2009, 2010, 2011 Peter Johansson 7 Copyright (C) 2012 Jari Häkkinen, Peter Johansson 7 8 8 9 This file is part of the yat library, http://dev.thep.lu.se/yat … … 36 37 #include <boost/concept_archetype.hpp> 37 38 39 #include <cassert> 38 40 #include <cerrno> 39 41 #include <fstream> -
trunk/test/version.cc
r2919 r2943 49 49 suite.out() << " patch: " << patch_version() << "\n"; 50 50 51 suite.add(YAT_VERSION == version()); 52 51 53 suite.out() << "Boost API version: " << BOOST_LIB_VERSION << "\n"; 52 54 suite.out() << "GSL API version: " << GSL_VERSION << "\n"; -
trunk/yat/omic/BamFile.cc
r2897 r2943 20 20 #include "BamFile.h" 21 21 #include "BamHeader.h" 22 #include "config_bam.h" 22 23 23 24 #include "yat/utility/Exception.h" 24 25 25 #include <bam.h>26 #include YAT_BAM_HEADER 26 27 27 28 #include <stdexcept> -
trunk/yat/omic/BamFile.h
r2897 r2943 21 21 #include "BamHeader.h" 22 22 #include "BamRead.h" 23 #include "config_bam.h" 23 24 24 25 #include "yat/utility/Exception.h" 25 26 26 #include <sam.h>27 #include YAT_SAM_HEADER 27 28 28 29 #include <boost/utility.hpp> -
trunk/yat/omic/BamHeader.h
r2884 r2943 19 19 // along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 21 #include <bam.h> 21 #include "config_bam.h" 22 23 #include YAT_BAM_HEADER 22 24 23 25 namespace theplu { -
trunk/yat/omic/BamRead.cc
r2886 r2943 19 19 20 20 #include "BamRead.h" 21 22 #include <bam.h> 21 #include "config_bam.h" 22 23 #include YAT_BAM_HEADER 23 24 24 25 #include <algorithm> -
trunk/yat/omic/BamRead.h
r2911 r2943 19 19 // along with this program. If not, see <http://www.gnu.org/licenses/>. 20 20 21 #include <sam.h> 22 #include <bam.h> 21 #include "config_bam.h" 22 23 #include YAT_BAM_HEADER 24 #include YAT_SAM_HEADER 23 25 24 26 #include <functional> -
trunk/yat/omic/BamReadIterator.h
r2896 r2943 21 21 #include "BamFile.h" 22 22 #include "BamRead.h" 23 #include "config_bam.h" 23 24 24 #include <sam.h>25 #include YAT_SAM_HEADER 25 26 26 27 #include <boost/iterator/iterator_facade.hpp> -
trunk/yat/omic/BamWriteIterator.cc
r2883 r2943 19 19 20 20 #include "BamFile.h" 21 #include "config_bam.h" 21 22 22 #include <sam.h>23 #include YAT_SAM_HEADER 23 24 24 25 #include <cassert> -
trunk/yat/omic/Makefile.am
r2932 r2943 39 39 nobase_include_HEADERS += $(srcdir)/yat/omic/BamReadIterator.h 40 40 nobase_include_HEADERS += $(srcdir)/yat/omic/BamWriteIterator.h 41 nobase_include_HEADERS += $(srcdir)/yat/omic/config_bam.h 41 42 endif 42 43 nobase_include_HEADERS += $(srcdir)/yat/omic/Codon.h -
trunk/yat/utility/config_public.h.in
r2673 r2943 6 6 /* 7 7 Copyright (C) 2008 Jari Häkkinen, Peter Johansson 8 Copyright (C) 2009, 2011 Peter Johansson8 Copyright (C) 2009, 2011, 2012 Peter Johansson 9 9 10 10 This file is part of the yat library, http://dev.thep.lu.se/yat … … 28 28 /// 29 29 30 /// Define to 1 if you have the <bam/bam.h> header file. 31 #undef HAVE_BAM_BAM_H 32 33 /// Define to 1 if you have the <bam.h> header file. 34 #undef HAVE_BAM_H 35 36 /// Define if samtools executable is available 37 #undef HAVE_SAMTOOLS 38 30 39 /// Define if compiler supports deprecated attribute, as in g++ 4.0 31 40 #undef YAT_HAVE_GCC_DEPRECATED -
trunk/yat/utility/utility.cc
r2919 r2943 4 4 Copyright (C) 2005, 2006 Jari Häkkinen, Markus Ringnér 5 5 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 6 Copyright (C) 2010, 2012 Peter Johansson 6 Copyright (C) 2010 Peter Johansson 7 Copyright (C) 2012 Jari Häkkinen, Peter Johansson 7 8 8 9 This file is part of the yat library, http://dev.thep.lu.se/yat … … 30 31 #include "stl_utility.h" 31 32 33 #include <cassert> 32 34 #include <fnmatch.h> 33 35 #include <fstream> -
trunk/yat/utility/utility.h
r2908 r2943 8 8 Copyright (C) 2006 Jari Häkkinen 9 9 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 10 Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson10 Copyright (C) 2009, 2010, 2011, 2012, 2013 Peter Johansson 11 11 12 12 This file is part of the yat library, http://dev.thep.lu.se/yat … … 335 335 \see http://linux.die.net/man/3/mkdir 336 336 337 \throw if creation failed337 \throw runtime_error if creation failed 338 338 */ 339 339 void mkdir(const std::string& dir, mode_t mode=0777);
Note: See TracChangeset
for help on using the changeset viewer.