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
      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
      by SEQadmin2


      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

      The systematic characterization of the human proteome has
      ...
      07-20-2026, 11:48 AM
    • SEQadmin2
      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
      by SEQadmin2



      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
      ...
      07-09-2026, 11:10 AM
    • SEQadmin2
      Cancer Drug Resistance: The Lingering Barrier to Rising Survival
      by SEQadmin2



      Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

      There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
      07-08-2026, 05:17 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Today, 02:55 AM
    0 responses
    5 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-24-2026, 12:17 PM
    0 responses
    11 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-23-2026, 11:41 AM
    0 responses
    12 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 07-20-2026, 11:10 AM
    0 responses
    24 views
    0 reactions
    Last Post SEQadmin2  
    Working...