Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • louis7781x
    Member
    • Oct 2010
    • 74

    #1

    What is adapter trimming threshold of fastx_clipper?

    Hi everyone

    Does fastx_clipper have simple thread hold introduction, for example, minimum adapter match ? maximum mismatch allow? adapter sequence identity threshold?

    I tried to find some manual or introduction but I can't.

    thanks!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Help from fastx_clipper program has the information you need.

    Code:
    $ fastx_clipper -h
    usage: fastx_clipper [-h] [-a ADAPTER] [-D] [-l N] [-n] [-d N] [-c] [-C] [-o] [-v] [-z] [-i INFILE] [-o OUTFILE]
    Part of FASTX Toolkit 0.0.13.2 by A. Gordon ([email protected])
    
       [-h]         = This helpful help screen.
       [-a ADAPTER] = ADAPTER string. default is CCTTAAGG (dummy adapter).
       [-l N]       = discard sequences shorter than N nucleotides. default is 5.
       [-d N]       = Keep the adapter and N bases after it.
                      (using '-d 0' is the same as not using '-d' at all. which is the default).
       [-c]         = Discard non-clipped sequences (i.e. - keep only sequences which contained the adapter).
       [-C]         = Discard clipped sequences (i.e. - keep only sequences which did not contained the adapter).
       [-k]         = Report Adapter-Only sequences.
       [-n]         = keep sequences with unknown (N) nucleotides. default is to discard such sequences.
       [-v]         = Verbose - report number of sequences.
                      If [-o] is specified,  report will be printed to STDOUT.
                      If [-o] is not specified (and output goes to STDOUT),
                      report will be printed to STDERR.
       [-z]         = Compress output with GZIP.
       [-D]  = DEBUG output.
    [COLOR="Red"]   [-M N]       = require minimum adapter alignment length of N.
                      If less than N nucleotides aligned with the adapter - don't clip [/COLOR]it.   [-i INFILE]  = FASTA/Q input file. default is STDIN.
       [-o OUTFILE] = FASTA/Q output file. default is STDOUT.

    Comment

    • louis7781x
      Member
      • Oct 2010
      • 74

      #3
      Hi Senior Member

      thanks for your information

      I know that help screen show information of parameter

      but I thinks it is a bit fuzzy, what is maximum mismatch allow in matched adapter or adapter sequence identity threshold ?

      thanks!

      Comment

      • louis7781x
        Member
        • Oct 2010
        • 74

        #4
        Hi Senior Member

        thanks for your information

        I know that help screen show information of parameter

        but I thinks it is a bit fuzzy, what is maximum mismatch allow in matched adapter or adapter sequence identity threshold ?

        thanks!

        Comment

        • Brian Bushnell
          Super Moderator
          • Jan 2014
          • 2709

          #5
          louis,

          I don't know the parameters for fastx, but I can tell you how to do that with BBDuk.

          hdist=X will set a maximum hamming distance of X (default is 0) per kmer. k=X will use kmers of length X inside the read. mink=X will use kmers as short as X for the end of the read.

          So:

          bbduk.sh in=reads.fq out=trimmed.fq ref=truseq.fa ktrim=r k=25 mink=12 hdist=2

          ...will trim reads with up to 2 substitutions, and a minimum of 12 bases of adapter sequence. If you have a paired fragment library, you can get even better adapter trimming by adding the flags "tbo" and "tpe", which will look for overlaps and trim reads that have an insert size shorter than read length.

          Note that exponentially more memory is required for a higher hamming distance so I don't recommend going above 3.

          Comment

          Latest Articles

          Collapse

          • 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, detection...
            Today, 06:46 AM
          • 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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-28-2026, 09:51 AM
          0 responses
          15 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          68 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          48 views
          0 reactions
          Last Post SEQadmin2  
          Working...