Unconfigured Ad

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

    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

                • mylaser
                  Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by mylaser
                  Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                  If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                  This guide explains everything you need to know about...
                  Today, 01:13 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
                • SEQadmin2
                  Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                  by SEQadmin2



                  Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                  There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                  07-08-2026, 05:17 AM

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, 07-09-2026, 10:04 AM
                0 responses
                11 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-08-2026, 10:08 AM
                0 responses
                9 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-07-2026, 11:05 AM
                0 responses
                17 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-02-2026, 11:08 AM
                0 responses
                31 views
                0 reactions
                Last Post SEQadmin2  
                Working...