Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • aquleaf
    Member
    • Mar 2010
    • 38

    How to define XS tag

    Hi.

    Does anyone know how to define the XS tag? I'm trying to use cuffinks to analyze GSNAP result? But it found many errors in the sam file: SAM error on line ***: found spliced alignment without XS attribute. I tracked these lines. They all have XS:A:?. So I guess the problem is caused by that GNSAP couldn't determine the direction value for these reads. What should I do?

    Wish your help! Thanks very much!
  • makost
    Junior Member
    • Jun 2010
    • 5

    #2
    Just encountered the same problem.

    I also looked at the output of Cufflinks and compared to what had got with the output of a previous version of GSNAP (Old version 2011-03-28).

    The main issue is that now I get many more (around 14000) Ensembl annotated genes with a FAIL FPKM_status compared to 127 that I got when using the previous version of GSNAP.

    If anybody has come up with a solution to that or knows why GSNAP behaves in such a a way, I'd love to hear your comments.

    Comment

    • brdido
      Member
      • Apr 2011
      • 17

      #3
      From http://research-pub.gene.com/gmap/src/README :

      To provide splice orientation, though,
      our SAM output includes information about splice orientation in an
      extra "XS" field, which has possible values "+" (meaning the expected
      GT-AG, GC-AG, or AT-AC dinucleotide pair is on the plus strand of the
      genome), "-" (the dinucleotides are on the minus strand), or "?" (the
      direction is unknown, because the dinucleotides do not match GT-AG,
      GC-AG, AT-AC, or their complements).

      Edit:
      I forgot to say : maybe you should not rely on this spliced alignment...

      Comment

      • aevgup
        Member
        • Jul 2011
        • 17

        #4
        sam output error

        So did anyone find out how to solve the problem of sam output error(XS tag)


        Thanks

        Comment

        • zorph
          Member
          • May 2010
          • 40

          #5
          I am in the same situation. The way I am trying to resolve the problem is by creating a program that would find the strand information (in addition to those located on a splice junction). There doesn't seem to be any other method.

          Brdido--why did you say "maybe you should not rely on this spliced alignment...?"

          Comment

          • brdido
            Member
            • Apr 2011
            • 17

            #6
            Zorph,

            i wrote that because as the alignment program was not able to detect the "expected" splicing bases, something should be wrong with the read.

            But recently i wrote this question to the developers of cufflinks and they suggested to add "manually" this tag.

            I did not answered here because my problem was that i was using 2 differrent aligners... And one of them didn't assigned the XS:A tag.

            But i do believe now that adding the XS tag is not a problem at all and a good solution for compatibility with cufflinks. It is what I did.

            Comment

            • lijy03
              Junior Member
              • Mar 2012
              • 1

              #7
              Hi Zorph, how did you find the strand information from a sam file? The first three lines of the sam file I'm using are

              HWI-EAS440:2:25:193:1474#0 0 2L 7532 25 75M * 0 0 CTCGCATGTAGAGATTTCCACTTATGTTTTCTCTACTTTCAGCAACCGAGAAGAGAACCCANGTTTGAACAAGTA abbaba`b^_`abaa`aa_aaaabaa_`aaaa_aa`aaa`aaba`]^`aa_aa``[[Z]XWDVR\\\YX^^^ZQU NM:i:1 X1:i:1 MD:Z:61N13
              HWI-EAS179:1:29:802:267#0 16 2L 7621 25 75M * 0 0 ACAGCTATCCCCGCTTCATAACGAATGAGGCTGCCGAGGACCTGATTTACAAGAAGTCCATGGGCGAGCGGGATC TQTYWRRQQXX]\\XOYZNZYZ]^YZ]^^^\X_^^a``a[\`^`_Z]^^aaaaaaa_aa`]aaa`a`aabbbaaa NM:i:0 X0:i:1 MD:Z:75
              HWUSI-EASXXX:2:65:1779:826#0 160 2L 7622 25 76M = 7711 165 CAGCTATCCCCGCTTCATAACGAATGAGGCTGCCGAGGACCTGATCTACAAGAAGTCCATGGGCGAGCGGGATCAG BC>CBCBACCBC@CCBCCCCBBCBCCCBBCCCCBBBBBA@ABBB@*<A;?BB>BABA@ABBABAB:BACB?7A=?= NM:i:1 X1:i:1 MD:Z:45C30

              I can't tell what their strand information is. Thanks!

              Originally posted by zorph View Post
              I am in the same situation. The way I am trying to resolve the problem is by creating a program that would find the strand information (in addition to those located on a splice junction). There doesn't seem to be any other method.

              Brdido--why did you say "maybe you should not rely on this spliced alignment...?"

              Comment

              • zorph
                Member
                • May 2010
                • 40

                #8
                hey lijy03,

                HTML Code:
                Hi Zorph, how did you find the strand information from a sam file?
                I did't know the strand information from the SAM file. I knew it because of the way I prepped my reads.
                With my preparation using epicentre's script-seq kit, I knew that my PE-1 reads aligned to the 5' end of the sequence and that my PE-2 aligned to the 3' end of the sequence. The way that Illumina sequences these reads that works out that all my reads from PE-1 aligned to the sense strand of the RNA and my PE-2 aligned to the opposite strand of my transcribed RNA.

                Using BOTH this information and the sam flag, I was able to tell which strand my RNA was generated from.

                If you have a stranded prep and you know which read has the adaptor indicating directionality or in the case of Single reads, you know which end of the read corresponds to the 5' or 3' direction then you should be able to figure out the directionality of the reads in your library.

                Comment

                • brdido
                  Member
                  • Apr 2011
                  • 17

                  #9
                  hey lijy03,

                  yhis thread might help you:

                  Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 AM
                  • SEQadmin2
                    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                    by SEQadmin2



                    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                    ...
                    07-09-2026, 11:10 AM
                  • SEQadmin2
                    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                    by SEQadmin2



                    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                    07-08-2026, 05:17 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, Yesterday, 11:41 AM
                  0 responses
                  10 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-20-2026, 11:10 AM
                  0 responses
                  23 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-13-2026, 10:26 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-09-2026, 10:04 AM
                  0 responses
                  45 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...