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
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          29 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Working...
          X