Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • komalsrathi
    Member
    • Aug 2013
    • 14

    #1

    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
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

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

    Comment

    • komalsrathi
      Member
      • Aug 2013
      • 14

      #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

      • komalsrathi
        Member
        • Aug 2013
        • 14

        #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

        • komalsrathi
          Member
          • Aug 2013
          • 14

          #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

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          38 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          44 views
          0 reactions
          Last Post SEQadmin2  
          Working...