Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deepbiomed
    Junior Member
    • Apr 2013
    • 8

    #1

    Split Large FASTQ file in small FASTQ files with user defined number of reads Windows

    Hi All,

    Is there anyway I can split large FASTQ files into small FASTQ files with defined number of reads under windows environment, I know there are multiple option for unix but did not find anything for windows ?

    best
    Deep
  • davidblaney
    Member
    • Nov 2011
    • 18

    #2
    I have used windows Power Shell to manipulate big files on occasion, this is a crude way to get first and second 100 reads. Only really suitable for simple splitting.

    Code:
    
    PS> Get-Content input.fastq | where { $_.readcount -ge 1 -and $_.readcount -lt 401} | Out-File first100reads.fastq
    
    PS> Get-Content input.fastq | where { $_.readcount -ge 401 -and $_.readcount -lt 801} | Out-File second100reads.fastq
    Maybe reworking this will help you. Depends on how you want to split the fastq's. This is a bit like the head unix command.

    Comment

    • maubp
      Peter (Biopython etc)
      • Jul 2009
      • 1544

      #3
      Can you program?

      You can use scripting languages like Perl, Python and Ruby on Windows - the BioPerl, Biopython or BioRuby libraries should make splitting a FASTQ file up quite easy.

      Comment

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #4
        See also this BioStars post which is a duplicate of this thread: http://www.biostars.org/p/68239/

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
          by SEQadmin2



          CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

          Despite this, “CRISPR helped turn genome editing from a specialized technique into
          ...
          07-31-2026, 11:01 AM
        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-13-2026, 12:22 PM
        0 responses
        20 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-11-2026, 10:35 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        32 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        50 views
        0 reactions
        Last Post SEQadmin2  
        Working...