Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joseph
    Member
    • Feb 2008
    • 39

    #1

    tagdust output is not fastq!

    Hi
    can you please help me with the output of tagdust? It doesn't look like the proper fastq format.
    Thanks
    Joseph Dhahbi

    Code:
    tagdust contaminants.fasta myfile.fastq -fdr 0.05 -o myfile_tagdust.fastq
    Code:
    head -10 myfile.fastq
    @HS1:202:C0UY5ACXX:4:1101:1485:2099 1:N:0:ACAGTG
    NAAGATAGTTATGAAACAGAAGATGAAAGTTCCTGGGATAATGTTGAGTTAGGAGACTACACTACACAGGCCATAGAAGATGAAACCTATAGTGATATTA
    +HS1:202:C0UY5ACXX:4:1101:1485:2099 1:N:0:ACAGTG
    #1:A1?>DFF?FC>GICEFGEHBHHIHGG?EAEFHIIBFHEGIFHBCHBFHEGEHIIDF>BBHDHGIGGCGHGDCEC>EFF?B@@@EDDDCD>CDDD<>C
    @HS1:202:C0UY5ACXX:4:1101:1458:2150 1:N:0:ACAGTG
    CTAGAATAGGATTGCGCTGTTATCCCTAGGGTAACTTGTTCCGTTGGGCAAGTTATTGGATCAATTGAGTATAGTAGTTCGCTTTGACTGGTGAAGTCTT
    +HS1:202:C0UY5ACXX:4:1101:1458:2150 1:N:0:ACAGTG
    @<@FFADFGGFFFHJIIIIFHEEHGDD@EBA1?DGHIJAGGIJEHGG(93;BHGGCHIFA:==CEH>CC?>B@>A>??)6;A;BBA@AAC<@C>CAC>A;
    @HS1:202:C0UY5ACXX:4:1101:1748:2155 1:Y:0:ACAGTG
    CTCCGGAGGGACCCTCCAGCTGTGATGAAGGCCCAGAGCCCCATGGAAACAGTGACTGCATAGATGGGCAGCAGGCTGGCCTCATACCAGGGGTTCAGGA
    Code:
    head -10 myfile_tagdust.fastq
    @HS1:202:C0UY5ACXX:4:1101:1485:2099 1:N:0:ACAGTG
    NAAGATAGTTATGAAACAGAAGATGAAAGTTCCTGGGATAATGTTGAGTTAGGAGACTAC
    ACTACACAGGCCATAGAAGATGAAACCTATAGTGATATTA
    +HS1:202:C0UY5ACXX:4:1101:1485:2099 1:N:0:ACAGTG
    #1:A1?>DFF?FC>GICEFGEHBHHIHGG?EAEFHIIBFHEGIFHBCHBFHEGEHIIDF>
    BBHDHGIGGCGHGDCEC>EFF?B@@@EDDDCD>CDDD<>C
    @HS1:202:C0UY5ACXX:4:1101:1458:2150 1:N:0:ACAGTG
    CTAGAATAGGATTGCGCTGTTATCCCTAGGGTAACTTGTTCCGTTGGGCAAGTTATTGGA
    TCAATTGAGTATAGTAGTTCGCTTTGACTGGTGAAGTCTT
    +HS1:202:C0UY5ACXX:4:1101:1458:2150 1:N:0:ACAGTG
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #2
    It might be valid, but appears to be using line wrapping, which is not recommended. Some tools assume 4 lines per record (for speed) and line wrapping breaks them. Other tools have more robust (but slightly slower) FASTQ parsers which will cope.

    You could try running this line wrapped FASTQ through EMBOSS seqret or Biopython or something similar which will accept line wrapped FASTQ input, but produce typical 4 line per record unwrapped FASTQ as output.

    Comment

    • SES
      Senior Member
      • Mar 2010
      • 275

      #3
      I took a look at main.c in tagdust and saw this at line 52:

      Code:
      	if(!param->linewrap){
      		linewrap = 0;
      	}else{
      		linewrap = 1;
      	}
      which suggested there was an option to control this behavior. Sure enough, after you compile the program you can see that there is an option to print the sequences on one line (the -s option, specifically).

      Code:
      $ ./tagdust
      TagDust version 1.13, Copyright (C) 2009 Timo Lassmann <[email protected]>
      
      Usage: tagdust [options]  lib.fa read1.fa read2.fa ...
      	
      
      	Options:
      	-f, -fdr	False discovery rate (default: 0.01)
      	-o <file>	print clean tags to file.
      	-a <file>	print artifactual tags to file.
      	-trim5 <X>	trim 'X' residues from the start of all reads.
      	-trim3 <X>	trim 'X' residues from the end of all reads.
      	-fasta		output format is fasta.
      	-s, -singleline	sequences are written in a single line.
      	-q, -quiet	quite mode
      
      	Identifies tags as artifactual sequences if they match to library sequences.
      	Library sequences must be in fasta; tag sequences in either fasta or fastq format.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      31 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      22 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Working...