Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Error in HTSEQ

    Hi everyone,

    I am using the latest version of GSNAP to get alignments for 29 RNAseq samples. So after I get a SAM alignment from GSNAP, I use samtools to convert it into BAM and then:

    samtools fixmate input.bam input_unsortfix.bam
    samtools view -f 0x0002 input_unsortfix.bam | htseq-count -s reverse - Homo_sapiens.GRCh37.73.protein_linc.gtf > input.counts
    My GTF file contains only protein coding & lincRNAs and it is the latest version. I get the following error after running htseq-count command:

    Error: 'itertools.chain' object has no attribute 'get_line_number_string'[Exception type: AttributeError, raised in count.py:201]
    I have successfully run around 15 samples but I am getting this error in the other 14 samples. How can I solve this issue?
    Last edited by komalsrathi; 10-24-2013, 10:29 AM.
    Komal Rathi
    Bioinformatics Application Developer
    University of Pennsylvania

  • #2
    Are you using the newest version? I've fixed the 'get_line_number_string' issue two weeks ago.

    Comment


    • #3
      Hi Simon,

      I am using "Part of the 'HTSeq' framework, version 0.5.4p1". I will update it to the latest version. Thanks for the prompt reply.
      Komal Rathi
      Bioinformatics Application Developer
      University of Pennsylvania

      Comment


      • #4
        Originally posted by Simon Anders View Post
        Are you using the newest version? I've fixed the 'get_line_number_string' issue two weeks ago.
        Hi Simon,

        I updated htseq-count to version 0.5.4p5 and now I am getting a different error but for the same file:

        Error occured when processing SAM input (line 50956571):
        ("Malformed SAM line: MRNM == '*' although flag bit &0x0008 cleared", 'line 50956571')
        [Exception type: ValueError, raised in _HTSeq.pyx:1323]
        This is line no. 50956571. As you can see it contains only Ns.

        HTML Code:
        HWI-ST1006:111:D2AADACXX:3:2208:1098:73812	165	*	0	0	*	chr20	44474350	0	NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN	###################################################################################################	RG:Z:C00079
        Last edited by komalsrathi; 11-04-2013, 01:58 PM.
        Komal Rathi
        Bioinformatics Application Developer
        University of Pennsylvania

        Comment


        • #5
          The issue is solved. I parsed my alignments to remove any alignment matching '\t\*\t' pattern. Thanks
          Komal Rathi
          Bioinformatics Application Developer
          University of Pennsylvania

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Essential Discoveries and Tools in Epitranscriptomics
            by seqadmin




            The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
            04-22-2024, 07:01 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

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