Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • split a fastq file

    Dear All,
    I need to split a fastq file in two files in which there is one pair in one and the other pair in the other. It looks that CLC needs to files to select pair ends reads. the file now looks like this:

    >ILLUMINA-52179E_0050_FC70G0HAAXX:6:1:2997:934#GCCAAT/1
    TACCACCCAGGCCCCGTCTATCTATATCATCACTCGATTTATTATCCTCTAGTAATCCTCCCGAAATCCCTGAA
    >ILLUMINA-52179E_0050_FC70G0HAAXX:6:1:2997:934#GCCAAT/1
    quality line
    >ILLUMINA-52179E_0050_FC70G0HAAXX:6:1:2997:934#GCCAAT/2
    TCCTGAGTCAATTGCAGAGCAGTTTCATTTCTATGAGCATGATTCTTCGGCATAAAAGTCGAGCATGAACTATGT
    >ILLUMINA-52179E_0050_FC70G0HAAXX:6:1:2997:934#GCCAAT/2
    quality line

    thanks in advance
    Luigi

  • #2
    Galaxy has a tool which does this.
    Visit: http://main.g2.bx.psu.edu/

    On the left hand pane, go to:
    NGS: QC and manipulation
    Fastq splitter

    and follow instructions.

    Comment


    • #3
      Hi Kennels,
      it is not what I want. I have already the sequence dividend in forw and rev. I need to divide them in a file containing the /1 and in a file the /2. that`s it

      Luigi

      Comment


      • #4
        What's wrong with grep? Or some scripting language?

        While you are at it, use sed to get rid of the text following the +, since it's just pointlessly making your file larger.

        Comment


        • #5
          Hi Luigi,

          Unless I'm understanding you wrongly, you want to split a paired end fastq file into two files, one containing read 1, and the other read 2, correct?

          Well, that's the tool I described in Galaxy:

          From the page:
          *****************************
          What it does

          Splits a single fastq dataset representing paired-end run into two datasets (one for each end). This tool works only for datasets where both ends have the same length.

          Sequence identifiers will have /1 or /2 appended for the split left-hand and right-hand reads, respectively.
          ****************************************

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM
          • seqadmin
            Techniques and Challenges in Conservation Genomics
            by seqadmin



            The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

            Avian Conservation
            Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
            03-08-2024, 10:41 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:37 PM
          0 responses
          10 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 06:07 PM
          0 responses
          9 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-22-2024, 10:03 AM
          0 responses
          51 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 03-21-2024, 07:32 AM
          0 responses
          67 views
          0 likes
          Last Post seqadmin  
          Working...
          X