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
          Advancing Precision Medicine for Rare Diseases in Children
          by seqadmin




          Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
          12-16-2024, 07:57 AM
        • seqadmin
          Recent Advances in Sequencing Technologies
          by seqadmin



          Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.

          Long-Read Sequencing
          Long-read sequencing has seen remarkable advancements,...
          12-02-2024, 01:49 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 12-17-2024, 10:28 AM
        0 responses
        33 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-13-2024, 08:24 AM
        0 responses
        49 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-12-2024, 07:41 AM
        0 responses
        34 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 12-11-2024, 07:45 AM
        0 responses
        46 views
        0 likes
        Last Post seqadmin  
        Working...
        X