Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • juliacc
    Junior Member
    • Aug 2013
    • 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

      • GATTACAT
        Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by GATTACAT
        Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
        Yesterday, 11:43 AM
      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, Today, 11:08 AM
      0 responses
      6 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-30-2026, 05:37 AM
      0 responses
      11 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-26-2026, 11:10 AM
      0 responses
      19 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      53 views
      0 reactions
      Last Post SEQadmin2  
      Working...