Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • koustavpal
    Member
    • Aug 2012
    • 14

    #1

    Problem installing tophat

    make all-recursive
    make[1]: Entering directory `/home/tophat-2.0.5'
    Making all in src
    make[2]: Entering directory `/home/tophat-2.0.5/src'
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wno-strict-aliasing -g -gdwarf-2 -Wuninitialized -O3 -DNDEBUG -pthread -I/usr/include -I/usr/local/include -I./SeqAn-1.3 -MT tophat_reports.o -MD -MP -MF ".deps/tophat_reports.Tpo" -c -o tophat_reports.o tophat_reports.cpp; \
    then mv -f ".deps/tophat_reports.Tpo" ".deps/tophat_reports.Po"; else rm -f ".deps/tophat_reports.Tpo"; exit 1; fi
    In file included from tophat_reports.cpp:36:0:
    common.h: In member function ‘void GBamWriter::write(bam1_t*, int64_t)’:
    common.h:579:14: warning: variable ‘pre_block_offs’ set but not used [-Wunused-but-set-variable]
    tophat_reports.cpp: At global scope:
    tophat_reports.cpp:121:21: error: ‘boost::random::mt19937’ has not been declared
    tophat_reports.cpp: In function ‘void read_best_alignments(const HitsForRead&, HitsForRead&, const JunctionSet&, const JunctionSet&, const InsertionSet&, const DeletionSet&, const FusionSet&, const Coverage&, bool, int*)’:
    tophat_reports.cpp:194:34: error: ‘* rng’ cannot be used as a function
    tophat_reports.cpp: At global scope:
    tophat_reports.cpp:316:21: error: ‘boost::random::mt19937’ has not been declared
    tophat_reports.cpp: In function ‘void pair_best_alignments(const HitsForRead&, const HitsForRead&, InsertAlignmentGrade&, std::vector<std:air<BowtieHit, BowtieHit> >&, const JunctionSet&, const JunctionSet&, const InsertionSet&, const DeletionSet&, const FusionSet&, const Coverage&, bool, int*)’:
    tophat_reports.cpp:467:34: error: ‘* rng’ cannot be used as a function
    tophat_reports.cpp: At global scope:
    tophat_reports.cpp:875:21: error: ‘boost::random::mt19937’ has not been declared
    tophat_reports.cpp: In function ‘void print_sam_for_single(const RefSequenceTable&, const HitsForRead&, FragmentType, const string&, GBamWriter&, int&)’:
    tophat_reports.cpp:892:24: error: ‘rng’ cannot be used as a function
    tophat_reports.cpp: At global scope:
    tophat_reports.cpp:918:19: error: ‘boost::random::mt19937’ has not been declared
    tophat_reports.cpp: In function ‘void print_sam_for_pair(const RefSequenceTable&, const std::vector<std:air<BowtieHit, BowtieHit> >&, const InsertAlignmentGrade&, GBamWriter&, const string&, const string&, int&, uint64_t, uint64_t)’:
    tophat_reports.cpp:941:24: error: ‘rng’ cannot be used as a function
    tophat_reports.cpp: At global scope:
    tophat_reports.cpp:2215:3: error: ‘mt19937’ in namespace ‘boost::random’ does not name a type
    tophat_reports.cpp: In member function ‘void ReportWorker::write_singleton_alignments(uint64_t, HitsForRead&, ReadStream&, GBamWriter&, GBamWriter&, FragmentType)’:
    tophat_reports.cpp:1942:20: error: ‘rng’ was not declared in this scope
    tophat_reports.cpp: In member function ‘void ReportWorker:perator()()’:
    tophat_reports.cpp:1968:5: error: ‘rng’ was not declared in this scope
    coverage.h: At global scope:
    coverage.h:24:20: warning: ‘cov_max_value’ defined but not used [-Wunused-variable]
    coverage.h:25:20: warning: ‘cov_min_value’ defined but not used [-Wunused-variable]
    make[2]: *** [tophat_reports.o] Error 1
    make[2]: Leaving directory `/home/tophat-2.0.5/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/tophat-2.0.5'
    make: *** [all] Error 2


    Have been trying to install tophat for the past one week and now im completely fed up with this bug eyed software, would be really helpful if someone could shed some light on this problem
  • jk1124
    Member
    • Oct 2012
    • 17

    #2
    this is probably unhelpful but really basic questions to start:

    are you unable to use the binaries available?

    also, did you successfully install the boost and samtools packages first? I also had trouble installing tophat; i no longer remember the error but it was actually a problem installing samtools, not tophat. I see something that looks like a boost error in your output?

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 11:13 AM
    0 responses
    19 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, Yesterday, 10:48 AM
    0 responses
    18 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...