Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • juliacc
    Junior Member
    • Aug 2013
    • 1

    #1

    Question about running Cufflinks on ENCODE RNA-Seq data

    Hello,

    I'm new in the community but I found many helpful posts in the past, so here is my question.

    I downloaded around 60 .bam files from the ENCODE repository. The header size was giving problems and I converted them to .sam as one of the answers in these thread suggested.

    Code:
    samtools view -h -o file.sam file.bam
    And when I run Cufflinks I get many lines with this error:

    SAM error on line 862765: found spliced alignment without XS attribute

    I am executing this on batch, so it is still running and, for some files, Cufflinks finish and produces the gene count, for other files I am not sure if it just hasn't finished yet.

    I've been reading many posts about the XS attribute, but I don't know why would it be missing if I just converted from .bam to .sam. And would you know if it affects the read counts for genes?

    Thank you,
    Julia
  • AmitPande
    Junior Member
    • Dec 2011
    • 6

    #2
    Did you find a solution yet ? Even I am facing the same prolem with ENCODE RNAseq data

    Comment

    • bye
      Junior Member
      • Sep 2010
      • 8

      #3
      Not sure how this error will affect the counts, but it's not hard to add XS tags.

      Code:
      samtools view -Xh yourfile.bam | awk -F"\t" '{if(NF<7)print $0; if($2~"P"&&$2!~"r"){print $0"\tXS:A:+"}else if($2~"P"&&$2~"r"){print $0"\tXS:A:-"}else{print $0}}' > yourfile.xs.sam
      XS tags label the strand of alignment; samtools view -X will convert the flags into human readable format, then you can add strand information accordingly.

      Comment

      Latest Articles

      Collapse

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • 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,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      55 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...