Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • earonesty
    replied
    Originally posted by Mark View Post
    Thanks I'll give it a try

    I noticed at your site a tool for stitching pe reads called fastq-join. It doesn't appear to be available yet. When will it be?
    You can just grab the code... it's POSIX C++ and should compile easily:



    g++ -O3 fastq-join.c -o fastq-join

    Leave a comment:


  • Mark
    replied
    Thanks I'll give it a try

    I noticed at your site a tool for stitching pe reads called fastq-join. It doesn't appear to be available yet. When will it be?

    Leave a comment:


  • earonesty
    replied
    We rewrote a lot of fastx's toolkit stuff, and posted it here: https://code.google.com/p/ea-utils/. It attempts to do things like adapter removal, trimming, etc... without as much configuration by detecting presence of adapters located in a common file.

    Leave a comment:


  • gghl
    replied
    Hi Mark,

    Based on my understanding, the fastx_clipper first finds the adaptor seqeunce you give and then trims off adaptor and nucleotide sequenes after the adaptor. I think fastx_clipper is designed for removeing adaptor after the insert seqeunces. And this is why in your test fastq file, reads of test 1, 2 and 4 were considered as adaptor-only reads.

    I think if what you want is to remove 5' end adaptor in front of the insert seuqences, the fastx_trimmer might be able to help.

    Best wishes,
    gghl

    Leave a comment:


  • maasha
    replied
    Oh, and if you want to trim multiple adaptors either process the fastq file several times or just use remove_adaptor multiple times:

    Code:
    read_fastq -i test.fastq |
    remove_adaptor -a CCTTAAGG -r before |
    remove_adaptor -a GACACCTGG -r after
    
    SCORES: HHHHHHHHHHHHHHHHHHHH
    SEQ: AAAAAAAAAAGGGGGGGGGG
    SEQ_NAME: test1
    SEQ_LEN: 20
    ADAPTOR_POS: -1
    ---
    SCORES: HHHHHHHHHHHHHHHHHHHH
    SEQ: AAAAAAAAAGGGGGGGGGGG
    SEQ_NAME: test2
    SEQ_LEN: 20
    ADAPTOR_POS: -1
    ---
    SCORES: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
    SEQ: AGAGAGAGAGAGAGAGAGAGAGAGAGAG
    SEQ_NAME: test3
    SEQ_LEN: 28
    ADAPTOR_POS: -1
    ---
    SCORES: [[[[[[[[[[[
    SEQ: TTGACGTGATC
    SEQ_NAME: test4
    SEQ_LEN: 11
    ADAPTOR_POS: 11
    ---


    M
    Last edited by maasha; 11-25-2010, 07:09 AM.

    Leave a comment:


  • maasha
    replied
    I can't help you with the FASTX toolkit, but here is how to do it with Biopieces (www.biopieces.org).


    Code:
    read_fastq -i test.fastq | remove_adaptor -a CCTTAAGG -r before
    SCORES: HHHHHHHHHHHHHHHHHHHH
    SEQ: AAAAAAAAAAGGGGGGGGGG
    ADAPTOR_POS: 0
    SEQ_LEN: 20
    SEQ_NAME: test1
    ---
    SCORES: HHHHHHHHHHHHHHHHHHHH
    SEQ: AAAAAAAAAGGGGGGGGGGG
    ADAPTOR_POS: 0
    SEQ_LEN: 20
    SEQ_NAME: test2
    ---
    SCORES: HHHHHHHHHHHHHHHHHHHHHHHHHHHH
    SEQ: AGAGAGAGAGAGAGAGAGAGAGAGAGAG
    ADAPTOR_POS: -1
    SEQ_LEN: 28
    SEQ_NAME: test3
    ---
    SCORES: [[[[[[[[[[[[[[[[[[[[
    SEQ: TTGACGTGATCGACACCTGG
    ADAPTOR_POS: 0
    SEQ_LEN: 20
    SEQ_NAME: test4
    ---

    Use grab to get the entries that were trimmed and finally use write_fastq to create a new file:

    Code:
    read_fastq -i test.fastq | remove_adaptor -a CCTTAAGG -r before | grab -e 'ADAPTOR_POS>=0' | write_fastq -o test_trimmed.fastq -x

    Cheers,


    Martin
    Last edited by maasha; 11-25-2010, 06:24 AM.

    Leave a comment:


  • Mark
    started a topic FASTXtoolkit adapter trimming

    FASTXtoolkit adapter trimming

    Hi All

    I recently downloaded the FASTX toolkit and tried to use it for trimming fastq reads of adapter sequences. This did not work, the tool simply discarded any reads containing adapter sequences though this is not seemingly its function according to the documentation. I wrote to the help contact for the tool but recieved no response (see below for details). Has anyone used this tool for this purpose successfully?

    Thanks for your help

    Mark

    #############################################
    Hello

    I recently downloaded the FASTX toolkit (fastx_toolkit_0.0.13_binaries_Linux_2.6_amd64.tar.bz2) and attempted to use the fastx_clipper tool. I created a test fastq file (3 of the four sequences contain the default adapter CCTTAAGG):

    @test1
    CCTTAAGGAAAAAAAAAAGGGGGGGGGG
    +test1
    HHHHHHHHHHHHHHHHHHHHHHHHHHHH
    @test2
    CCTTAAGGAAAAAAAAAGGGGGGGGGGG
    +test2
    HHHHHHHHHHHHHHHHHHHHHHHHHHHH
    @test3
    AGAGAGAGAGAGAGAGAGAGAGAGAGAG
    +test3
    HHHHHHHHHHHHHHHHHHHHHHHHHHHH
    @test4
    CCTTAAGGTTGACGTGATCGACACCTGG
    +test4
    [[[[[[[[[[[[[[[[[[[[[[[[[[[[

    And then executed the command (as shown on FASTX toolkit website)

    -bash-3.2$ fastx_clipper -v -i test.fastq -a CCTTAAGG
    @test3
    AGAGAGAGAGAGAGAGAGAGAGAGAGAG
    +test3
    HHHHHHHHHHHHHHHHHHHHHHHHHHHH
    Clipping Adapter: CCTTAAGG
    Min. Length: 5
    Input: 4 reads.
    Output: 1 reads.
    discarded 0 too-short reads.
    discarded 3 adapter-only reads.
    discarded 0 N reads.

    As you can see, the three reads that contain the adapter are discarded as “adapter-only reads” which (in my way of looking at things) they are not nor are they too short (default <=5) after any trimming. What is going on here? Does this tool actually trim reads or only discard them if they are found. If the former would you please tell me what I am doing incorrectly? Also if the former, is it possible to supply the tool with multiple adapters to trim?

    Thanks for your help

    Mark

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
26 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
20 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
36 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
43 views
0 reactions
Last Post SEQadmin2  
Working...