Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • #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


    • #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

      • 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
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      30 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      32 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      28 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-04-2024, 09:00 AM
      0 responses
      52 views
      0 likes
      Last Post seqadmin  
      Working...
      X