Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fnn4
    Junior Member
    • Jul 2014
    • 8

    #1

    paired end reads don't have the same length

    Dear all,

    My genomes were sequenced by illumina hiseq in paired end. I was running cortex but it died in SAM line1 says the list of paired end reads don't have the same length and quit. How should I process it?

    Thank you!
    Last edited by fnn4; 08-08-2014, 05:36 AM.
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    You should re-obtain the raw read files that have the correct number of reads, and start with those. Then, you'll have to clarify what you are trying to do next.

    Comment

    • fnn4
      Junior Member
      • Jul 2014
      • 8

      #3
      Originally posted by Brian Bushnell View Post
      You should re-obtain the raw read files that have the correct number of reads, and start with those. Then, you'll have to clarify what you are trying to do next.
      Thank you for replying!
      I'm using files of raw reads though. How can I make them the same length?
      Thank you!!

      Comment

      • Brian Bushnell
        Super Moderator
        • Jan 2014
        • 2709

        #4
        Can you post the head, tail, and wordcounts of the two files?

        e.g. the output of these commands:

        head -n 8 read1.fastq
        tail -n 8 read1.fastq
        wc read1.fastq

        head -n 8 read2.fastq
        tail -n 8 read2.fastq
        wc read2.fastq

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Brian: Sounds like some of the reads are not the same length (total number may be the same). Perhaps "cortex" (not sure what that is) requires them to be.

          Comment

          • fnn4
            Junior Member
            • Jul 2014
            • 8

            #6
            The files sizes are the same when they are in fastq, but not the same when they are gziped. But even when I use fastq files, it still quit saying paired end reads don't have the same length, die SAM line 2.
            below is one's sample's head, tail wc.
            head -n 8 E_F.fastq
            @HWI-ST1360:45:C1JK9ACXX:1:1101:3383:2427 1:N:0:TGACCA
            TCAATTCGACTGGGTACGACCACGTAAGACATGGTTAGATGCAAAATGTCCAGTGTATATTGATTTTGGTGACGAACACCTTGTAAAACTAGATACATATG
            +
            BBBFFFFFFFFFFIFFIIIIIIIIFIIIIIIIIIFIIIIIIIIIIIIIFIIFIFFFFIIIIIIIIIIFFFFFFFFBFFFFFFFFFFFFFFFFFFFFFFFFF
            @HWI-ST1360:45:C1JK9ACXX:1:1101:3303:2477 1:N:0:TGACCA
            AGAGATAACCAACAGTTCGCGTTTGAATATCAAGACAATGAAGGCCAAACACAATCTAAAGCATTAACACTCAAAGTAGGCGATAGCCTTGAAGAAGTGGC
            +
            BBBFFFFFFFFFFIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB

            tail -n 8 E_F.fastq
            @HWI-ST1360:45:C1JK9ACXX:1:2316:20760:100871 1:N:0:GGACCA
            TGTCATATCCGCAAAGCTCTGAAATGACATTATTTTCAATAGCCTCAACGGCTAATTGGTTGGCGCGGGCAGTATTGATACAAATACGATGCCCTTGCTCG
            +
            BB<FFFFFFFFFFBFFIIFFFFFFIIFIFFFFFFIB<FBFFFFIFFBBFFFF<FBFFFIIIIFBBBFFBB<<'0<BBFFFFBBBBBFB<BFBBBBBB<BBF
            @HWI-ST1360:45:C1JK9ACXX:1:2316:21212:100876 1:N:0:TGACCA
            TTTTCTAAAGCGATACAACCTTACAGGTAAACTGGAAGCCGGTTTGTATCACTTGTCCGTTGTATCTAAAGATAAACAAGTTTACAGAACTTGGGTGATAC
            +
            7<B<B<00<B0<<BFFFB00<BFBBB'0<0BF<07BFB0'<77BF<7BB'<BBBB70<7BBFBBFBB<BB<BBBBBB<<B<<<<7'0<<<''070077<<'

            wc E_F.fastq
            16531308 20664135 1084831013 E_F.fastq
            wc E_R.fastq
            16531308 20664135 1084831013 E_R.fastq

            Thank you!!

            Originally posted by Brian Bushnell View Post
            Can you post the head, tail, and wordcounts of the two files?

            e.g. the output of these commands:

            head -n 8 read1.fastq
            tail -n 8 read1.fastq
            wc read1.fastq

            head -n 8 read2.fastq
            tail -n 8 read2.fastq
            wc read2.fastq

            Comment

            • Brian Bushnell
              Super Moderator
              • Jan 2014
              • 2709

              #7
              The fact that both files have the exact same number of lines and characters indicates that probably there is no problem with the input, but rather some kind of bug in cortex (which I have also never heard of) or an incorrect command line.

              What are you trying to do with the data?

              Comment

              Latest Articles

              Collapse

              • SEQadmin2
                16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                by SEQadmin2




                NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                Yesterday, 06:46 AM
              • 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

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by SEQadmin2, 10-28-2026, 09:57 AM
              0 responses
              26 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-28-2026, 09:51 AM
              0 responses
              16 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 11:13 AM
              0 responses
              71 views
              0 reactions
              Last Post SEQadmin2  
              Started by SEQadmin2, 10-22-2026, 10:48 AM
              0 responses
              48 views
              0 reactions
              Last Post SEQadmin2  
              Working...