Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • afkoeppel
    Member
    • Jul 2011
    • 19

    #1

    Tophat2 ignoring -o and always writing to ./tophat_out

    I'm running tophat2, version 2.0.7 on a 64-bit linux server.

    Everything seems to be working fine with my alignments, except that the output is always written to "./tophat_out", even when I'm using the -o flag to try to send the output somewhere else.

    I'm calling tophat2 as part of a shell script as follows (though I have also tried it outside the script with the actual file paths instead of the variable names and get the same result):

    tophat2 $GENOMEDIR/mm9 $workingdir/${fastaheader}read1.cFiltered.Scythed.Sickled.fastq $workingdir/${fastaheader}read2.cFiltered.Scythed.Sickled.fastq -G $GENOMEDIR/mm9.genes.gtf -M -T --no-novel-
    juncs --transcriptome-index="$workingdir/transcriptome_data/known" -o "$workingdir/tophat_out"

    Also, --transcriptome-index isn't writing anything either. This would have led me to believe that I lack permissions on $workingdir or something like that, except that other parts of the script write to that same directory without a problem. Also, as a workaround, I've just been moving ./tophat_out to $workingdir in the next line of the script and that works fine for the output, but doesn't help for --transcriptome-index since that doesn't seem to be getting written anywhere at all (not even empty directories).

    I've also tried variations on the syntax (e.g. with and without quotes, using --output-dir= instead of -o), but nothing seems to coerce it into writing where I want it to.

    Any help or advice would be much appreciated.
    Thanks
  • kevin9y9
    Junior Member
    • Jan 2013
    • 2

    #2
    I'm fairly new to this myself, but I'm nearly sure that all the optional commands need to be moved to immediately after "tophat2", and the last three items should always be the genome, the left reads and the right reads.

    Comment

    • afkoeppel
      Member
      • Jul 2011
      • 19

      #3
      This did the trick. Thanks so much for your help.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2




        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
        Today, 06:46 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-28-2026, 09:51 AM
      0 responses
      15 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      68 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Working...