Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Help with the "secret" in EMBOSS for converting fast format from illumina to sanger

    Hi,

    I'm currently looking for tools to convert fastq file format from illumina 1.3 to sanger. I googled a little bit and found EMBOSS is capable of handling such tasks. I managed to convert the file format in a single fastq file with the following command:

    seqret fastq-illumina::input.fastq fastq-sanger:utput.fastq

    However, I failed to find a way to execute this on multiple fastq files at a time. My goal is to generate multiple output fastq files with each corresponding to a single input fastq file. I have about 50 files, and I don't want to write the command 50 times, with each time changing the filenames in the command.

    Can anyone help me out? Thanks

    Huan

  • #2
    Something like:

    cat input*.fastq | seqret -filter -auto -sformat fastq-illumina -osformat fastq-sanger -out output.fastq
    should do the trick.

    Note: to avoid potential problems ensure your input file pattern will not include your output file.

    See 'seqret -help -verbose' and the EMBOSS documentation (http://emboss.open-bio.org/ and http://emboss.sourceforge.net/) for more information.

    Comment


    • #3
      Just write a little bash script with a for loop.

      Comment


      • #4
        @hpm: That will merge all of the files together, which greenpuppy mentioned not wanting.

        Comment


        • #5
          I figured it out.

          ls *fastq | xargs -I {} -P 12 seqret fastq-illumina::{} fastq-sanger::new_{}

          Comment

          Latest Articles

          Collapse

          • 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
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 08:47 AM
          0 responses
          16 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          60 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          60 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          54 views
          0 likes
          Last Post seqadmin  
          Working...
          X