Changeset 4019
- Timestamp:
- Nov 6, 2020, 2:55:37 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/0.18-stable (added) merged: 4000,4006-4008,4012-4017
- Property svn:mergeinfo changed
-
trunk/NEWS
r4001 r4019 10 10 yat 0.18.x series from http://dev.thep.lu.se/yat/svn/branches/0.18-stable 11 11 12 version 0.18 (released NOT YET)12 version 0.18 (released 6 November 2020) 13 13 - regression::NegativeBinomial now inherits from 14 14 regression::Multivariate (ticket #957) -
trunk/build_support/Makefile.am
r3987 r4019 89 89 --exec-prefix="$(exec_prefix)" \ 90 90 --libdir="$(libdir)" --includedir="$(includedir)" \ 91 --input=" ../$(srcdir)/build_support/yat.pc.in" > yat.pc-t \91 --input="$(abs_srcdir)/build_support/yat.pc.in" > yat.pc-t \ 92 92 && mv yat.pc-t yat.pc -
trunk/doc/Makefile.am
r3987 r4019 47 47 EXTRA_DIST += doc/doxygen.config.in 48 48 49 doc/doxygen.config: doc/doxygen.config.in 49 # config file needs to be updated when $(DOXYGEN_INPUT) is 50 # changed. That variable is set in various Makefile.am, but instead we 51 # depend on Makefile.in, since that dependency is easier to maintain. 52 doc/doxygen.config: doc/doxygen.config.in $(srcdir)/Makefile.in 50 53 $(AM_V_GEN)echo "# $@ generated by make from doc/doxygen.config.in." \ 51 54 > $@-t \ -
trunk/m4/version.m4
r4001 r4019 95 95 # yat-0.17.1 14:1:0 96 96 # yat-0.17.2 14:2:0 97 # yat-0.18 15:0:0 97 98 # 98 99 # *Accidently, the libtool number was not updated for yat 0.5 -
trunk/m4/yat_check_libs.m4
r3884 r4019 1 1 ## $Id$ 2 2 # 3 # serial 2(yat 0.18)3 # serial 3 (yat 0.18) 4 4 # 5 5 # see http://www.gnu.org/software/automake/manual/automake.html#Serials … … 42 42 AC_DEFUN([YAT_CHECK_LIBS], 43 43 [ 44 m4_pushdef([yat_message], [$1]) 45 m4_pushdef([yat_cache], [$2]) 46 m4_pushdef([yat_search_libs], [$3]) 44 m4_pushdef([yat_MESSAGE], [$1]) 45 m4_pushdef([yat_CACHE], [$2]) 46 m4_pushdef([yat_SEARCH_LIBS], [$3]) 47 m4_pushdef([yat_DEFAULT_RESULT], ["none required"]) 47 48 AC_LANG_CONFTEST([$4]) 48 AC_CACHE_CHECK([yat_ message], [$2], [49 AC_CACHE_CHECK([yat_MESSAGE], [yat_CACHE], [ 49 50 save_LIBS=$LIBS 50 for yat_lib in '' yat_ search_libs; do51 for yat_lib in '' yat_SEARCH_LIBS; do 51 52 AS_VAR_IF([yat_lib], [''],[ 52 yat_result= "non required"53 yat_result=yat_DEFAULT_RESULT 53 54 ], [ 54 55 yat_result=-l$yat_lib 55 56 LIBS="-l$yat_lib $save_LIBS" 56 57 ]) 57 AC_LINK_IFELSE([], [yat_ cache=$yat_result])58 AS_VAR_SET_IF([yat_ cache], [break])58 AC_LINK_IFELSE([], [yat_CACHE=$yat_result]) 59 AS_VAR_SET_IF([yat_CACHE], [break]) 59 60 done 60 AS_VAR_SET_IF([yat_ cache], [], [yat_cache=no])61 AS_VAR_SET_IF([yat_CACHE], [], [yat_CACHE=no]) 61 62 rm conftest.$ac_ext 62 63 LIBS=$save_LIBS 63 64 ]) 64 yat_result=$yat_ cache65 yat_result=$yat_CACHE 65 66 66 67 # action 67 68 AS_VAR_IF([yat_result], [no], [$6], [ 68 AS_VAR_IF([yat_result], ["none required"], [], [LIBS="$yat_result $LIBS"]) 69 AS_VAR_IF([yat_result], [yat_DEFAULT_RESULT], [], 70 [LIBS="$yat_result $LIBS"]) 69 71 $5 70 72 ]) 71 73 72 73 m4_popdef([yat_ message])74 m4_popdef([yat_ cache])75 m4_popdef([yat_ search_libs])74 m4_popdef([yat_MESSAGE]) 75 m4_popdef([yat_CACHE]) 76 m4_popdef([yat_SEARCH_LIBS]) 77 m4_popdef([yat_DEFAULT_RESULT]) 76 78 ]) -
trunk/test/Makefile.am
r3987 r4019 101 101 test/poisson.test \ 102 102 test/queue.test test/queue2.test \ 103 test/random_distribution.test \104 103 test/range.test test/regression.test test/rnd.test \ 105 104 test/rng-mt.test \ -
trunk/test/yat_pc_test.sh
r3966 r4019 81 81 CXX = `yat-config --cxx` 82 82 # add -I flags to include local header files; 2nd term needed for VPATH build 83 CPPFLAGS = -I$abs_top_srcdir -I$abs_top_builddir/yat/utility \ 83 CPPFLAGS = -I$abs_top_srcdir -I$abs_top_builddir \ 84 -I$abs_top_builddir/yat/utility \ 84 85 `$PKG_CONFIG yat --cflags-only-I` 85 86 CXXFLAGS = `$PKG_CONFIG yat --cflags-only-other` -
trunk/yat/classifier/KernelLookup.h
r3330 r4019 8 8 Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér 9 9 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 10 Copyright (C) 2010, 2012 Peter Johansson10 Copyright (C) 2010, 2012, 2020 Peter Johansson 11 11 12 12 This file is part of the yat library, http://dev.thep.lu.se/yat … … 32 32 #include "yat/utility/StrideIterator.h" 33 33 34 #include < boost/shared_ptr.hpp>34 #include <memory> 35 35 36 36 namespace theplu { … … 324 324 325 325 utility::Index column_index_; 326 boost::shared_ptr<const Kernel> kernel_;326 std::shared_ptr<const Kernel> kernel_; 327 327 utility::Index row_index_; 328 328 }; // class KernelLookup -
trunk/yat/classifier/MatrixLookup.h
r3330 r4019 8 8 Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér 9 9 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 10 Copyright (C) 2009, 2010, 2012 Peter Johansson10 Copyright (C) 2009, 2010, 2012, 2020 Peter Johansson 11 11 12 12 This file is part of the yat library, http://dev.thep.lu.se/yat … … 33 33 34 34 #include <boost/iterator/permutation_iterator.hpp> 35 #include <boost/shared_ptr.hpp>36 35 37 36 #include <iosfwd> 37 #include <memory> 38 38 #include <vector> 39 39 … … 327 327 328 328 utility::Index column_index_; 329 typedef boost::shared_ptr<const utility::Matrix> MatrixP;329 typedef std::shared_ptr<const utility::Matrix> MatrixP; 330 330 MatrixP data_; 331 331 utility::Index row_index_; -
trunk/yat/classifier/MatrixLookupWeighted.h
r3330 r4019 7 7 Copyright (C) 2006 Jari Häkkinen, Peter Johansson, Markus Ringnér 8 8 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 9 Copyright (C) 2009, 2010, 2012 Peter Johansson9 Copyright (C) 2009, 2010, 2012, 2020 Peter Johansson 10 10 11 11 This file is part of the yat library, http://dev.thep.lu.se/yat … … 33 33 34 34 #include <boost/iterator/permutation_iterator.hpp> 35 #include <boost/shared_ptr.hpp>36 35 37 36 #include <iosfwd> 37 #include <memory> 38 38 #include <utility> 39 39 #include <vector> … … 296 296 297 297 private: 298 typedef boost::shared_ptr<const utility::MatrixWeighted> MatrixWP;298 typedef std::shared_ptr<const utility::MatrixWeighted> MatrixWP; 299 299 utility::Index column_index_; 300 300 MatrixWP data_; -
trunk/yat/omic/BamPairIterator.h
r3999 r4019 32 32 #include <boost/iterator/iterator_concepts.hpp> 33 33 #include <boost/iterator/iterator_facade.hpp> 34 #include <boost/shared_ptr.hpp>35 34 36 35 #include <iterator> 37 36 #include <map> 37 #include <memory> 38 38 #include <utility> 39 39 … … 115 115 Base end_; 116 116 const BamRead* mate_; 117 boost::shared_ptr<std::map<std::string, BamRead> > siam_reads_;117 std::shared_ptr<std::map<std::string, BamRead> > siam_reads_; 118 118 typedef std::pair<int32_t, int32_t> Position; 119 boost::shared_ptr<std::multimap<Position, BamRead> > reads_;119 std::shared_ptr<std::multimap<Position, BamRead> > reads_; 120 120 friend class boost::iterator_core_access; 121 121 -
trunk/yat/omic/BamPairIterator2.h
r3881 r4019 32 32 #include <boost/iterator/iterator_concepts.hpp> 33 33 #include <boost/iterator/iterator_facade.hpp> 34 #include <boost/shared_ptr.hpp>35 34 36 35 #include <iterator> 37 36 #include <map> 37 #include <memory> 38 38 #include <utility> 39 39 … … 118 118 // multimap with reads' position as key 119 119 typedef std::multimap<Position, BamRead> MultiMap; 120 boost::shared_ptr<MultiMap> reads_;120 std::shared_ptr<MultiMap> reads_; 121 121 MultiMap::iterator first_; 122 122 MultiMap::iterator second_; -
trunk/yat/omic/Fasta.cc
r3999 r4019 166 166 { 167 167 // allocate a new char* 168 boost::shared_array<char> ptr(new char[seq.size()+1]); 168 std::shared_ptr<char> ptr(new char[seq.size()+1], 169 std::default_delete<char[]>()); 169 170 std::copy(seq.seq_.get(), seq.seq_.get()+seq.size(), ptr.get()); 170 171 // calculate reverse complement -
trunk/yat/omic/Fasta.h
r3999 r4019 21 21 #include <htslib/faidx.h> 22 22 23 #include <boost/shared_array.hpp>24 #include <boost/shared_ptr.hpp>25 26 23 #include <iosfwd> 27 24 #include <map> 25 #include <memory> 28 26 #include <string> 29 27 #include <vector> … … 114 112 friend class Fasta; 115 113 friend Sequence reverse_complement(const Fasta::Sequence&); 116 boost::shared_array<constchar> seq_;114 std::shared_ptr<char> seq_; 117 115 int size_; 118 116 }; … … 134 132 135 133 private: 136 boost::shared_ptr<faidx_t> faidx_;134 std::shared_ptr<faidx_t> faidx_; 137 135 // using compiler generated copy 138 136 //FastaIndex(const FastaIndex& other); -
trunk/yat/omic/Pileup.h
r3999 r4019 31 31 #include <boost/iterator/iterator_concepts.hpp> 32 32 #include <boost/concept/assert.hpp> 33 #include <boost/shared_ptr.hpp>34 33 35 34 #include <algorithm> 36 35 #include <list> 36 #include <memory> 37 37 38 38 namespace theplu { … … 139 139 size_t qpos(void) const { return qpos_; } 140 140 private: 141 boost::shared_ptr<BamRead> bam_;141 std::shared_ptr<BamRead> bam_; 142 142 // index of base pointed to 143 143 size_t qpos_; -
trunk/yat/random/Makefile.am
r3999 r4019 22 22 yat_libyat_la_SOURCES += yat/random/random.cc 23 23 24 nobase_include_HEADERS += $(srcdir)/yat/random/ContinuousDistribution.h25 24 nobase_include_HEADERS += $(srcdir)/yat/random/copy_k_of_n.h 26 nobase_include_HEADERS += $(srcdir)/yat/random/DiscreteDistribution.h27 nobase_include_HEADERS += $(srcdir)/yat/random/Distribution.h28 25 nobase_include_HEADERS += $(srcdir)/yat/random/random.h
Note: See TracChangeset
for help on using the changeset viewer.