Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rakeshponnala
    Junior Member
    • Jun 2010
    • 4

    #1

    Conversion of qseq.txt format to fastq

    Hello Folks,

    Could any one please let me know,if their is a way to convert the qseq.txt format files of illumina to fastq format. I finished my run and I would like to align my reads to ref seq using MAQ. MAQ requires the read data to be in fastq. Currently I've my data in qseq.txt format.

    Any suggestions would be greatly appreciated.

    Thank you

    Rakesh
  • kmcarr
    Senior Member
    • May 2008
    • 1181

    #2
    Using the forums search tool would have found these threads:

    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

    Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

    Comment

    • dukevn
      Member
      • Apr 2009
      • 50

      #3
      You can try the following one liner in Bash: go to where those _qseq.txt files locate, and if those qseq.txt are in form of s_N_1_M_qseq.txt where N is lane number (1-8), M is tile number (1-120), then

      Code:
      $ for ((x=1;x<=8;x+=1)); do cat s_"$x"_1_*_qseq.txt | awk -F '\t' '{gsub(/\./,"N", $9); if ($11 > 0) printf("@%s_%04d:%s:%s:%s:%s#%s/%s\n%s\n+%s_%04d:%s:%s:%s:%s#%s/%s\n%s\n",$1,$2,$3,$4,$5,$6,$7,$8,$9,$1,$2,$3,$4,$5,$6,$7,$8,$10)}' > s_"$x"_sequence.fastq; done
      The resulting s_N_sequence.fastq (N is 1->8) are the 8 fastq files you will need.

      Comment

      • rakeshponnala
        Junior Member
        • Jun 2010
        • 4

        #4
        Hi Dukeven,

        On the Unix machine, I went to the directory where my qse.txt file were and typed in the command Bash and pasted your code

        $ for ((x=1;x<=8;x+=1)); do cat s_"$x"_1_*_qseq.txt | awk -F '\t' '{gsub(/\./,"N", $9); if ($11 > 0) printf("@%s_%04d:%s:%s:%s:%s#%s/%s\n%s\n+%s_%04d:%s:%s:%s:%s#%s/%s\n%s\n",$1,$2,$3,$4,$5,$6,$7,$8,$9,$1,$2,$3,$4,$5,$6,$7,$8,$10)}' > s_"$x"_sequence.fastq; done

        It shows:

        syntax error near unexpected token `('


        I'm new so....... not sure why it doesn't work

        Thanks

        Comment

        • dukevn
          Member
          • Apr 2009
          • 50

          #5
          It works just fine here. Dont know why you got that error. Just to be sure that the command should be in one line only in your terminal.

          Comment

          • GRT
            Junior Member
            • Jul 2008
            • 5

            #6
            rakeshponnala you had this $ 5 instead of $5

            Comment

            • bbm
              Member
              • Sep 2011
              • 38

              #7
              I ran the script, and msg is "syntax error near unexpected token `('"

              Comment

              • barkasn
                Junior Member
                • Mar 2012
                • 9

                #8
                Maybe I am missing something, but why don't you use the normal Illumina pipeline with Casava?

                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
                29 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-28-2026, 09:51 AM
                0 responses
                20 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...