Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Editing SAM files

    Dear all,

    I want to remove reads that map to ribosomal RNAs. I tried to modify the sam file (output of TopHat), and remove the reads that correspond to rRNAs. However, I could not run cufflinks on the modified sam files. Then I tried to sort them by converting them to bam (using samtools), but even then, it still did not work. I got the following error messages from cuffdiff.

    [22:39:41] Inspecting maps and determining fragment length distributions.
    SAM error on line 66185: CIGAR op has zero length
    SAM error on line 94994: CIGAR op has zero length
    SAM error on line 135374: CIGAR op has zero length

    Has anyone seen this error? What does it mean?

    What would you recommend to remove ribosomal reads?

    thanks,
    Grace

  • #2
    How did you removed the reads from SAM which correspond to rRNA?

    Comment


    • #3
      I just looked at the coordinates of each SAM output, and removed lines that overlapped with rRNA locations, as I read in each line.

      I reasoned that since my SAM file was sorted before editing, it should have remained sorted if I just moved certain lines.

      Comment


      • #4
        Regarding the error message you got, there is some discussion at:http://seqanswers.com/forums/showthread.php?t=3551
        If you moving out the reads (from sam file) corresponding to rRNA, you can remove them from your original fastq file (using read IDs) and then re-run the alignment.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Genetic Variation in Immunogenetics and Antibody Diversity
          by seqadmin



          The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
          11-06-2024, 07:24 PM
        • seqadmin
          Choosing Between NGS and qPCR
          by seqadmin



          Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
          10-18-2024, 07:11 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 11:09 AM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, Today, 06:13 AM
        0 responses
        20 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 11-01-2024, 06:09 AM
        0 responses
        30 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 10-30-2024, 05:31 AM
        0 responses
        21 views
        0 likes
        Last Post seqadmin  
        Working...
        X