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

      • kinpict.com
        Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by kinpict.com
        The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
        Today, 06:37 PM
      • SEQadmin2
        16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
        by SEQadmin2





        NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
        10-30-2026, 06:46 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 11-12-2026, 07:59 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-05-2026, 09:25 AM
      0 responses
      35 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 11-03-2026, 11:54 AM
      2 responses
      56 views
      0 reactions
      Last Post kinpict.com  
      Started by SEQadmin2, 10-28-2026, 09:57 AM
      0 responses
      175 views
      0 reactions
      Last Post SEQadmin2  
      Working...