Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • htseq-count error message

    I keep getting the following error message when i use the htseq-count

    Error occured when processing SAM input (line 9786565):
    'pair_alignments' needs a sequence of paired-end alignments
    [Exception type: ValueError, raised in __init__.py:612]

    I sorted my sam files using samtools sort -n

    On top of this I also get many warnings saying if i am sure sam file is properly sorted or not?

    Do you know what is the error message about?

  • #2
    Did you merge BAM files from both paired-end and single-end alignments?

    Comment


    • #3
      Originally posted by dpryan View Post
      Did you merge BAM files from both paired-end and single-end alignments?
      yes, they are all mapped properly. How can i check if there is any other mistakes in the data?

      Comment


      • #4
        Just browsing through the htseq-count code, it looks like this error will happen if the program things you have paired-end reads and you then hand it a single-end read. You might just feed to unmerged BAM files separately into htseq-count, possibly summing the resulting file in R. Whether you should sum the counts or treat them separately will depend a bit on how they were created. If the paired-end and single-end data were from different library preps of the same sample and you have equivalent data for other samples in your comparison, then I would recommend simply adding "library_type" (i.e., single or paired-end) as a factor in your statistical model (i.e., keep the counts separate). There's an example of that in the DESeq(2) vignette with the pasilla dataset.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Recent Advances in Sequencing Analysis Tools
          by seqadmin


          The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
          05-06-2024, 07:48 AM
        • 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

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Yesterday, 06:57 AM
        0 responses
        12 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-06-2024, 07:17 AM
        0 responses
        16 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-02-2024, 08:06 AM
        0 responses
        19 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-30-2024, 12:17 PM
        0 responses
        24 views
        0 likes
        Last Post seqadmin  
        Working...
        X