Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • medalofhonour
    Member
    • Jul 2011
    • 18

    #1

    Extracting Tophat Fusion Reads and converting to FASTQ

    Hello,

    I have been trying convert extracted fusion evidence reads from a Tophat-aligned RNA-Seq BAM file (with "XF" tag) back to FASTQ format.

    If I am not wrong, this is tricky because Tophat will have multiple lines of output for each fusion junction spanning read (where one segment of a single read maps to one location and the other segment to a different location on the reference) and Tophat will report one line per segment (in case of unique mapping).

    If I grep out the fusion evidence reads using a simple "grep XF" and try to convert this to Fastq using Picard SamToFastq, I get an "Illegal mate" error, which is expected since the segments are so scattered across multiple lines.

    Does anybody know a better way to do this ?
    Last edited by medalofhonour; 09-17-2013, 04:41 AM.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    You'll probably have to write a script to do this (even if Picard's SamToFastq can handle chimeric reads, tophat's output isn't in accordance to the SAM spec. (to be fair, tophat-fusion predates the change to the spec.), so it probably still wouldn't work).

    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...
      Yesterday, 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
    29 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-28-2026, 09:51 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    71 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...