Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aritakum
    Junior Member
    • Jun 2009
    • 5

    #1

    Split GA FASTQ file

    Does anyone have a script to split FASTQ file into fasta seqeucne file and fasta quality file?

    I have tried fq_all2std.pl from MAQ and it converts fastq to sequence fasta just fine, but it throws the following errors when I try otehr options
    export2std:
    Use of uninitialized value $t[21] in string eq at ./fq_all2std.pl line 177, <> line 1.
    export2sol
    Use of uninitialized value $t[21] in string eq at ./fq_all2std.pl line 164, <> line 1.

    Thanks

    Am
  • kmcarr
    Senior Member
    • May 2008
    • 1181

    #2
    Am,

    The export2std or export2sol are not appropriate when your input is FASTQ, that is why it is throwing errors. To split a FASTQ into FASTA sequence and quality files you should use the 'std2qual' sub command of fq_all2std. This will take a FASTQ file and output one .seq file and one .qual file. The syntax is:

    fq_all2std std2qual <out_prefix> <input_fastq>

    The out_prefix will form the first part of the output filenames, e.g. out_prefix.seq and out_prefix.qual.

    The script assumes that the FASTQ quality scores are encoded using the standard Sanger method (i.e. Phred+33). If the FASTQ file is using Solexa encoding (Phred+64) you first need to convert the FASTQ using:

    fq_all2std sol2std <input_fastq> > output.fastq

    Comment

    • aritakum
      Junior Member
      • Jun 2009
      • 5

      #3
      splita GA fASTQ

      Hi,
      The fq_all2std.pl I have does not recognize std2qual!

      Here is the top few lines form the code ....

      fq_all2std.pl
      #!/usr/bin/perl -w
      # Author: lh3
      # Version: 0.1.6

      use strict;
      use warnings;
      use Getopt::Std;

      my $usage = qq(
      Usage: fq_all2std.pl <command> <in.txt>

      Command:
      scarf2std Convert SCARF format to the standard/Sanger FASTQ
      fqint2std Convert FASTQ-int format to the standard/Sanger FASTQ
      sol2std Convert Solexa/Illumina FASTQ to the standard FASTQ
      fa2std Convert FASTA to the standard FASTQ
      seqprb2std Convert .seq and .prb files to the standard FASTQ
      fq2fa Convert various FASTQ-like format to FASTA
      export2sol Convert Solexa export format to Solexa FASTQ
      export2std Convert Solexa export format to Sanger FASTQ
      csfa2std Convert AB SOLiD read format to Sanger FASTQ
      instruction Explanation to different format
      example Show examples of various formats

      Note: Read/quality sequences MUST be presented in one line.
      ......................rest deleted........

      _________________________________________________________________________________

      Never mind, I found std2qual in the new release of MAQ!

      THANKS
      Last edited by aritakum; 06-30-2009, 11:26 AM. Reason: Found a solution

      Comment

      • robertorun
        Member
        • Nov 2009
        • 22

        #4
        It's a good tool. I have use it!

        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
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-31-2026, 02:55 AM
        0 responses
        35 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-24-2026, 12:17 PM
        0 responses
        25 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-23-2026, 11:41 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Working...