Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Convert FASTA to FASTAQ

    Hi

    I need to map small RNA sequences onto a genome using BWA.

    The read file (reads.fa) is in the following format:

    >EMUNAOL01D19UY length 23 duplications 0
    CGTCTTGGTTTGTCTAAAGGGGC
    >EMUNAOL01EK9BY length 24 duplications 0
    TGGTGGAGGCCCGCAGCGATACTG
    >EMUNAOL02GZHTT length 24 duplications 0
    GGGCAAAAGTACAAAGTTCATGTG
    >EMUNAOL02IQUC1 length 24 duplications 0
    AGAAATGTTGCTACATAAATTGGA

    How can I convert this file to a FASTAQ file (reads.fastq) suitable for BWA?

    I tried maq but I couldn't get it to work - it just produced a file of 0 bytes - so i'm not sure if it's suitable for what i'm trying to do. Is there another program might be useful?

    Thanks

    Jon
    Last edited by jomaco; 10-30-2011, 06:15 AM.

  • #2
    BWA accepts reads in the fasta format.

    Comment


    • #3
      Sorry. You're right it does. Someone who asked me to run the alignment told me it was required to convert the read file to fastaq format. Perhaps I should not be so trustful next time!

      I have now managed to get the alignment to run. Thanks for your reply

      Comment


      • #4
        What's this "FASTAQ" format? Do you mean "FASTQ"?

        Comment


        • #5
          I believe "FASTAQ" is a typo, but actually fasta+fastq is really a fastaq format. You can mix fasta and fastq records in one file with no problem. A multi-line fastq parser can be trivially modified to parse such a file. This is basically what my fastq/fasta parser is doing. To most of my recent programs (maq excluded), fasta and fastq are the same format.

          Comment


          • #6
            Mixing FASTA and FASTQ into one file... that strikes me as a strange and dangerous idea, although I can see uses for it (combining raw read datasets of different types into one file for alignment).

            Comment


            • #7
              I am not saying this is a good format. I am saying that there should really be one parser instead of two.

              Comment

              Latest Articles

              Collapse

              • seqadmin
                Recent Advances in Sequencing Analysis Tools
                by seqadmin


                The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
                05-06-2024, 07:48 AM
              • seqadmin
                Essential Discoveries and Tools in Epitranscriptomics
                by seqadmin




                The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
                04-22-2024, 07:01 AM

              ad_right_rmr

              Collapse

              News

              Collapse

              Topics Statistics Last Post
              Started by seqadmin, Today, 02:46 PM
              0 responses
              10 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 05-07-2024, 06:57 AM
              0 responses
              13 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 05-06-2024, 07:17 AM
              0 responses
              16 views
              0 likes
              Last Post seqadmin  
              Started by seqadmin, 05-02-2024, 08:06 AM
              0 responses
              23 views
              0 likes
              Last Post seqadmin  
              Working...
              X