Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tophat2 bowtie option help

    Hi,

    I am using Tophat2 on the grid and trying to get single and paired read unmapped bam files by a following command;

    tophat2 -p 16 -o 4560_output -G ~/GRCh37_73.gtf ~/Bowtie2Index2/Ensemble 4650_R1merged.fastq 4650_R2merged.fastq --b2-un-conc ~/4560_output/pefailed.bam --b2-un ~/4560_output/singlefailed.bam

    But I only get unmapped.bam but not pefailed.bam and singlefailed.bam. I really appreciate any help with this.

    Thanks in advance.

  • #2
    "--b2-un-conc" and "--b2-un" aren't options for tophat2. They look like bowtie2 options with "b2-" slapped on the front. That simply won't work as I don't think there's a way to get tophat to do that without hacking the source code a fair bit. However, it would be relatively straight-forward to simply extract that from the unmapped.bam file, which should be name-sorted.

    Comment


    • #3
      Hi Devon,

      I am new to Samtools. Could you send me a pointer of command that do these ?

      Thanks.

      Aki

      Comment


      • #4
        Hi Aki,

        I don't have any paired-end data aligned with tophat2 at my finger-tips, but I imagine if you "samtools sort -n unmapped.bam" to ensure that the file is name-sorted, you would then be able to write a small script (in python/perl/whatever) to then print out reads that either do or do not have a mate (i.e., read with the same name).

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Current Approaches to Protein Sequencing
          by seqadmin


          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
          04-04-2024, 04:25 PM
        • seqadmin
          Strategies for Sequencing Challenging Samples
          by seqadmin


          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
          03-22-2024, 06:39 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 04-11-2024, 12:08 PM
        0 responses
        27 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 10:19 PM
        0 responses
        31 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-10-2024, 09:21 AM
        0 responses
        27 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-04-2024, 09:00 AM
        0 responses
        52 views
        0 likes
        Last Post seqadmin  
        Working...
        X