Changeset 2895


Ignore:
Timestamp:
Dec 10, 2012, 10:38:12 PM (9 years ago)
Author:
Peter
Message:

add two tests for bam functionality

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/Makefile.am

    r2894 r2895  
    3939  test/averager3.test \
    4040  test/averager4.test \
     41  test/bam_iterator test/bam_region_iterator \
    4142  test/codon.test test/commandline.test \
    4243  test/concept.test \
  • trunk/yat/omic/BamFile.cc

    r2883 r2895  
    3232
    3333  InBamFile::InBamFile(void)
    34     : super_t()//, index_(NULL)
     34    : super_t(), index_(NULL)
    3535  {}
    3636
    3737
    3838  InBamFile::InBamFile(const std::string& fn)
    39     : super_t()//, index_(NULL)
     39    : super_t(), index_(NULL)
    4040  {
    4141    open(fn);
     
    4545  InBamFile::~InBamFile(void)
    4646  {
    47     //    bam_index_destroy(index_);
     47    bam_index_destroy(index_);
    4848  }
    4949
  • trunk/yat/omic/BamReadIterator.cc

    r2883 r2895  
    4343  {
    4444    actor_ = boost::shared_ptr<Actor>(new IndexActor(bf, tid, start, end));
     45    assert(actor_);
    4546    increment();
    4647  }
Note: See TracChangeset for help on using the changeset viewer.