Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • archana
    Junior Member
    • Apr 2014
    • 2

    NGS users

    Hi All,

    I am new user to NGS, i got my NGS data in illumina platform, with the format,

    HWUSI-EAS481_8291_FC30KTA:3:1:825:1199:GTTAAGTTTATAGATCAGGTGTAGTCGTATGCCGT:hhhhh
    hhhhhhhhhhhhhGhhV^hhhhhhhhhhhh
    HWUSI-EAS481_8291_FC30KTA:3:1:1027:394:GATGGTCATTATAAAACTTCAATCGTATGCCGTCT:hhhhh
    hhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
    can anybody please tell me how to convert it to fastq, input format for pre-processing using FastQ toolkit.

    Thankyou,
    Archana
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    That's an annoying format that you have to deal with. You can split each line and output things in fastq format with:

    Code:
    awk -F ":" '{printf("@%s:%s:%s:%s:%s\n",$1,$2,$3,$4,$5);print $6; print"+"; print $7}' foo.txt > foo.fastq
    You'll need to rename "foo.txt" to whatever your files are actually called.

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      That's called "scarf" format. BBTools can translate it to other formats with the "reformat" tool:

      reformat.sh in=reads.scarf extin=.scarf out=reads.fq

      Comment

      • archana
        Junior Member
        • Apr 2014
        • 2

        #4
        Thankyou sir.. it worked well.

        Comment

        Latest Articles

        Collapse

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 10:09 AM
        0 responses
        9 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 08:59 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 12:03 PM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 11:40 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Working...