Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Hisat2: Differing amount of reads in mates

    Hello all,

    I am aligning paired-end reads using Hisat2. Unfortunately, some of the fastq files were corrupted in transfer. I was able to recover them using a gzip recovery protocol, but was left with about half the data. I have previously used Tophat2 to align these "recovered" fastq files, but am getting this error when trying to align with Hisat2:
    Code:
    Error, fewer reads in file specified with -2 than in file specified with -1
    How is Tophat2 dealing with this differently than Hisat2?

    To fix this, I am trying repair.sh from the bbtools package to keep the reads that do have pairs in both files and output singletons to a seperate file and then try using all three with Hisat2.

    Although I can't seem to find reference to this error anywhere else, any advice on how I should deal with this?

  • #2
    Don't use paired end reads with unmatched pairs since that can lead to erroneous discordant alignments. repair.sh is the way to go.

    Comment


    • #3
      Thanks Genomax. I would assume in the Tophat2 run with these "recovered" files there were erroneous discordant alignments that would be discarded and not affect overall alignment.

      I was successfully able to run Hisat2 following repair using the new paired-end files, including the singleton file. A high percentage of the singletons mapped uniquely - surely these are not erroneous alignments?

      Comment


      • #4
        Firstly, since the underlying issue is a data corruption issue, I would strongly recommend you re-download the corrupted data. As it is, your results will be not be reproducable from the original data.

        Originally posted by ronaldrcutler View Post
        A high percentage of the singletons mapped uniquely - surely these are not erroneous alignments?
        If only one of the .1.fq.gz/.2.fq.gz pair was corrupted, then there will be a large number of singleton reads from the file that was successfully copied. You would expect the unique mapping rate of these singleton reads to be only slightly less than the the unique mapping rate for the paired end reads. The difference between the two will be due to the aligner being able to use the partner read to disambiguate the mapping location for the pair end reads, but not the singletons.

        TLDR: that behaviour is expected; they're probably correct; redownload the correct data before continuing

        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...
          Today, 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, Today, 07:17 AM
        0 responses
        7 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
        20 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 04-29-2024, 10:49 AM
        0 responses
        28 views
        0 likes
        Last Post seqadmin  
        Working...
        X