Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Fastx-Toolkit Newbie help IUB codes in fastq causing error

    I simply wanted to try out a few command line alignments of ABI sanger sequences. I converted the .phd.1 files to fastq using a BioPerl script (http://www.bioperl.org/wiki/HOWTO:SeqIO). Then I wanted to trim these files according to the quality scores and so have been using the fastx-toolkit. Problem was the fastq nucleotide sequence gave an error ('found invalid nucleotide sequence') using any of the tools.
    Using a test file as follows was OK:
    @test
    GTGCGGTGGTGGAGACGCACTTGATAGTCCTTCTCCGCAGGTACTTT
    +
    &$"'&&$&&&""+)(&(*,213+)*),,/4:=2-,&",.1.9-7884

    But replacing any base with an IUB code gave the error again.

    Eg using (see R at position 5):
    @test
    GTGCRGTGGTGGAGACGCACTTGATAGTCCTTCTCCGCAGGTACTTT
    +
    &$"'&&$&&&""+)(&(*,213+)*),,/4:=2-,&",.1.9-7884

    $ fastx_quality_stats -i test.fastq -o test.stats -Q33
    fastx_quality_stats: found invalid nucleotide sequence (GTGCRGTGGTGGAGACGCACTTGATAGTCCTTCTCCGCAGGTACTTT) on line 2

    This must be the cause of the error - but why? Fastq files can have IUB codes surely!?
    Thanks for any help on this apparently simple question.

    Using :
    Ubuntu
    FASTX Toolkit 0.0.13.1

  • #2
    IUPAC ambiguity codes are valid in FASTQ, but typically you'll only see N (and ACGT). It seems that FASTX doesn't like this - you could report it.

    Comment


    • #3
      Thanks maubp
      Reply from Fastx-toolkit author says that these tools were designed to work with files from Illumina machines containing only ACGT & N and will therefore fail on other kinds of input.
      So that's that.

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Innovations in Spatial Biology
        by seqadmin


        Spatial biology is an exciting field that encompasses a wide range of techniques and technologies aimed at mapping the organization and interactions of various biomolecules in their native environments. As this area of research progresses, new tools and methodologies are being introduced, accompanied by efforts to establish benchmarking standards and drive technological innovation.

        3D Genomics
        While spatial biology often involves studying proteins and RNAs in their...
        01-01-2025, 07:30 PM
      • seqadmin
        Advancing Precision Medicine for Rare Diseases in Children
        by seqadmin




        Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...
        12-16-2024, 07:57 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 01-09-2025, 04:04 PM
      0 responses
      443 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 01-09-2025, 09:42 AM
      0 responses
      444 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 01-08-2025, 03:17 PM
      0 responses
      459 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 01-03-2025, 11:18 AM
      1 response
      50 views
      1 like
      Last Post Tonia
      by Tonia
       
      Working...
      X