Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • File format

    Hi,

    I have a sequencing file that looks like this:

    4_1_932_784 GGACAGTTTTTTCCAATTATGGAACGCCTGTTCCTG
    4_1_829_103 GTCACTATCTCAGTCAAAATTTAAGAAAATTGACAT
    4_1_450_206 GTGCTATATCCCTATATAACCTACCCATCCACCTTT
    4_1_495_275 GTTGTGGGAAATTGGAGCGATAAGCGTGCTTCTTCC

    It is different from the standard fastq format. Does anyone know what format this is called?


  • #2
    Check this thread:

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

    Comment


    • #3
      Hey thanks for the reply but..

      But I only have the .seq file and not the .prb file.

      Does anyone know how to only handle the .seq file?

      thanks

      Comment


      • #4
        What do you want to do with the .seq file? Convert to fasta? fastq?

        Comment


        • #5
          Hi sorry,

          I want to convert to it a fastq file.

          Comment


          • #6
            Originally posted by kylle345 View Post
            Hi sorry,

            I want to convert to it a fastq file.
            The *seq.txt files from my observations do not have qualities so you will have to make dummy quality values. For single end data, you could do something like:

            Code:
            awk '{printf("@%d:%d:%d:%d\n%s\n+\n", $1, $2, $3, $4, $5); 
            for(i=0;i<length($5);i++) { printf("I"); }; 
            printf("\n")}' 
            s_1_0001_seq.txt
            For paired end data, they concatenate the two reads so it is a little more complicated using awk but the above should get you started.

            Comment


            • #7
              so that will help me create a .prb file?

              Hey thanks for the quick replies. So having a .seq file is not enough to make a fastq file so that awk line helps me create a .prb file from .seq?

              then the combination of .seq and .prb can create a fastq?

              thanks

              Comment


              • #8
                Originally posted by kylle345 View Post
                Hey thanks for the quick replies. So having a .seq file is not enough to make a fastq file so that awk line helps me create a .prb file from .seq?

                then the combination of .seq and .prb can create a fastq?

                thanks
                The .seq file does not store qualities, so the qualities will have not have any meaning. The above awk command will output in FASTQ format so you do not need to worry about .seq and .prb files.

                If you have .qseq files (or .seq and .prb which you seem to be missing), then you can make a meaningful fastq file.

                Comment


                • #9
                  Hi I tried the awk line but it does not place the sequences in the new file.

                  I tried awk '{printf("@%d:%d:%d:%d\n%s\n+\n", $1, $2, $3, $4, $5); for(i=0 file1.txt > file2.txt

                  the output file only contains

                  @1:0:0:0

                  +

                  @1:0:0:0

                  +

                  @1:0:0:0


                  Its missing the sequence in between the lines.... is there something missing?

                  Comment


                  • #10
                    Originally posted by kylle345 View Post
                    I tried awk '{printf("@%d:%d:%d:%d\n%s\n+\n", $1, $2, $3, $4, $5); for(i=0 file1.txt > file2.txt

                    the output file only contains

                    @1:0:0:0

                    +

                    @1:0:0:0

                    +

                    @1:0:0:0


                    Its missing the sequence in between the lines.... is there something missing?
                    I must admit I am an author of the alignment program BFAST (free for academic use), which does have a "qseq2fastq.pl" perl script. It may be easier to rely on such a script.

                    Comment


                    • #11
                      thanks

                      Hey,

                      I will check it out

                      Kyle

                      Comment

                      Latest Articles

                      Collapse

                      • seqadmin
                        Strategies for Sequencing Challenging Samples
                        by seqadmin


                        Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                        03-22-2024, 06:39 AM
                      • seqadmin
                        Techniques and Challenges in Conservation Genomics
                        by seqadmin



                        The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                        Avian Conservation
                        Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                        03-08-2024, 10:41 AM

                      ad_right_rmr

                      Collapse

                      News

                      Collapse

                      Topics Statistics Last Post
                      Started by seqadmin, Yesterday, 06:37 PM
                      0 responses
                      8 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, Yesterday, 06:07 PM
                      0 responses
                      8 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 03-22-2024, 10:03 AM
                      0 responses
                      49 views
                      0 likes
                      Last Post seqadmin  
                      Started by seqadmin, 03-21-2024, 07:32 AM
                      0 responses
                      66 views
                      0 likes
                      Last Post seqadmin  
                      Working...
                      X